Skip to content

Commit e2b3545

Browse files
Release Notes for v25.2-v25.2.0-rc.1 (#19576)
1 parent 352eaa0 commit e2b3545

File tree

2 files changed

+85
-0
lines changed

2 files changed

+85
-0
lines changed

src/current/_data/releases.yml

+28
Original file line numberDiff line numberDiff line change
@@ -9070,3 +9070,31 @@
90709070
CockroachDB Cloud clusters. To request to upgrade
90719071
a CockroachDB self-hosted cluster to this version,
90729072
[contact support](https://support.cockroachlabs.com/hc/requests/new).
9073+
9074+
9075+
- release_name: v25.2.0-rc.1
9076+
major_version: v25.2
9077+
release_date: '2025-05-12'
9078+
release_type: Testing
9079+
go_version: go1.23.7
9080+
sha: 4377500860ff39cc5ddf7954079ced214bd788dc
9081+
has_sql_only: true
9082+
has_sha256sum: true
9083+
mac:
9084+
mac_arm: true
9085+
mac_arm_experimental: true
9086+
mac_arm_limited_access: false
9087+
windows: true
9088+
linux:
9089+
linux_arm: true
9090+
linux_arm_experimental: false
9091+
linux_arm_limited_access: false
9092+
linux_intel_fips: true
9093+
linux_arm_fips: false
9094+
docker:
9095+
docker_image: cockroachdb/cockroach-unstable
9096+
docker_arm: true
9097+
docker_arm_experimental: false
9098+
docker_arm_limited_access: false
9099+
source: true
9100+
previous_release: v25.2.0-beta.3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
## v25.2.0-rc.1
2+
3+
Release Date: May 12, 2025
4+
5+
{% include releases/new-release-downloads-docker-image.md release=include.release %}
6+
7+
<h3 id="v25-2-0-rc-1-sql-language-changes">SQL language changes</h3>
8+
9+
- 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.
10+
[#144819][#144819]
11+
- 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.
12+
[#144902][#144902]
13+
- 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.
14+
[#144902][#144902]
15+
- Added support for numeric JSONPath methods `.abs()`, `.floor()`, `.ceiling()`. For example, `SELECT jsonb_path_query('-0.5', '$.abs()');`.
16+
[#145121][#145121]
17+
- Disabled `IMPORT INTO` for tables with vector indexes, because importing into vector indexes is not implemented.
18+
[#145262][#145262]
19+
- Added support for `like_regex` flags in JSONPath queries. For example, `SELECT jsonb_path_query('{}', '"a" like_regex ".*" flag "i"');`.
20+
[#145300][#145300]
21+
- Vector index creation is now prevented until the entire cluster upgrade has been finalized on v25.2 or later.
22+
[#145449][#145449]
23+
24+
<h3 id="v25-2-0-rc-1-bug-fixes">Bug fixes</h3>
25+
26+
- `NULL` vectors can now be inserted into tables with vector indexes.
27+
[#144858][#144858]
28+
- 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.
29+
[#145157][#145157]
30+
- 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.
31+
[#145381][#145381]
32+
- 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.
33+
[#145409][#145409]
34+
35+
<h3 id="v25-2-0-rc-1-performance-improvements">Performance improvements</h3>
36+
37+
- 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.
38+
[#144825][#144825]
39+
40+
<h3 id="v25-2-0-rc-1-miscellaneous">Miscellaneous</h3>
41+
42+
- 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.
43+
[#145111][#145111]
44+
45+
46+
[#144819]: https://github.com/cockroachdb/cockroach/pull/144819
47+
[#145121]: https://github.com/cockroachdb/cockroach/pull/145121
48+
[#145262]: https://github.com/cockroachdb/cockroach/pull/145262
49+
[#145300]: https://github.com/cockroachdb/cockroach/pull/145300
50+
[#145381]: https://github.com/cockroachdb/cockroach/pull/145381
51+
[#145409]: https://github.com/cockroachdb/cockroach/pull/145409
52+
[#145111]: https://github.com/cockroachdb/cockroach/pull/145111
53+
[#144902]: https://github.com/cockroachdb/cockroach/pull/144902
54+
[#145449]: https://github.com/cockroachdb/cockroach/pull/145449
55+
[#144858]: https://github.com/cockroachdb/cockroach/pull/144858
56+
[#145157]: https://github.com/cockroachdb/cockroach/pull/145157
57+
[#144825]: https://github.com/cockroachdb/cockroach/pull/144825

0 commit comments

Comments
 (0)