rails--rails/actionpack/CHANGELOG.md

41 lines
1.3 KiB
Markdown
Raw Normal View History

* Make `redirect_to` return an empty response body.
Application controllers that wish to add a response body after calling
`redirect_to` can continue to do so.
*Jon Dufresne*
* Use non-capturing group for subdomain matching in `ActionDispatch::HostAuthorization`
Since we do nothing with the captured subdomain group, we can use a non-capturing group instead.
*Sam Bostock*
2022-02-22 17:53:52 +00:00
* Fix `ActionController::Live` to copy the IsolatedExecutionState in the ephemeral thread.
2022-02-22 17:53:52 +00:00
Since its inception `ActionController::Live` has been copying thread local variables
to keep things such as `CurrentAttributes` set from middlewares working in the controller action.
With the introduction of `IsolatedExecutionState` in 7.0, some of that global state was lost in
2022-02-22 17:53:52 +00:00
`ActionController::Live` controllers.
*Jean Boussier*
* Fix setting `trailing_slash: true` in route definition.
```ruby
get '/test' => "test#index", as: :test, trailing_slash: true
test_path() # => "/test/"
```
*Jean Boussier*
2022-01-26 14:47:35 +00:00
* Make `Session#merge!` stringify keys.
2022-01-26 14:47:35 +00:00
Previously `Session#update` would, but `merge!` wouldn't.
*Drew Bragg*
2021-12-07 15:52:30 +00:00
Please check [7-0-stable](https://github.com/rails/rails/blob/7-0-stable/actionpack/CHANGELOG.md) for previous changes.