|
| 1 | +## v25.1.8 |
| 2 | + |
| 3 | +Release Date: June 25, 2025 |
| 4 | + |
| 5 | +{% include releases/new-release-downloads-docker-image.md release=include.release %} |
| 6 | + |
| 7 | +<h3 id="v25-1-8-bug-fixes">Bug fixes</h3> |
| 8 | + |
| 9 | +- Fixed a bug where a CockroachDB node could crash when executing `DO` statements that contain currently unsupported DDL statements like `CREATE TYPE` in a non-default configuration (additional logging needed to be enabled, e.g., via the `sql.log.all_statements.enabled` cluster setting). This bug was introduced in v25.1. |
| 10 | + [#146509][#146509] |
| 11 | +- Fixed a bug where the `kv.rangefeed.closed_timestamp.slow_ranges` would not be incremented when a rangefeed closed timestamp was slower than the target threshold. |
| 12 | + [#146973][#146973] |
| 13 | +- Fixed a bug that caused the SQL Activity > Statement Fingerprint page to fail to load details for statements run with application names containing a `#` character. |
| 14 | + [#147222][#147222] |
| 15 | +- Fixed a bug that could cause an `AFTER` trigger to fail with `client already committed or rolled back the transaction` if the query also contained foreign-key cascades. The bug had existed since `AFTER` triggers were introduced in v24.3. |
| 16 | + [#147310][#147310] |
| 17 | +- Fixed a bug that could cause the `cockroach` process to `segfault` when collecting runtime execution traces (typically collected via the **Advanced Debug** page in the Console). |
| 18 | + [#147332][#147332] |
| 19 | +- Previously, CockroachDB could incorrectly evaluate the `to_regclass`, `to_regnamespace`, `to_regproc`, `to_regprocedure`, `to_regrole`, and `to_regtype` built-in functions when the query using them was evaluated in a distributed fashion. The bug was introduced with these built-in functions in v23.1 and is now fixed. |
| 20 | + [#147375][#147375] |
| 21 | +- Fixed a bug that caused the optimizer to ignore index hints when optimizing some forms of prepared statements. This could result in one of two unexpected behaviors: a query errors with the message `index cannot be used for this query` when the index can actually be used; or a query uses an index that does not adhere to the hint. The hints relevant to this bug are regular index hints, e.g., `SELECT * FROM tab@index`, `FORCE_INVERTED_INDEX`, and `FORCE_ZIGZAG`. |
| 22 | + [#147416][#147416] |
| 23 | +- Fixed a bug that could cause stable expressions to be folded in cached query plans. The bug could cause stable expressions like `current_setting` to return the wrong result if used in a prepared statement. The bug was introduced in v23.2.22, v24.1.14, v24.3.9, v25.1.2, and the v25.2 alpha. |
| 24 | + [#147459][#147459] |
| 25 | +- Fixed a bug where prepared statements on schema changes could fail with runtime errors. |
| 26 | + [#147670][#147670] |
| 27 | +- Fixed a bug where `ALTER TABLE` was modifying identity attributes on columns not backed by a sequence. |
| 28 | + [#147710][#147710] |
| 29 | +- Fixed an issue with logical data replication where the presence of a unique index may cause spurious dead-letter queue (DLQ) entries if the unique index has a smaller index ID than the primary key index. |
| 30 | + [#147353][#147353] |
| 31 | + |
| 32 | +<h3 id="v25-1-8-performance-improvements">Performance improvements</h3> |
| 33 | + |
| 34 | +- TTL jobs now respond to cluster topology changes by restarting and rebalancing across available nodes. |
| 35 | + [#147208][#147208] |
| 36 | + |
| 37 | +[#147353]: https://github.com/cockroachdb/cockroach/pull/147353 |
| 38 | +[#147332]: https://github.com/cockroachdb/cockroach/pull/147332 |
| 39 | +[#147375]: https://github.com/cockroachdb/cockroach/pull/147375 |
| 40 | +[#147416]: https://github.com/cockroachdb/cockroach/pull/147416 |
| 41 | +[#147670]: https://github.com/cockroachdb/cockroach/pull/147670 |
| 42 | +[#147208]: https://github.com/cockroachdb/cockroach/pull/147208 |
| 43 | +[#147710]: https://github.com/cockroachdb/cockroach/pull/147710 |
| 44 | +[#146509]: https://github.com/cockroachdb/cockroach/pull/146509 |
| 45 | +[#146973]: https://github.com/cockroachdb/cockroach/pull/146973 |
| 46 | +[#147222]: https://github.com/cockroachdb/cockroach/pull/147222 |
| 47 | +[#147310]: https://github.com/cockroachdb/cockroach/pull/147310 |
| 48 | +[#147459]: https://github.com/cockroachdb/cockroach/pull/147459 |
0 commit comments