|
| 1 | +* Fixed error caused by `force_ssl_redirect` when `session_store` is |
| 2 | + enabled. |
| 3 | + |
| 4 | + Fixes #19679 |
| 5 | + |
| 6 | + *Taishi Kasuga* |
| 7 | + |
1 | 8 | * Use accept header in integration tests with `as: :json` |
2 | 9 |
|
3 | 10 | Instead of appending the `format` to the request path. Rails will figure |
|
9 | 16 |
|
10 | 17 | *Kasper Timm Hansen* |
11 | 18 |
|
| 19 | +* Fixed integration test requests appending and changing request paths. |
| 20 | + |
| 21 | + #Before |
| 22 | + post "/anything", params: params, headers: headers, as: :json |
| 23 | + |
| 24 | + "/anything" would be converted to "/anything.json" based on format. |
| 25 | + The path is now maintained and the format is respected based on `:as` |
| 26 | + option. |
| 27 | + |
| 28 | + Fixes #27144. |
| 29 | + |
12 | 30 | * Fixes incorrect output from rails routes when using singular resources. |
13 | 31 |
|
14 | 32 | Fixes #26606. |
|
27 | 45 |
|
28 | 46 | *Yuji Yaginuma* |
29 | 47 |
|
| 48 | +* Added `ActionController::Parameters#deep_dup` which actually creates |
| 49 | + a params copy, instead of refereing to old references in params. |
| 50 | + |
| 51 | + Fixes #26566. |
| 52 | + |
| 53 | + *Pavel Evstigneev*, *Rafael Mendonça França* |
| 54 | + |
30 | 55 | * Make `fixture_file_upload` work in integration tests. |
31 | 56 |
|
32 | 57 | *Yuji Yaginuma* |
|
73 | 98 | redirects to |
74 | 99 | POST https://example.com/articles (i.e. ArticlesContoller#create) |
75 | 100 |
|
76 | | - *Chirag Singhal* |
| 101 | + *Chirag Singhal* |
77 | 102 |
|
78 | 103 | * Add `:as` option to `ActionController:TestCase#process` and related methods. |
79 | 104 |
|
|
82 | 107 |
|
83 | 108 | *Everest Stefan Munro-Zeisberger* |
84 | 109 |
|
| 110 | +* Prevent autoload from deadlocking while ActionController::Live is streaming. |
| 111 | + |
| 112 | + *Alex Chinn* |
| 113 | + |
85 | 114 | * Don't override the `Accept` header in integration tests when called with `xhr: true`. |
86 | 115 |
|
87 | 116 | Fixes #25859. |
|
121 | 150 |
|
122 | 151 | *Grey Baker* |
123 | 152 |
|
| 153 | +* Deprecated omitting the route path. |
| 154 | + Specify the path with a String or a Symbol instead. |
| 155 | + |
| 156 | + # Before |
| 157 | + get action: :show, as: :show |
| 158 | + # After |
| 159 | + get "", action: :show, as: :show |
| 160 | + |
| 161 | + *Volmer* |
| 162 | + |
| 163 | +* Added new `ActionDispatch::DebugLocks` middleware that can be used |
| 164 | + to diagnose deadlocks in the autoload interlock. |
| 165 | + To use it, insert it near the top of the middleware stack, using |
| 166 | + `config/application.rb`: |
| 167 | + |
| 168 | + config.middleware.insert_before Rack::Sendfile, ActionDispatch::DebugLocks |
| 169 | + |
| 170 | + After adding, visiting `/rails/locks` will show a summary of all |
| 171 | + threads currently known to the interlock. |
| 172 | + |
| 173 | + *Matthew Draper* |
| 174 | + |
| 175 | +* Fix request encoding in Integration tests when string literals are |
| 176 | + frozen using `--enable-frozen-string-literal` or `# frozen_string_literal: true`. |
| 177 | + |
| 178 | + *Volmer* |
| 179 | + |
| 180 | +* Since long keys are truncated when passed to ciphers, Ruby 2.4 |
| 181 | + doesn't accept keys greater than their max length. |
| 182 | + Fixed default key length on cipher for `ActiveSupport::MessageEncryptor`, |
| 183 | + which was causing errors on Ruby 2.4. |
| 184 | + |
| 185 | + *Vipul A M* |
| 186 | + |
| 187 | +* Fixed adding implicitly rendered template digests to ETags. |
| 188 | + Properly ignore implicit template cache option to ETag, if `template: false` |
| 189 | + is passed when rendering. |
| 190 | + |
| 191 | + *Javan Makhmali* |
| 192 | + |
124 | 193 |
|
125 | 194 | ## Rails 5.0.0 (June 30, 2016) ## |
126 | 195 |
|
|
0 commit comments