2024-07-06 06:59:39 +00:00
|
|
|
* Make `http_cache_forever` use `immutable: true`
|
|
|
|
|
|
|
|
*Nate Matykiewicz*
|
|
|
|
|
2024-06-22 10:33:58 +00:00
|
|
|
* 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.
|
2024-06-22 10:33:58 +00:00
|
|
|
|
|
|
|
Defaults to `false` to maintain compatibility with previous versions of Rails, but is enabled as part of
|
|
|
|
Rails 8.0 defaults.
|
|
|
|
|
|
|
|
*heka1024*
|
|
|
|
|
2024-06-22 23:49:34 +00:00
|
|
|
* 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-28 12:56:16 +00:00
|
|
|
|
2024-05-29 20:49:59 +00:00
|
|
|
*Cyril Blaecke*
|
2015-07-28 03:59:31 +00:00
|
|
|
|
2024-05-13 16:44:50 +00:00
|
|
|
Please check [7-2-stable](https://github.com/rails/rails/blob/7-2-stable/actionpack/CHANGELOG.md) for previous changes.
|