v7.2.0.beta2
版本发布时间: 2024-06-05 02:18:39
rails/rails最新发布版本:v7.2.0.beta3(2024-07-12 00:05:58)
Active Support
-
Define
Digest::UUID.nil_uuid
, which returns the so-called nil UUID.Xavier Noria
Active Model
- No changes.
Active Record
-
The payload of
sql.active_record
Active Support notifications now has the current transaction in the:transaction
key.Xavier Noria
-
The payload of
transaction.active_record
Active Support notifications now has the transaction the event is related to in the:transaction
key.Xavier Noria
-
Define
ActiveRecord::Transaction#uuid
, which returns a UUID for the database transaction. This may be helpful when tracing database activity. These UUIDs are generated only on demand.Xavier Noria
Action View
- No changes.
Action Pack
- Include the HTTP Permissions-Policy on non-HTML Content-Types [CVE-2024-28103]
Active Job
- No changes.
Action Mailer
- No changes.
Action Cable
-
Bring
ActionCable::Connection::TestCookieJar
in alignment withActionDispatch::Cookies::CookieJar
in regards to setting the cookie value.Before:
cookies[:foo] = { value: "bar" } puts cookies[:foo] # => { value: "bar" }
After:
cookies[:foo] = { value: "bar" } puts cookies[:foo] # => "bar"
Justin Ko
Active Storage
- No changes.
Action Mailbox
- No changes.
Action Text
- Sanitize ActionText HTML ContentAttachment in Trix edit view [CVE-2024-32464]
Railties
- No changes.