Skip to content

Commit

Permalink
Add release notes for v24.2.0-beta.2 (#18755)
Browse files Browse the repository at this point in the history
* Add release notes for v24.2.0-beta.2

Fixes REL-1136

Co-authored-by: Matt Linville (he/him) <[email protected]>
  • Loading branch information
rmloveland and mdlinville authored Jul 24, 2024
1 parent 201d1fe commit f38f1c7
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 1 deletion.
29 changes: 28 additions & 1 deletion src/current/_data/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
[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
50 changes: 50 additions & 0 deletions src/current/_includes/releases/v24.2/v24.2.0-beta.2.md
Original file line number Diff line number Diff line change
@@ -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 %}

<h3 id="v24-2-0-beta-2-security-updates">Security updates</h3>

- 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 %})

<h3 id="v24-2-0-beta-2-sql-language-changes">SQL language changes</h3>

- 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]

<h3 id="v24-2-0-beta-2-bug-fixes">Bug fixes</h3>

- 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]

<div class="release-note-contributors" markdown="1">

<h3 id="v24-2-0-beta-2-contributors">Contributors</h3>

This release includes 45 merged PRs by 18 authors.

</div>

[#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

0 comments on commit f38f1c7

Please sign in to comment.