From e89ea34f82bfd49261b38b50cad3ae417cbcbbbb Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Tue, 16 Dec 2025 12:00:38 +0000 Subject: [PATCH 1/3] Update release notes for v25.3-v25.3.6 From a531afcc38a3458a5257e5b0ff060ca8c1ba5776 Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Tue, 16 Dec 2025 12:00:39 +0000 Subject: [PATCH 2/3] Update release notes for v25.3-v25.3.6 --- src/current/_data/releases.yml | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/src/current/_data/releases.yml b/src/current/_data/releases.yml index 3422868ad71..65c395c13e0 100644 --- a/src/current/_data/releases.yml +++ b/src/current/_data/releases.yml @@ -10179,3 +10179,38 @@ CockroachDB Cloud clusters. To request to upgrade a CockroachDB self-hosted cluster to this version, [contact support](https://support.cockroachlabs.com/hc/requests/new). + + +- release_name: v25.3.6 + major_version: v25.3 + release_date: '2025-12-12' + release_type: Production + go_version: go1.25.3 + sha: 7bad8e82ef2989b3cd657baca02567a892c1b5c3 + 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.3.6 + cloud_only: true + cloud_only_message_short: 'Available only for select CockroachDB Cloud clusters' + cloud_only_message: > + This version is currently available only for select + CockroachDB Cloud clusters. To request to upgrade + a CockroachDB self-hosted cluster to this version, + [contact support](https://support.cockroachlabs.com/hc/requests/new). From b8f40146633f0e0bcef3c6b18be39a108138c15b Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Tue, 16 Dec 2025 12:00:39 +0000 Subject: [PATCH 3/3] Update release notes for v25.3-v25.3.6 --- .../_includes/releases/v25.3/v25.3.6.md | 46 +++++++++---------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/src/current/_includes/releases/v25.3/v25.3.6.md b/src/current/_includes/releases/v25.3/v25.3.6.md index d561a1b3f7e..ef9323e86f9 100644 --- a/src/current/_includes/releases/v25.3/v25.3.6.md +++ b/src/current/_includes/releases/v25.3/v25.3.6.md @@ -4,32 +4,30 @@ Release Date: December 12, 2025 {% include releases/new-release-downloads-docker-image.md release=include.release %} -

Bug fixes

- -- A mechanism that prevents unsafe replication changes from causing loss of quorum now functions correctly. An internal function has been fixed to properly return errors, enhancing the reliability of replication safeguards. [#156522][#156522] -- Fixed a bug where the "atomic" `COPY` command (controlled via the `copy_from_atomic_enabled` session setting, `true` by default) could encounter `RETRY_COMMIT_DEADLINE_EXCEEDED` transaction errors if the whole command took 1 minute or more. This bug occurred only when the vectorized engine was used for `COPY`. [#156694][#156694] -- Attempting to create a vector index with the legacy schema changer will now fail gracefully instead of crashing the node. [#156781][#156781] -- Fixed a bug that could cause internal errors for queries using generic query plans with `NULL` placeholder values. [#156978][#156978] -- Fixed a bug where CockroachDB could encounter an internal error when evaluating a `COPY FROM` command in a transaction after it was rolled back to a savepoint. The bug was present since before v23.2. [#157038][#157038] -- Fixed a bug where CockroachDB could encounter a `vector encoder doesn't support ForcePut yet` error when executing `COPY` commands concurrently with certain schema changes. The bug had existed since before v23.2. [#157199][#157199] -- Fixed a bug that could cause a schema change to be stuck in the reverting state if the `infer_rbr_region_col_using_constraint` storage parameter was being set at the same time as adding a constraint that had a foreign key violation. [#157843][#157843] +

SQL language changes

-

Performance improvements

+- Fixed two cases where creation of a routine + resolves unnecessary column dependencies, which can prevent drop of the + column without first dropping the routine. Here, the unnecessary + dependencies are due to references within CHECK constraints, including + those for RLS policies and hash-sharded indexes, as well as those in + partial index predicates. The fix is gated behind the session setting + `use_improved_routine_deps_triggers_and_computed_cols`, which is off by + default before 26.1. [#159470][#159470] -- The cost of generic query plans is now calculated based on worst-case selectivities for placeholder equalities (e.g., `x = $1`). This reduces the chance of suboptimal generic query plans being chosen when `plan_cache_mode=auto`. [#156791][#156791] - -

Miscellaneous

+

Bug fixes

-- Span config reconciliation jobs no longer fail on the - destination after failover from a PCR stream of a system virtual cluster. [#156811][#156811] +- Fixed a bug that caused routines to prevent + dropping more columns than necessary, most notably columns referenced + by computed column expressions. The fix is gated behind the session + setting `use_improved_routine_deps_triggers_and_computed_cols`, which + is off by default prior to v26.1. [#159470][#159470] +- Fixed a bug that allowed a column to be dropped from + its table despite being referenced by a routine. The bug could happen when the + column was only referenced as a target column in the SET clause of an UPDATE + statement within the routine. This fix only applies to newly-created routines. + In versions prior to v26.1, the fix must be enabled by setting the session + variable `prevent_update_set_column_drop`. [#159470][#159470] -[#156791]: https://github.com/cockroachdb/cockroach/pull/156791 -[#156781]: https://github.com/cockroachdb/cockroach/pull/156781 -[#156978]: https://github.com/cockroachdb/cockroach/pull/156978 -[#157038]: https://github.com/cockroachdb/cockroach/pull/157038 -[#157843]: https://github.com/cockroachdb/cockroach/pull/157843 -[#156522]: https://github.com/cockroachdb/cockroach/pull/156522 -[#156694]: https://github.com/cockroachdb/cockroach/pull/156694 -[#157199]: https://github.com/cockroachdb/cockroach/pull/157199 -[#156811]: https://github.com/cockroachdb/cockroach/pull/156811 +[#159470]: https://github.com/cockroachdb/cockroach/pull/159470