Skip to content

Commit e934cec

Browse files
authored
Merge branch 'main' into 20250414-DOC-10439-row-level-security
2 parents c627ca6 + 79a68c9 commit e934cec

File tree

122 files changed

+2347
-463
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+2347
-463
lines changed

src/current/_config_cockroachdb.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
baseurl: /docs
2-
current_cloud_version: v25.1
2+
current_cloud_version: v25.2
33
destination: _site/docs
44
homepage_title: CockroachDB Docs
55
versions:
6-
stable: v25.1
7-
dev: v25.2
6+
stable: v25.2
7+
dev: v25.2

src/current/_data/releases.yml

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9035,3 +9035,99 @@
90359035
docker_arm_limited_access: false
90369036
source: true
90379037
previous_release: v24.3.11
9038+
9039+
9040+
- release_name: v25.1.6
9041+
major_version: v25.1
9042+
release_date: '2025-04-30'
9043+
release_type: Production
9044+
go_version: go1.23.7
9045+
sha: 9af34db410ad57b58a35d8251d7c4fe1ddfcec69
9046+
has_sql_only: true
9047+
has_sha256sum: true
9048+
mac:
9049+
mac_arm: true
9050+
mac_arm_experimental: true
9051+
mac_arm_limited_access: false
9052+
windows: true
9053+
linux:
9054+
linux_arm: true
9055+
linux_arm_experimental: false
9056+
linux_arm_limited_access: false
9057+
linux_intel_fips: true
9058+
linux_arm_fips: false
9059+
docker:
9060+
docker_image: cockroachdb/cockroach
9061+
docker_arm: true
9062+
docker_arm_experimental: false
9063+
docker_arm_limited_access: false
9064+
source: true
9065+
previous_release: v25.1.5
9066+
cloud_only: true
9067+
cloud_only_message_short: 'Available only for select CockroachDB Cloud clusters'
9068+
cloud_only_message: >
9069+
This version is currently available only for select
9070+
CockroachDB Cloud clusters. To request to upgrade
9071+
a CockroachDB self-hosted cluster to this version,
9072+
[contact support](https://support.cockroachlabs.com/hc/requests/new).
9073+
9074+
- release_name: v25.2.0-rc.1
9075+
major_version: v25.2
9076+
release_date: '2025-05-12'
9077+
release_type: Testing
9078+
go_version: go1.23.7
9079+
sha: 4377500860ff39cc5ddf7954079ced214bd788dc
9080+
has_sql_only: true
9081+
has_sha256sum: true
9082+
mac:
9083+
mac_arm: true
9084+
mac_arm_experimental: true
9085+
mac_arm_limited_access: false
9086+
windows: true
9087+
linux:
9088+
linux_arm: true
9089+
linux_arm_experimental: false
9090+
linux_arm_limited_access: false
9091+
linux_intel_fips: true
9092+
linux_arm_fips: false
9093+
docker:
9094+
docker_image: cockroachdb/cockroach-unstable
9095+
docker_arm: true
9096+
docker_arm_experimental: false
9097+
docker_arm_limited_access: false
9098+
source: true
9099+
previous_release: v25.2.0-beta.3
9100+
9101+
- release_name: v25.2.0
9102+
major_version: v25.2
9103+
release_date: '2025-05-12'
9104+
release_type: Production
9105+
go_version: go1.23.7
9106+
sha: 4377500860ff39cc5ddf7954079ced214bd788dc
9107+
has_sql_only: true
9108+
has_sha256sum: true
9109+
mac:
9110+
mac_arm: true
9111+
mac_arm_experimental: true
9112+
mac_arm_limited_access: false
9113+
windows: true
9114+
linux:
9115+
linux_arm: true
9116+
linux_arm_experimental: false
9117+
linux_arm_limited_access: false
9118+
linux_intel_fips: true
9119+
linux_arm_fips: false
9120+
docker:
9121+
docker_image: cockroachdb/cockroach
9122+
docker_arm: true
9123+
docker_arm_experimental: false
9124+
docker_arm_limited_access: false
9125+
source: true
9126+
previous_release: v25.2.0-rc.1
9127+
cloud_only: true
9128+
cloud_only_message_short: 'Available only for select CockroachDB Cloud clusters'
9129+
cloud_only_message: >
9130+
This version is currently available only for select
9131+
CockroachDB Cloud clusters. To request to upgrade
9132+
a CockroachDB self-hosted cluster to this version,
9133+
[contact support](https://support.cockroachlabs.com/hc/requests/new).

src/current/_data/versions.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ v24.1,2024-05-20,2025-05-20,2025-11-20,24.1.5,24.1.6,2024-10-21,2025-10-21,2026-
1717
v24.2,2024-08-12,2025-02-12,N/A,N/A,N/A,N/A,N/A,N/A,v24.1,release-24.2,2028-08-12
1818
v24.3,2024-11-18,2025-11-18,2026-05-18,24.3.11,24.3.12,2025-05-05,2026-05-05,2027-05-05,v24.2,release-24.3,N/A
1919
v25.1,2025-02-18,2026-08-18,N/A,N/A,N/A,N/A,N/A,N/A,v24.3,release-25.1,N/A
20-
v25.2,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,v25.1,release-25.2,N/A
20+
v25.2,2025-05-09,2026-05-12,2026-11-12,N/A,N/A,N/A,N/A,N/A,v25.1,release-25.2,N/A
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CockroachDB is evolving. In late 2024, we will retire our Core offering to consolidate on a single CockroachDB Enterprise offering under a new [license](https://www.cockroachlabs.com/cockroachdb-software-license/). CockroachDB Enterprise will be available at no charge for individual users and small businesses and will offer all users, free and paid, the full breadth of CockroachDB capabilities. See the [CockroachDB licensing update page](https://www.cockroachlabs.com/enterprise-license-update/) for details.
1+
CockroachDB is evolving. In late 2024, we will retire our Core offering to consolidate on a single CockroachDB Enterprise offering under a new [license](https://www.cockroachlabs.com/cockroachdb-software-license/). CockroachDB Enterprise will be available at no charge for individual users and small businesses and will offer all users, free and paid, the full breadth of CockroachDB capabilities. See the [CockroachDB licensing update page](https://www.cockroachlabs.com/enterprise-license-update/) for details.

src/current/_includes/common/licensing-faqs.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ The table of licenses below refers to options for {{ site.data.products.core }}
88

99
Type | Description
1010
-------------|------------
11-
**Enterprise** <a name="enterprise"></a> | This paid license allows usage of all CockroachDB features in accordance with the terms specified in the [CockroachDB Software License][csl]. License must be renewed annually or as negotiated. Support levels available include [Enterprise][support] or [Essential][support].
12-
**Enterprise Free** <a name="enterprise-free"></a> | Same functionality as **Enterprise**, but free of charge for businesses with less than $10M in annual revenue. Clusters will be [throttled](#throttling) after 7 days without sending [telemetry]({% link {{ page.version.version }}/telemetry.md %}). License must be renewed annually. Support level available is Community (i.e., [Docs]({% link {{ page.version.version }}/index.md %}), [Forum][forum], [Slack][slack]).
13-
**Enterprise Trial** <a name="enterprise-trial"></a> | A 30 day self-service trial license. [Telemetry]({% link {{ page.version.version }}/telemetry.md %}) is required during the trial. Clusters will be [throttled](#throttling) after 7 days without sending telemetry. Telemetry can be disabled once the cluster is upgraded to a paid **Enterprise** license. Support level available during trial is Community (i.e., [Docs]({% link {{ page.version.version }}/index.md %}), [Forum][forum], [Slack][slack]).
11+
**Enterprise** <a name="enterprise"></a> | This paid license allows usage of all CockroachDB features in accordance with the terms specified in the [CockroachDB Software License][csl]. License must be renewed annually or as negotiated. Support levels available include [Enterprise][support] or [Essential][support]. The type of enterprise license may be set to **Production**, **Pre-production**, or **Development** depending on the environment in which CockroachDB is deployed.
12+
**Free** <a name="enterprise-free"></a> | Same functionality as **Enterprise**, but free of charge for businesses with less than $10M in annual revenue. Clusters will be [throttled](#throttling) after 7 days without sending [telemetry]({% link {{ page.version.version }}/telemetry.md %}). License must be renewed annually. Support level available is Community (i.e., [Docs]({% link {{ page.version.version }}/index.md %}), [Forum][forum], [Slack][slack]).
13+
**Trial** <a name="enterprise-trial"></a> | A 30 day self-service trial license. [Telemetry]({% link {{ page.version.version }}/telemetry.md %}) is required during the trial. Clusters will be [throttled](#throttling) after 7 days without sending telemetry. Telemetry can be disabled once the cluster is upgraded to a paid **Enterprise** license. Support level available during trial is Community (i.e., [Docs]({% link {{ page.version.version }}/index.md %}), [Forum][forum], [Slack][slack]).
14+
**Evaluation** <a name="enterprise-evaluation"></a> | Same functionality as **Enterprise**, but may be provided by your sales team if needed for an extended evaluation period. Support level is equivalent to a enterprise license.
1415

1516
<a href="mailto:[email protected]">Contact Sales</a> if you want to try CockroachDB without telemetry requirements or if you require an extended trial period.
1617

@@ -23,7 +24,13 @@ Note that:
2324

2425
## Obtain a license
2526

26-
To obtain a paid **Enterprise** license, <a href="mailto:[email protected]">contact Sales</a>.
27+
To obtain a paid **Enterprise** license, <a href="mailto:[email protected]">contact Sales</a>. Once a license is added to your account, it appears in the [CockroachDB {{ site.data.products.cloud }} Console][cloud-console] on the **Organization &raquo; Enterprise Licenses** page. This page is only accessible by users with **Organization Admin** permissions.
28+
29+
[Sign up for a CockroachDB {{ site.data.products.cloud }} Console account](https://cockroachlabs.cloud/signup?experience=enterprise) if you do not already have one.
30+
31+
{{site.data.alerts.callout_info}}
32+
Enterprise licenses generated prior to May 31st 2025 are not visible in the **Enterprise Licenses** page.
33+
{{site.data.alerts.end}}
2734

2835
To obtain an **Enterprise Free** or **Enterprise Trial** license, take the following steps:
2936

src/current/_includes/releases/v23.1/v23.1.0.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -293,12 +293,6 @@ With the move from Preview to GA, this feature brings many new capabilities, suc
293293
</tr>
294294
</thead>
295295
<tbody>
296-
<tr>
297-
<td><p>Support longer incremental backup chains</p>
298-
</td>
299-
<td><p>We now support up to 400 incremental backups, an 8x increase, enabling you to preserve your data even more effectively (reducing RPO) while being more cost-efficient. Incremental backups contain only the data that has changed since the last backup, so they are smaller and faster to produce.
300-
</td>
301-
</tr>
302296
<tr>
303297
<td><p>Restrict backups to a locality</p>
304298
</td>

src/current/_includes/releases/v24.2/feature-detail-key.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
<tbody>
88
<tr>
99
<td>&starf;</td>
10-
<td>Features marked "All&starf;" were recently made available in the CockroachDB Cloud platform. They are available for all supported versions of CockroachDB, under the deployment methods specified in their row under Availability.</td>
10+
<td>Features marked "All*" were recently made available in the CockroachDB Cloud platform. They are available for all supported versions of CockroachDB, under the deployment methods specified in their row under Availability.</td>
1111
</tr>
1212
<tr>
1313
<td>&starf;&starf;</td>
14-
<td>Features marked "All&starf;&starf;" were recently made available via tools maintained outside of the CockroachDB binary. They are available to use with all supported versions of CockroachDB, under the deployment methods specified in their row under Availability.</td>
14+
<td>Features marked "All**" were recently made available via tools maintained outside of the CockroachDB binary. They are available to use with all supported versions of CockroachDB, under the deployment methods specified in their row under Availability.</td>
1515
</tr>
1616
<tr>
1717
<td>{% include icon-yes.html %}</td>

src/current/_includes/releases/v24.3/feature-detail-key.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
<tbody>
88
<tr>
99
<td>&starf;</td>
10-
<td>Features marked "All&starf;" were recently made available in the CockroachDB Cloud platform. They are available for all supported versions of CockroachDB, under the deployment methods specified in their row under Availability.</td>
10+
<td>Features marked "All*" were recently made available in the CockroachDB Cloud platform. They are available for all supported versions of CockroachDB, under the deployment methods specified in their row under Availability.</td>
1111
</tr>
1212
<tr>
1313
<td>&starf;&starf;</td>
14-
<td>Features marked "All&starf;&starf;" were recently made available via tools maintained outside of the CockroachDB binary. They are available to use with all supported versions of CockroachDB, under the deployment methods specified in their row under Availability.</td>
14+
<td>Features marked "All**" were recently made available via tools maintained outside of the CockroachDB binary. They are available to use with all supported versions of CockroachDB, under the deployment methods specified in their row under Availability.</td>
1515
</tr>
1616
<tr>
1717
<td>{% include icon-yes.html %}</td>

src/current/_includes/releases/v25.1/feature-detail-key.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
<tbody>
88
<tr>
99
<td>&starf;</td>
10-
<td>Features marked "All&starf;" were recently made available in the CockroachDB Cloud platform. They are available for all supported versions of CockroachDB, under the deployment methods specified in their row under Availability.</td>
10+
<td>Features marked "All*" were recently made available in the CockroachDB Cloud platform. They are available for all supported versions of CockroachDB, under the deployment methods specified in their row under Availability.</td>
1111
</tr>
1212
<tr>
1313
<td>&starf;&starf;</td>
14-
<td>Features marked "All&starf;&starf;" were recently made available via tools maintained outside of the CockroachDB binary. They are available to use with all supported versions of CockroachDB, under the deployment methods specified in their row under Availability.</td>
14+
<td>Features marked "All**" were recently made available via tools maintained outside of the CockroachDB binary. They are available to use with all supported versions of CockroachDB, under the deployment methods specified in their row under Availability.</td>
1515
</tr>
1616
<tr>
1717
<td>{% include icon-yes.html %}</td>
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
## v25.1.6
2+
3+
Release Date: April 30th, 2025
4+
5+
{% include releases/new-release-downloads-docker-image.md release=include.release %}
6+
7+
<h3 id="v25-1-6-sql-language-changes">SQL language changes</h3>
8+
9+
- Added the `WITH IGNORE_FOREIGN_KEYS` option to `SHOW CREATE TABLE` which omits foreign key constraints from the output schema. This option is also allowed in `SHOW CREATE VIEW`, but has no effect. It cannot be combined with the `WITH REDACT` option.
10+
[#142161][#142161]
11+
- `EXPLAIN ANALYZE` statements now display the number of transaction retries and time spent retrying, if non-zero, in the plan output.
12+
[#142928][#142928]
13+
- A new `execution time` statistic is now reported on `EXPLAIN ANALYZE` output for most operators. Previously, this statistic was only available on the DistSQL diagrams in `EXPLAIN ANALYZE (DISTSQL)` output.
14+
[#143895][#143895]
15+
16+
<h3 id="v25-1-6-operational-changes">Operational changes</h3>
17+
18+
- The `sys.cpu.host.combined.percent-normalized` metric has been updated to include additional counters for more accurate host CPU measurement and to reduce underreporting. It now accounts for time spent processing hardware (`irq`) and software (`softirq`) interrupts, as well as `nice` time, which represents low-priority user-mode activity.
19+
[#142906][#142906]
20+
- The `server.client_cert_expiration_cache.capacity` cluster setting has been removed. The `security.certificate.expiration.client` and `security.certificate.ttl.client` metrics now report the lowest value observed for a user in the last 24 hours.
21+
[#143729][#143729]
22+
23+
<h3 id="v25-1-6-bug-fixes">Bug fixes</h3>
24+
25+
- Previously, fast failback for physical cluster replication (PCR) could succeed even if the destination cluster protected timestamp had been removed, causing the reverse stream to enter a crashing loop. This fix ensures the failback command fast fails.
26+
[#142922][#142922]
27+
- The reader virtual cluster now starts if the user begins a physical cluster replication (PCR) stream from a cursor via `ALTER VIRTUAL CLUSTER virtual_cluster START REPLICATION OF virtual_cluster ON physical_cluster WITH READ VIRTUAL CLUSTER`.
28+
[#143141][#143141]
29+
- Fixed a bug that caused changefeeds to fail on startup when scanning a single key.
30+
[#143150][#143150]
31+
- MVCC garbage collection is now fully subject to IO admission control. Previously, it was possible for MVCC GC to cause store overload (such as LSM inversion) when a large amount of data would become eligible for garbage collection. Should any issues arise from subjecting MVCC GC to admission control, the `kv.mvcc_gc.queue_kv_admission_control.enabled` cluster setting can be set to `false` to restore the previous behavior.
32+
[#143277][#143277]
33+
- Fixed a bug where calling a stored procedure could drop the procedure if it had `OUT` parameters that were not used by the calling routine. This bug had existed since PL/pgSQL `CALL` statements were introduced in v24.1.
34+
[#143290][#143290]
35+
- Fixed a bug where CockroachDB would encounter an internal error when decoding the gists of plans with `CALL` statements. The bug had been present since v23.2.
36+
[#143315][#143315]
37+
- Fixed a crash due to `use of enum metadata before hydration` when using logical data replication (LDR) with user-defined types.
38+
[#143373][#143373]
39+
- Fixed a bug where a GC threshold error (which appears as "batch timestamp must be after replica GC threshold ...") could cause a schema change that backfills data to fail. Now, the error will cause the backfill to be retried at a higher timestamp to avoid the error.
40+
[#143520][#143520]
41+
- Fixed a bug in `v24.1.14`, `v24.3.7`, `v24.3.8`, and `v25.1` that could cause a nil-pointer error when a column's default expression contained a volatile expression (like `nextval`) as a UDF argument.
42+
[#143634][#143634]
43+
- Fixed a potential deadlock that could occur during client certificate updates while metrics were being collected. This issue affected the reliability of certificate expiration reporting.
44+
[#143729][#143729]
45+
- Previously, the fields `maximum memory usage` and `max sql temp disk usage` in the `EXPLAIN ANALYZE` output could be under-reported for distributed plans when memory-intensive operations were fully performed on the remote nodes. This is now fixed. The bug existed in v22.1 and later.
46+
[#143794][#143794]
47+
- The `ALTER VIRTUAL CLUSTER SET REPLICATION READ VIRTUAL CLUSTER` syntax is now supported for adding a reader virtual cluster for an existing Physical Cluster Replication (PCR) standby.
48+
[#143853][#143853]
49+
- Fixed a bug where CockroachDB could encounter a `cannot specify timestamp older than ...` error during table statistics collection in some cases (e.g., when the cluster is overloaded). The bug was present since v19.1.
50+
[#144018][#144018]
51+
- Fixed a bug that could cause a stack overflow during execution of a prepared statement that invoked a PL/pgSQL routine with a loop. The bug existed in versions v23.2.22, v24.1.15, v24.3.9, v25.1.2, v25.1.3, and pre-release versions of v25.2 prior to v25.2.0-alpha.3.
52+
[#144031][#144031]
53+
- Fixed a bug that could lead to a node stall.
54+
[#146410][#146410]
55+
56+
<h3 id="v25-1-6-performance-improvements">Performance improvements</h3>
57+
58+
- Schema changes that require data to be backfilled no longer hold a protected timestamp for the entire duration of the backfill; this means there is less overhead caused by MVCC garbage collection after the backfill completes.
59+
[#143520][#143520]
60+
61+
<h3 id="v25-1-6-miscellaneous">Miscellaneous</h3>
62+
63+
- Fix rare corruption bug that impacts import and
64+
materialized views. [#144687][#144687]
65+
66+
67+
[#142928]: https://github.com/cockroachdb/cockroach/pull/142928
68+
[#143729]: https://github.com/cockroachdb/cockroach/pull/143729
69+
[#143277]: https://github.com/cockroachdb/cockroach/pull/143277
70+
[#143853]: https://github.com/cockroachdb/cockroach/pull/143853
71+
[#144018]: https://github.com/cockroachdb/cockroach/pull/144018
72+
[#144031]: https://github.com/cockroachdb/cockroach/pull/144031
73+
[#143895]: https://github.com/cockroachdb/cockroach/pull/143895
74+
[#144687]: https://github.com/cockroachdb/cockroach/pull/144687
75+
[#143141]: https://github.com/cockroachdb/cockroach/pull/143141
76+
[#143150]: https://github.com/cockroachdb/cockroach/pull/143150
77+
[#143290]: https://github.com/cockroachdb/cockroach/pull/143290
78+
[#143373]: https://github.com/cockroachdb/cockroach/pull/143373
79+
[#142161]: https://github.com/cockroachdb/cockroach/pull/142161
80+
[#142906]: https://github.com/cockroachdb/cockroach/pull/142906
81+
[#142922]: https://github.com/cockroachdb/cockroach/pull/142922
82+
[#143315]: https://github.com/cockroachdb/cockroach/pull/143315
83+
[#143520]: https://github.com/cockroachdb/cockroach/pull/143520
84+
[#143634]: https://github.com/cockroachdb/cockroach/pull/143634
85+
[#143794]: https://github.com/cockroachdb/cockroach/pull/143794
86+
[#146410]: https://github.com/cockroachdb/cockroach/pull/146410

0 commit comments

Comments
 (0)