rails/actionpack/CHANGELOG.md

41 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

* 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,
2024-07-05 09:52:59 +00:00
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*
2024-05-29 20:55:27 +00:00
* 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*
2024-05-29 20:49:59 +00:00
* Add `display_capture` and `keyboard_map` in `permissions_policy`
2024-05-29 20:49:59 +00:00
*Cyril Blaecke*
Please check [7-2-stable](https://github.com/rails/rails/blob/7-2-stable/actionpack/CHANGELOG.md) for previous changes.