rails/actionpack/CHANGELOG.md
2024-07-06 01:59:39 -05:00

41 lines
1.0 KiB
Markdown

* Make `http_cache_forever` use `immutable: true`
*Nate Matykiewicz*
* Add `config.action_dispatch.strict_freshness`.
When set to `true`, the `ETag` header takes precedence over the `Last-Modified` header when both are present,
as specified by RFC 7232, Section 6.
Defaults to `false` to maintain compatibility with previous versions of Rails, but is enabled as part of
Rails 8.0 defaults.
*heka1024*
* Support `immutable` directive in Cache-Control
```ruby
expires_in 1.minute, public: true, immutable: true
# Cache-Control: public, max-age=60, immutable
```
*heka1024*
* Add `:wasm_unsafe_eval` mapping for `content_security_policy`
```ruby
# Before
policy.script_src "'wasm-unsafe-eval'"
# After
policy.script_src :wasm_unsafe_eval
```
*Joe Haig*
* Add `display_capture` and `keyboard_map` in `permissions_policy`
*Cyril Blaecke*
Please check [7-2-stable](https://github.com/rails/rails/blob/7-2-stable/actionpack/CHANGELOG.md) for previous changes.