Skip to content

Commit bc16ce8

Browse files
committed
Backfill missing changelog entries
[Vipul A M & Matthew Draper]
1 parent c7a716a commit bc16ce8

File tree

7 files changed

+141
-2
lines changed

7 files changed

+141
-2
lines changed

actioncable/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@
55

66
*Dávid Halász*, *Matthew Draper*
77

8+
* Fixed and added a workaround to avoid race condition, when one
9+
thread closed the IO, when an another thread was still trying read
10+
from IO on a connection.
11+
12+
*Matthew Draper*
13+
14+
* Shutdown pubsub connection before classes are reloaded, to avoid
15+
hangups caused by pubsub still holding reference to Active Record
16+
connection from the pool, and Active Record trying to cleanup the pool.
17+
18+
*Jon Moss*
19+
820
* Prevent race where the client could receive and act upon a
921
subscription confirmation before the channel's `subscribed` method
1022
completed.
@@ -18,6 +30,13 @@
1830

1931
*Matthew Draper*, *Tinco Andringa*
2032

33+
* Invocation of channel action is now prevented, if subscription
34+
connection was rejected.
35+
36+
Fixes #23757.
37+
38+
*Jon Moss*
39+
2140
* Protect against concurrent writes to a websocket connection from
2241
multiple threads; the underlying OS write is not always threadsafe.
2342

actionpack/CHANGELOG.md

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
* Fixed error caused by `force_ssl_redirect` when `session_store` is
2+
enabled.
3+
4+
Fixes #19679
5+
6+
*Taishi Kasuga*
7+
18
* Use accept header in integration tests with `as: :json`
29

310
Instead of appending the `format` to the request path. Rails will figure
@@ -9,6 +16,17 @@
916

1017
*Kasper Timm Hansen*
1118

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+
1230
* Fixes incorrect output from rails routes when using singular resources.
1331

1432
Fixes #26606.
@@ -27,6 +45,13 @@
2745

2846
*Yuji Yaginuma*
2947

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+
3055
* Make `fixture_file_upload` work in integration tests.
3156

3257
*Yuji Yaginuma*
@@ -73,7 +98,7 @@
7398
redirects to
7499
POST https://example.com/articles (i.e. ArticlesContoller#create)
75100

76-
*Chirag Singhal*
101+
*Chirag Singhal*
77102

78103
* Add `:as` option to `ActionController:TestCase#process` and related methods.
79104

@@ -82,6 +107,10 @@
82107

83108
*Everest Stefan Munro-Zeisberger*
84109

110+
* Prevent autoload from deadlocking while ActionController::Live is streaming.
111+
112+
*Alex Chinn*
113+
85114
* Don't override the `Accept` header in integration tests when called with `xhr: true`.
86115

87116
Fixes #25859.
@@ -121,6 +150,46 @@
121150

122151
*Grey Baker*
123152

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+
124193

125194
## Rails 5.0.0 (June 30, 2016) ##
126195

actionview/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,24 @@
2020
2121
*Peter Schilling*, *Matthew Draper*
2222
23+
* Changed partial rendering with a collection to allow collections which
24+
implement `to_a`.
25+
26+
Extracting the collection option had an optimization to avoid unnecessary
27+
queries of ActiveRecord Relations by calling `#to_ary` on the given
28+
collection. Instances of `Enumerator` or `Enumerable` are valid
29+
collections, but they do not implement `#to_ary`. By changing this to
30+
`#to_a`, they will now be extracted and rendered as expected.
31+
32+
*Steven Harman*
33+
34+
* Fix `ActionView::Helpers#current_page?` to work properly even with
35+
a trailing slash.
36+
37+
Fixes #19472.
38+
39+
*Stan Lo*
40+
2341
2442
## Rails 5.0.0 (June 30, 2016) ##
2543

activemodel/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
* Fix `Type::Date#serialize` to cast a value to a date object properly.
2+
This casting fixes queries for finding records by date column.
3+
4+
Fixes #25354.
5+
6+
*Ryuta Kamizono*
7+
8+
19
## Rails 5.0.0 (June 30, 2016) ##
210

311
* `Dirty`'s `*_changed?` methods now return an actual singleton, never `nil`, as in 4.2.

activerecord/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@
4343

4444
*Jon Moss*
4545

46+
* Configure query caching (per thread) on the connection pool.
47+
48+
Moving the configuration to the pool means we don't allocate a connection
49+
until it's actually needed.
50+
51+
Applications that manually interact with the connection pool and/or query
52+
cache may notice that the connection's cache is now cleared and disabled
53+
when it gets returned to the pool, even if the request is not yet completed.
54+
55+
*Samuel Cochran*, *Matthew Draper*
56+
4657
* Fixed support for case insensitive comparisons of `text` columns in
4758
PostgreSQL.
4859

@@ -164,6 +175,13 @@
164175

165176
*Matthew Draper*
166177

178+
* Fixed dumping of foreign key's referential actions when MySQL connection
179+
uses `sql_mode = ANSI_QUOTES`.
180+
181+
Fixes #25300.
182+
183+
*Ryuta Kamizono*
184+
167185

168186
## Rails 5.0.0 (June 30, 2016) ##
169187

activesupport/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424

2525
*Josua Schmid*
2626

27+
* Avoid bumping the class serial when invoking executor.
28+
29+
*Matthew Draper*
30+
2731
* Fix `ActiveSupport::TimeWithZone#in` across DST boundaries.
2832

2933
Previously calls to `in` were being sent to the non-DST aware

railties/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
*Yuji Yaginuma*
2121

22-
2322
* Do not run `bundle install` when generating a new plugin.
2423

2524
Since bundler 1.12.0, the gemspec is validated so the `bundle install`
@@ -28,6 +27,10 @@
2827

2928
*Rafael Mendonça França*
3029

30+
* Ensure `/rails/info` routes match in development for apps with a catch-all globbing route.
31+
32+
*Nicholas Firth-McCoy*
33+
3134

3235
## Rails 5.0.0 (June 30, 2016) ##
3336

0 commit comments

Comments
 (0)