diff --git a/src/current/_data/releases.yml b/src/current/_data/releases.yml index 5d6aba1aa6b..db3a57ddd6b 100644 --- a/src/current/_data/releases.yml +++ b/src/current/_data/releases.yml @@ -9070,3 +9070,31 @@ 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-12' + 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 diff --git a/src/current/_includes/releases/v25.2/v25.2.0-rc.1.md b/src/current/_includes/releases/v25.2/v25.2.0-rc.1.md new file mode 100644 index 00000000000..7d519f2a400 --- /dev/null +++ b/src/current/_includes/releases/v25.2/v25.2.0-rc.1.md @@ -0,0 +1,57 @@ +## v25.2.0-rc.1 + +Release Date: May 12, 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