From cbb3fcc5a58b29fff277dfb653609fa0af3006a2 Mon Sep 17 00:00:00 2001 From: Florence Morris Date: Thu, 9 Jan 2025 19:39:03 -0500 Subject: [PATCH] REL-1855 v23.2.19: [Docs] Generate release notes for Cloud (#19278) * edited release notes. * added cloud_only attributes in releases.yml for v24.3.3 --- src/current/_data/releases.yml | 44 +++++++++++- .../_includes/releases/v23.2/v23.2.19.md | 69 +++++++++++++++++++ 2 files changed, 110 insertions(+), 3 deletions(-) create mode 100644 src/current/_includes/releases/v23.2/v23.2.19.md diff --git a/src/current/_data/releases.yml b/src/current/_data/releases.yml index 52aecfdc4b2..79fee4eb1f2 100644 --- a/src/current/_data/releases.yml +++ b/src/current/_data/releases.yml @@ -7761,7 +7761,6 @@ source: true previous_release: v25.1.0-alpha.1 - - release_name: v24.1.10 major_version: v24.1 release_date: '2025-01-09' @@ -7796,7 +7795,6 @@ a CockroachDB self-hosted cluster to this version, [contact support](https://support.cockroachlabs.com/hc/requests/new). - - release_name: v24.2.8 major_version: v24.2 release_date: '2025-01-09' @@ -7857,4 +7855,44 @@ docker_arm_limited_access: false source: true previous_release: v24.3.2 - \ No newline at end of file + 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.19 + major_version: v23.2 + release_date: '2025-01-09' + release_type: Production + go_version: go1.22.8 + sha: 9577e2fa2e0a2dd6bae286ec1a3e89714e0cdeef + 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: v23.2.18 + 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). diff --git a/src/current/_includes/releases/v23.2/v23.2.19.md b/src/current/_includes/releases/v23.2/v23.2.19.md new file mode 100644 index 00000000000..436072ce485 --- /dev/null +++ b/src/current/_includes/releases/v23.2/v23.2.19.md @@ -0,0 +1,69 @@ +## v23.2.19 + +Release Date: January 9, 2025 + +{% include releases/new-release-downloads-docker-image.md release=include.release %} + +

Security updates

+ +- The cluster setting `server.jwt_authentication.issuers` now takes the issuers configuration value from the URI. This can be set to one of the following values: + 1. Simple string that can be parsed as a valid issuer URL. For example: `'https://accounts.google.com'`. + 1. String that can be parsed as a valid JSON array of issuer URLs list. For example: `['example.com/adfs','https://accounts.google.com']`. + 1. String that can be parsed as valid JSON and deserialized into a map of issuer URLs to corresponding JWKS URIs. In this case, the JWKS URI present in the issuer's well-known endpoint will be overridden. For example: `'{"issuer_jwks_map": {"https://accounts.google.com": "https://www.googleapis.com/oauth2/v3/certs", "example.com/adfs": "https://example.com/adfs/discovery/keys"}}'`. When `issuer_jwks_map` is set, the JWKS URI is directly used to get the key set. In all other cases when `JWKSAutoFetchEnabled` is set, the JWKS URI is obtained first from the issuer's well-known endpoint and then this endpoint is used. [#138188][#138188] + +

General changes

+ +- In order to improve the granularity of changefeed pipeline metrics, the changefeed metrics `changefeed.admit_latency` and `changefeed.commit_latency` now have histogram buckets from `5ms` to `60m` (previously `500ms` to `5m`). The changefeed metrics `changefeed.parallel_io_queue_nanos`, `changefeed.parallel_io_result_queue_nanos`, `changefeed.sink_batch_hist_nanos`, `changefeed.flush_hist_nanos`, and `changefeed.kafka_throttling_hist_nanos` have histogram buckets from `5ms` to `10m` (previously `500ms` to `5m`). [#136618][#136618] +- Added support for multiple seed brokers in the new Kafka sink. [#136745][#136745] +- Added a metric `distsender.rangefeed.catchup_ranges_waiting_client_side` that counts how many rangefeeds are waiting on the client-side limiter to start performing catchup scans. [#136837][#136837] +- Added changefeed support for the `mvcc_timestamp` option with the `avro` format. If both options are specified, the Avro schema includes an `mvcc_timestamp` metadata field and emits the row's MVCC timestamp with the row data. [#136018][#136018] + +

SQL language changes

+ +- Added the `legacy_varchar_typing` session setting that reverts the changes of [#133037][#133037] that caused the change in typing behavior described in [#137837][#137837]. Specifically, the `legacy_varchar_typing` session setting makes type-checking and overload resolution ignore the newly added "unpreferred" overloads. This setting defaults to `on`. [#137922][#137922] + +

Operational changes

+ +- Telemetry delivery is now considered successful even in cases where we experience a network timeout. This will prevent throttling in cases outside an operator's control. [#136477][#136477] +- When a schema change job completes, rolls back, or encounters a failure, the time taken since the job began is now logged in a structured log in the `SQL_SCHEMA` log channel. [#136952][#136952] + +

Bug fixes

+ +- `CREATE SCHEMA` now returns the correct error if the schema name is missing. [#135925][#135925] +- Fixed an issue where corrupted table statistics could cause the CockroachDB process to crash. [#136043][#136043] +- The `idle_in_session_timeout` setting now excludes the time spent waiting for schema changer jobs to complete, preventing unintended session termination during schema change operations. [#136508][#136508] +- Fixed a bug that caused the optimizer to use stale table statistics after altering an enum type used in the table. [#136832][#136832] +- CockroachDB now better respects `statement_timeout` limit on queries involving the top K sort and merge join operations. [#136650][#136650] +- Fixed an issue where license enforcement was not consistently disabled for single-node clusters started with `start-single-node`. Now, cluster restarts correctly disable licensing. [#137009][#137009] +- Fixed a bug that caused queries against tables with user-defined types to sometimes fail with errors after restoring those tables. [#137356][#137356] +- Fixed a bug that could cause an internal error if a table with an implicit (`rowid`) primary key was locked from within a subquery, for example, ` SELECT * FROM (SELECT * FROM foo WHERE x = 2) FOR UPDATE;` . The error could occur either under read-committed isolation, or with `optimizer_use_lock_op_for_serializable` enabled. [#137130][#137130] +- Fixed an issue where adding an existing column with the `IF NOT EXISTS` option could exit too early, skipping necessary handling of the abstract syntax tree (AST). This could lead to failure of the `ALTER` statement. [#137678][#137678] +- `CLOSE CURSOR` statements are now allowed in read-only transactions, similar to PostgreSQL. The bug has been present since at least v23.1. [#137788][#137788] +- Fixed an issue where a schema change could incorrectly cause a changefeed to fail with an assertion error like `received boundary timestamp ... of type ... before reaching existing boundary of type ...`. [#137703][#137703] +- Internal scans are now exempt from the `sql.defaults.disallow_full_table_scans.enabled` setting, allowing index creation even when the cluster setting is enabled. [#137720][#137720] +- A new column of type `JSON` or `JSONB` that has a `UNIQUE` constraint will now be blocked from being added to a table if the cluster has not yet finalized the upgrade to v23.2. [#137864][#137864] + +[#133037]: https://github.com/cockroachdb/cockroach/pull/133037 +[#137837]: https://github.com/cockroachdb/cockroach/pull/137837 +[#135925]: https://github.com/cockroachdb/cockroach/pull/135925 +[#136018]: https://github.com/cockroachdb/cockroach/pull/136018 +[#136043]: https://github.com/cockroachdb/cockroach/pull/136043 +[#136477]: https://github.com/cockroachdb/cockroach/pull/136477 +[#136508]: https://github.com/cockroachdb/cockroach/pull/136508 +[#136618]: https://github.com/cockroachdb/cockroach/pull/136618 +[#136650]: https://github.com/cockroachdb/cockroach/pull/136650 +[#136745]: https://github.com/cockroachdb/cockroach/pull/136745 +[#136832]: https://github.com/cockroachdb/cockroach/pull/136832 +[#136837]: https://github.com/cockroachdb/cockroach/pull/136837 +[#136952]: https://github.com/cockroachdb/cockroach/pull/136952 +[#137009]: https://github.com/cockroachdb/cockroach/pull/137009 +[#137111]: https://github.com/cockroachdb/cockroach/pull/137111 +[#137130]: https://github.com/cockroachdb/cockroach/pull/137130 +[#137356]: https://github.com/cockroachdb/cockroach/pull/137356 +[#137678]: https://github.com/cockroachdb/cockroach/pull/137678 +[#137703]: https://github.com/cockroachdb/cockroach/pull/137703 +[#137720]: https://github.com/cockroachdb/cockroach/pull/137720 +[#137788]: https://github.com/cockroachdb/cockroach/pull/137788 +[#137864]: https://github.com/cockroachdb/cockroach/pull/137864 +[#137922]: https://github.com/cockroachdb/cockroach/pull/137922 +[#138188]: https://github.com/cockroachdb/cockroach/pull/138188