diff --git a/src/current/_data/releases.yml b/src/current/_data/releases.yml index 86c8ad0dbdb..df541e45d58 100644 --- a/src/current/_data/releases.yml +++ b/src/current/_data/releases.yml @@ -6396,4 +6396,31 @@ 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) \ No newline at end of file + [contact support](https://support.cockroachlabs.com/hc/requests/new) + +- release_name: v24.2.0-beta.2 + major_version: v24.2 + release_date: '2024-07-24' + release_type: Testing + go_version: go1.22.5 + sha: 60d3fb84a73f5e31c99404223f3a0ba91e67f489 + 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: v24.2.0-beta.1 diff --git a/src/current/_includes/releases/v24.2/v24.2.0-beta.2.md b/src/current/_includes/releases/v24.2/v24.2.0-beta.2.md new file mode 100644 index 00000000000..fd65cd76557 --- /dev/null +++ b/src/current/_includes/releases/v24.2/v24.2.0-beta.2.md @@ -0,0 +1,50 @@ +## v24.2.0-beta.2 + +Release Date: July 24, 2024 + +{% include releases/new-release-downloads-docker-image.md release=include.release %} + +

Security updates

+ +- URLs in the following SQL statements are now sanitized of any secrets before being written to [unredacted logs]({% link v24.2/configure-logs.md %}#redact-logs). [#127360][#127360] +- [`ALTER BACKUP SCHEDULE`]({% link v24.2/alter-backup.md %}) +- [`ALTER BACKUP`]({% link v24.2/alter-backup.md %}) +- [`ALTER CHANGEFEED SET sink`]({% link v24.2/alter-changefeed.md %}) +- [`BACKUP`]({% link v24.2/backup.md %}) +- [`COPY`]({% link v24.2/copy-from.md %}) +- [`CREATE CHANGEFEED`]({% link v24.2/create-changefeed.md %}) +- [`CREATE EXTERNAL CONNECTION`]({% link v24.2/create-external-connection.md %}) +- [`CREATE SCHEDULE FOR BACKUP`]({% link v24.2/create-schedule-for-backup.md %}) +- [`CREATE SCHEDULE FOR CHANGEFEED`]({% link v24.2/create-schedule-for-changefeed.md %}) +- [`EXPORT`]({% link v24.2/export.md %}) +- [`IMPORT INTO`]({% link v24.2/import-into.md %}) +- [`RESTORE`]({% link v24.2/restore.md %}) +- [`SHOW BACKUPS`]({% link v24.2/show-backup.md %}) +- [`SHOW BACKUP`]({% link v24.2/show-backup.md %}) + +

SQL language changes

+ +- The new [cluster setting]({% link v24.2/cluster-settings.md %}) [`sql.auth.grant_option_for_owner.enabled`]({% link v24.2/cluster-settings.md %}#setting-sql-auth-grant-option-for-owner-enabled) controls whether the owner of an object has permission to grant permission on the object to other [users]({% link v24.2/security-reference/authorization.md %}#roles). When set to `true` (the default), the [`GRANT OPTION`]({% link v24.2/show-grants.md %}#privilege-grants) is is implicitly granted to the object owner, who can grant permissions on the object to other users, preserving the existing behavior of CockroachDB. When set to `false`, the `GRANT OPTION` is not implicitly given to the owner of an object. The owner's permissions do not change, but they can no longer grant permissions to others unless the `GRANT OPTION` is granted to them explicitly. [#126960][#126960] +- Fixed a bug in which the `DISCARD` statement was disallowed when the [session setting]({% link v24.2/session-variables.md %}#default-transaction-read-only) `default_transaction_read_only = on`. [cockroachdb/cockroach#127364][#127364] + +

Bug fixes

+ +- Fixed a bug that could cause [`CREATE INVERTED INDEX`]({% link v24.2/create-index.md %}#create-gin-indexes) and [`ALTER TABLE ... SET LOCALITY REGIONAL BY ROW`]({% link v24.2/alter-table.md %}#set-the-table-locality-to-regional-by-row) statements to fail if the corresponding table contained columns with non-standard characters in their names, such as tabs or newlines. This bug was introduced along with [inverted indexes]({% link v24.2/inverted-indexes.md %}) in v2.0. [#126996][#126996] +- Fixed a bug introduced in v23.2 that could cause a [gateway node]({% link v24.2/architecture/life-of-a-distributed-transaction.md %}#gateway) to crash while executing an [`INSERT`]({% link v24.2/insert.md %}) statement in a [`REGIONAL BY ROW`]({% link v24.2/alter-table.md %}#set-the-table-locality-to-regional-by-row) table. [#127278][#127278] +- Fixed a bug where a [schema change]({% link v24.2/online-schema-changes.md %}) could hang if the [lease]({% link v24.2/architecture/replication-layer.md %}#leases) [rangefeed]({% link v24.2/create-and-configure-changefeeds.md %}#enable-rangefeeds) stopped receiving updates. [#127488][#127488] + +
+ +

Contributors

+ +This release includes 45 merged PRs by 18 authors. + +
+ +[#126960]: https://github.com/cockroachdb/cockroach/pull/126960 +[#126996]: https://github.com/cockroachdb/cockroach/pull/126996 +[#127278]: https://github.com/cockroachdb/cockroach/pull/127278 +[#127360]: https://github.com/cockroachdb/cockroach/pull/127360 +[#127364]: https://github.com/cockroachdb/cockroach/pull/127364 +[#127392]: https://github.com/cockroachdb/cockroach/pull/127392 +[#127488]: https://github.com/cockroachdb/cockroach/pull/127488