Skip to content

Release Notes for v25.2-v25.2.0-rc.1 #19576

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 56 additions & 15 deletions src/current/_data/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8981,14 +8981,6 @@
docker_arm_limited_access: false
source: true
previous_release: v24.1.17
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).


- release_name: v23.2.25
major_version: v23.2
Expand Down Expand Up @@ -9016,13 +9008,6 @@
docker_arm_limited_access: false
source: true
previous_release: v23.2.24
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).

- release_name: v24.3.12
major_version: v24.3
Expand Down Expand Up @@ -9050,10 +9035,66 @@
docker_arm_limited_access: false
source: true
previous_release: v24.3.11


- release_name: v25.1.6
major_version: v25.1
release_date: '2025-05-05'
release_type: Production
go_version: go1.23.7
sha: 8277f164925ba5fb24d987ff1af4703d5f084da1
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.1.5
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).


- release_name: v25.2.0-rc.1
major_version: v25.2
release_date: '2025-05-22'
release_type: Testing
go_version: go1.23.7
sha: 4377500860ff39cc5ddf7954079ced214bd788dc
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-unstable
docker_arm: true
docker_arm_experimental: false
docker_arm_limited_access: false
source: true
previous_release: v25.2.0-beta.3
57 changes: 57 additions & 0 deletions src/current/_includes/releases/v25.2/v25.2.0-rc.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
## v25.2.0-rc.1

Release Date: May 22, 2025

{% include releases/new-release-downloads-docker-image.md release=include.release %}

<h3 id="v25-2-0-rc-1-sql-language-changes">SQL language changes</h3>

- Non-integer array indices are now supported in JSONPath queries (e.g., `SELECT jsonb_path_query('[1, 2, 3]', '$[2.5]');`). Indices are rounded toward 0.
[#144819][#144819]
- The `vector_l2_ops` operator class can now be specified for a vector index. Because `vector_l2_ops` is the default, it is possible to omit the operator class from an index definition.
[#144902][#144902]
- When creating a vector index with the `USING` syntax, `hnsw` can now be specified as the index type, although a `cspann` vector index is still provided. This change increases compatibility with third-party tools.
[#144902][#144902]
- Added support for numeric JSONPath methods `.abs()`, `.floor()`, `.ceiling()`. For example, `SELECT jsonb_path_query('-0.5', '$.abs()');`.
[#145121][#145121]
- Disabled `IMPORT INTO` for tables with vector indexes, because importing into vector indexes is not implemented.
[#145262][#145262]
- Added support for `like_regex` flags in JSONPath queries. For example, `SELECT jsonb_path_query('{}', '"a" like_regex ".*" flag "i"');`.
[#145300][#145300]
- Vector index creation is now prevented until the entire cluster upgrade has been finalized on v25.2 or later.
[#145449][#145449]

<h3 id="v25-2-0-rc-1-bug-fixes">Bug fixes</h3>

- `NULL` vectors can now be inserted into tables with vector indexes.
[#144858][#144858]
- Fixed a bug that caused vector indexes to return incorrect or no results from a standby reader in a physical cluster replication (PCR) setup. This bug existed in alpha versions of v25.2 and in v25.2.0-beta.1.
[#145157][#145157]
- Fixed a bug that allowed a set-returning PL/pgSQL function to be created before the version change was finalized. This bug existed in v25.2 alpha and beta releases.
[#145381][#145381]
- Fixed a bug where CockroachDB could encounter an internal error when fetching from the `WITH HOLD` cursor with `FETCH FIRST` and `FETCH ABSOLUTE`. The bug was only present in v25.2 alpha and beta releases.
[#145409][#145409]

<h3 id="v25-2-0-rc-1-performance-improvements">Performance improvements</h3>

- Some internal queries executed by the jobs system are now less likely to perform full table scans of the `system.jobs` table, making them more efficient. This change can be reverted by disabling the `jobs.avoid_full_scans_in_find_running_jobs.enabled` cluster setting.
[#144825][#144825]

<h3 id="v25-2-0-rc-1-miscellaneous">Miscellaneous</h3>

- SQL queries run on the source cluster by logical data replication (LDR) and physical cluster replication (PCR) will account to internal metrics like `sql.statements.active.internal` instead of the metrics like `sql.statements.active` that are used to monitor application workload.
[#145111][#145111]


[#144819]: https://github.com/cockroachdb/cockroach/pull/144819
[#145121]: https://github.com/cockroachdb/cockroach/pull/145121
[#145262]: https://github.com/cockroachdb/cockroach/pull/145262
[#145300]: https://github.com/cockroachdb/cockroach/pull/145300
[#145381]: https://github.com/cockroachdb/cockroach/pull/145381
[#145409]: https://github.com/cockroachdb/cockroach/pull/145409
[#145111]: https://github.com/cockroachdb/cockroach/pull/145111
[#144902]: https://github.com/cockroachdb/cockroach/pull/144902
[#145449]: https://github.com/cockroachdb/cockroach/pull/145449
[#144858]: https://github.com/cockroachdb/cockroach/pull/144858
[#145157]: https://github.com/cockroachdb/cockroach/pull/145157
[#144825]: https://github.com/cockroachdb/cockroach/pull/144825
Loading