From 802f64ce710dc08d17b559dc3016bb393c4082e4 Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Fri, 22 Aug 2025 15:02:33 +0000 Subject: [PATCH 1/6] Update release notes for v25.2-v25.2.5 From 973ed4f61aad7da2c96a0ad5ee0a44850e888b06 Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Fri, 22 Aug 2025 15:02:34 +0000 Subject: [PATCH 2/6] Update release notes for v25.2-v25.2.5 --- src/current/_data/releases.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/current/_data/releases.yml b/src/current/_data/releases.yml index 3bdf527d5a1..81f9f1ed85b 100644 --- a/src/current/_data/releases.yml +++ b/src/current/_data/releases.yml @@ -9488,3 +9488,31 @@ docker_arm_limited_access: false source: true previous_release: v24.3.17 + + +- release_name: v25.2.5 + major_version: v25.2 + release_date: '2025-08-22' + release_type: Production + go_version: go1.23.7 + sha: f08e98cff22855b4abdeba2ad7677a6e7b32e3ed + has_sql_only: true + has_sha256sum: true + mac: + mac_arm: true + mac_arm_experimental: true + mac_arm_limited_access: false + windows: true + linux: + linux_arm: true + linux_arm_experimental: false + linux_arm_limited_access: false + linux_intel_fips: true + linux_arm_fips: false + docker: + docker_image: cockroachdb/cockroach + docker_arm: true + docker_arm_experimental: false + docker_arm_limited_access: false + source: true + previous_release: v25.2.4 From c74c213fa489d941427fb3b0ac4499fdaf72a48b Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Fri, 22 Aug 2025 15:02:35 +0000 Subject: [PATCH 3/6] Update release notes for v25.2-v25.2.5 --- .../_includes/releases/v25.2/v25.2.5.md | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 src/current/_includes/releases/v25.2/v25.2.5.md diff --git a/src/current/_includes/releases/v25.2/v25.2.5.md b/src/current/_includes/releases/v25.2/v25.2.5.md new file mode 100644 index 00000000000..50df42d4dbc --- /dev/null +++ b/src/current/_includes/releases/v25.2/v25.2.5.md @@ -0,0 +1,60 @@ +## v25.2.5 + +Release Date: August 22, 2025 + +{% include releases/new-release-downloads-docker-image.md release=include.release %} + +

General changes

+ +- Kafka v2 changefeed sinks now support + a cluster setting that enables detailed error logging for messages + exceeding Kafka v2 size limit. [#149829][#149829] + +

Operational changes

+ +- Introduced a cluster setting, `sql.stats.error_on_concurrent_create_stats.enabled`, which modifies how CockroachDB reacts to concurrent auto stats jobs. The default, `true`, maintains the previous behavior. Setting `sql.stats.error_on_concurrent_create_stats.enabled` to `false` will cause the concurrent auto stats job to be skipped with just a log entry and no increased error counters. [#149837][#149837] + +

Bug fixes

+ +- Fixed an issue where the mvcc_timestamp field was incorrectly returning zero values when used with CDC queries. The timestamp is now emitted correctly. [#147114][#147114] +- Fixed a bug where database login could fail + during LDAP, JWT, or OIDC authentication if the user's external group + memberships did not correspond to any existing roles in the + database. The login will now succeed, and no roles will be granted or + revoked in this scenario. [#149747][#149747] +- Fixed a bug that would cause a `CALL` statement executed via a portal in the extended wire protocol to result in an error like `unknown portal ""` if the stored procedure contained `COMMIT` or `ROLLBACK` statements. The bug had existed since PL/pgSQL transaction control statements were introduced in v24.1. The fix will be off by default in versions prior to v25.3, and can be toggled on by setting `use_proc_txn_control_extended_protocol_fix = true`. [#149851][#149851] +- Fixed a slow memory leak that was introduced in v25.1.8, v25.2.1, v25.2.2, and v25.3 betas. The leak would accumulate whenever a node executed a part of the distributed plan (the gateway node of the plan was not affected), and could only be mitigated by restarting the node. [#149919][#149919] +- Fixed an issue where some SQL metrics were not reported when `server.child_metrics.enabled` was enabled, `server.child_metrics.include_aggregate.enabled` was disabled, and `sql.metrics.application_name.enabled` and `sql.metrics.database_name.enabled` were also disabled. Specifically, metrics with no children now report their aggregate metrics regardless of the `server.child_metrics.include_aggregate.enabled` cluster setting. [#149937][#149937] +- Fixed a bug that would allow a race condition in foreign key cascades under `READ COMMITTED` and `REPEATABLE READ` isolation levels. [#150295][#150295] +- Fixed an issue where discarding zone configs on sequences did not actually remove the configuration. [#150359][#150359] +- Fixed a bug where the entire schema would become inaccessible if a table was referenced as an implicit record type by a user-defined function (UDF) while the table was undergoing an `IMPORT`. [#150439][#150439] +- Fixed invalid zone configurations that were generated when adding a super region to a 3-region database with a secondary region and region survivability. Previously, this could result in assigning more than the allowed number of replicas. [#150619][#150619] +- Fixed a bug that could cause some errors returned by attempts to upload backup data to external storage providers to be undetected, potentially causing incomplete backups. [#151082][#151082] +- Fixed a memory accounting issue in the client certificate cache that caused multiple allocations to be reported for the same certificate. The cache now accurately tracks memory usage and includes a safeguard to prevent it from negatively affecting SQL operations. [#151146][#151146] +- Previously, CockroachDB could encounter an internal error `trying to add a column of UNKNOWN type at ...` in rare cases when handling `CASE` or `OR` operations. This bug was present since v20.2 and is now fixed. [#151161][#151161] +- Previously, CockroachDB could hit an error + `ERROR: span with results after resume span...` when evaluating some + queries with ORDER BY ... DESC in an edge case. The bug has been present + since about v22.1 and is now fixed. [#152185][#152185] + +

Miscellaneous

+ +- Upgrade to Go 1.23.11 [#150988][#150988] + + +[#150619]: https://github.com/cockroachdb/cockroach/pull/150619 +[#151082]: https://github.com/cockroachdb/cockroach/pull/151082 +[#152185]: https://github.com/cockroachdb/cockroach/pull/152185 +[#149851]: https://github.com/cockroachdb/cockroach/pull/149851 +[#150295]: https://github.com/cockroachdb/cockroach/pull/150295 +[#150439]: https://github.com/cockroachdb/cockroach/pull/150439 +[#150988]: https://github.com/cockroachdb/cockroach/pull/150988 +[#149837]: https://github.com/cockroachdb/cockroach/pull/149837 +[#150359]: https://github.com/cockroachdb/cockroach/pull/150359 +[#151146]: https://github.com/cockroachdb/cockroach/pull/151146 +[#151161]: https://github.com/cockroachdb/cockroach/pull/151161 +[#149829]: https://github.com/cockroachdb/cockroach/pull/149829 +[#147114]: https://github.com/cockroachdb/cockroach/pull/147114 +[#149747]: https://github.com/cockroachdb/cockroach/pull/149747 +[#149919]: https://github.com/cockroachdb/cockroach/pull/149919 +[#149937]: https://github.com/cockroachdb/cockroach/pull/149937 From 1d39c413af4a2418d013473404b4d07fe3011b0b Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Fri, 22 Aug 2025 15:44:30 +0000 Subject: [PATCH 4/6] Update release notes for v25.2-v25.2.5 From 73eaac926cbe8b16e5c971478be0a2111112010c Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Fri, 22 Aug 2025 15:44:31 +0000 Subject: [PATCH 5/6] Update release notes for v25.2-v25.2.5 From c267af8b4d589246999f7ba11c94dce5ae4cbe46 Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Fri, 22 Aug 2025 15:44:31 +0000 Subject: [PATCH 6/6] Update release notes for v25.2-v25.2.5 --- .../_includes/releases/v25.2/v25.2.5.md | 25 ++++++++----------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/src/current/_includes/releases/v25.2/v25.2.5.md b/src/current/_includes/releases/v25.2/v25.2.5.md index 50df42d4dbc..1224dcff43c 100644 --- a/src/current/_includes/releases/v25.2/v25.2.5.md +++ b/src/current/_includes/releases/v25.2/v25.2.5.md @@ -32,29 +32,26 @@ Release Date: August 22, 2025 - Fixed a bug that could cause some errors returned by attempts to upload backup data to external storage providers to be undetected, potentially causing incomplete backups. [#151082][#151082] - Fixed a memory accounting issue in the client certificate cache that caused multiple allocations to be reported for the same certificate. The cache now accurately tracks memory usage and includes a safeguard to prevent it from negatively affecting SQL operations. [#151146][#151146] - Previously, CockroachDB could encounter an internal error `trying to add a column of UNKNOWN type at ...` in rare cases when handling `CASE` or `OR` operations. This bug was present since v20.2 and is now fixed. [#151161][#151161] -- Previously, CockroachDB could hit an error - `ERROR: span with results after resume span...` when evaluating some - queries with ORDER BY ... DESC in an edge case. The bug has been present - since about v22.1 and is now fixed. [#152185][#152185] +- Previously, CockroachDB could hit an error `ERROR: span with results after resume span...` when evaluating some queries with `ORDER BY ... DESC` in an edge case. This bug was present since v22.1 and is now fixed. [#152185][#152185]

Miscellaneous

- Upgrade to Go 1.23.11 [#150988][#150988] -[#150619]: https://github.com/cockroachdb/cockroach/pull/150619 -[#151082]: https://github.com/cockroachdb/cockroach/pull/151082 +[#149837]: https://github.com/cockroachdb/cockroach/pull/149837 [#152185]: https://github.com/cockroachdb/cockroach/pull/152185 -[#149851]: https://github.com/cockroachdb/cockroach/pull/149851 -[#150295]: https://github.com/cockroachdb/cockroach/pull/150295 -[#150439]: https://github.com/cockroachdb/cockroach/pull/150439 [#150988]: https://github.com/cockroachdb/cockroach/pull/150988 -[#149837]: https://github.com/cockroachdb/cockroach/pull/149837 -[#150359]: https://github.com/cockroachdb/cockroach/pull/150359 +[#151082]: https://github.com/cockroachdb/cockroach/pull/151082 [#151146]: https://github.com/cockroachdb/cockroach/pull/151146 +[#149919]: https://github.com/cockroachdb/cockroach/pull/149919 +[#149937]: https://github.com/cockroachdb/cockroach/pull/149937 +[#150619]: https://github.com/cockroachdb/cockroach/pull/150619 +[#150359]: https://github.com/cockroachdb/cockroach/pull/150359 [#151161]: https://github.com/cockroachdb/cockroach/pull/151161 -[#149829]: https://github.com/cockroachdb/cockroach/pull/149829 [#147114]: https://github.com/cockroachdb/cockroach/pull/147114 +[#149851]: https://github.com/cockroachdb/cockroach/pull/149851 +[#150295]: https://github.com/cockroachdb/cockroach/pull/150295 +[#149829]: https://github.com/cockroachdb/cockroach/pull/149829 [#149747]: https://github.com/cockroachdb/cockroach/pull/149747 -[#149919]: https://github.com/cockroachdb/cockroach/pull/149919 -[#149937]: https://github.com/cockroachdb/cockroach/pull/149937 +[#150439]: https://github.com/cockroachdb/cockroach/pull/150439