Update rails: 5.2.1.1 → 5.2.2 (minor) #15
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
You don't seem to have any Continuous Integration service set up!
Without a service that will test the Depfu branches and pull requests, we can't inform you if incoming updates actually work with your app. We think that this degrades the service we're trying to provide down to a point where it is more or less meaningless.
This is fine if you just want to give Depfu a quick try. If you want to really let Depfu help you keep your app up-to-date, we recommend setting up a CI system:
depfu/
.It might be necessary to once deactivate and reactivate your project in Depfu for the CI service to be properly detected.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rails (5.2.1.1 → 5.2.2) · Repo
Release Notes
5.2.2
Active Support
Fix bug where
#to_options
forActiveSupport::HashWithIndifferentAccess
would not act as alias for
#symbolize_keys
.Nick Weiland
Improve the logic that detects non-autoloaded constants.
Jan Habermann, Xavier Noria
Fix bug where
URI.unescape
would fail with mixed Unicode/escaped character input:Ashe Connor, Aaron Patterson
Active Model
Fix numericality validator to still use value before type cast except Active Record.
Fixes #33651, #33686.
Ryuta Kamizono
Active Record
Do not ignore the scoping with query methods in the scope block.
Ryuta Kamizono
Allow aliased attributes to be used in
#update_columns
and#update
.Gannon McGibbon
Allow spaces in postgres table names.
Fixes issue where "user post" is misinterpreted as ""user"."post"" when quoting table names with the postgres
adapter.
Gannon McGibbon
Cached columns_hash fields should be excluded from ResultSet#column_types
PR #34528 addresses the inconsistent behaviour when attribute is defined for an ignored column. The following test
was passing for SQLite and MySQL, but failed for PostgreSQL:
Dmitry Tsepelev
Values of enum are frozen, raising an error when attempting to modify them.
Emmanuel Byrd
update_columns
now correctly raisesActiveModel::MissingAttributeError
if the attribute does not exist.
Sean Griffin
Do not use prepared statement in queries that have a large number of binds.
Ryuta Kamizono
Fix query cache to load before first request.
Eileen M. Uchitelle
Fix collection cache key with limit and custom select to avoid ambiguous timestamp column error.
Fixes #33056.
Federico Martinez
Fix duplicated record creation when using nested attributes with
create_with
.Darwin Wu
Fix regression setting children record in parent
before_save
callback.Guo Xiang Tan
Prevent leaking of user's DB credentials on
rails db:create
failure.bogdanvlviv
Clear mutation tracker before continuing the around callbacks.
Yuya Tanaka
Prevent deadlocks when waiting for connection from pool.
Brent Wheeldon
Avoid extra scoping when using
Relation#update
that was causing this method to change the current scope.Ryuta Kamizono
Fix numericality validator not to be affected by custom getter.
Ryuta Kamizono
Fix bulk change table ignores comment option on PostgreSQL.
Yoshiyuki Kinjo
Action View
Action Pack
Reset Capybara sessions if failed system test screenshot raising an exception.
Reset Capybara sessions if
take_failed_screenshot
raise exceptionin system test
after_teardown
.Maxim Perepelitsa
Use request object for context if there's no controller
There is no controller instance when using a redirect route or a
mounted rack application so pass the request object as the context
when resolving dynamic CSP sources in this scenario.
Fixes #34200.
Andrew White
Apply mapping to symbols returned from dynamic CSP sources
Previously if a dynamic source returned a symbol such as :self it
would be converted to a string implicity, e.g:
would generate the header:
and now it generates:
Andrew White
Fix
rails routes -c
for controller name consists of multiple word.Yoshiyuki Kinjo
Call the
#redirect_to
block in controller context.Steven Peckins
Active Job
Make sure
assert_enqueued_with()
&assert_performed_with()
work reliably with hash arguments.Sharang Dashputre
Restore
ActionController::Parameters
support toActiveJob::Arguments.serialize
.Bernie Chiu
Restore
HashWithIndifferentAccess
support toActiveJob::Arguments.deserialize
.Gannon McGibbon
Include deserialized arguments in job instances returned from
assert_enqueued_with
andassert_performed_with
Alan Wu
Increment execution count before deserialize arguments.
Currently, the execution count increments after deserializes arguments.
Therefore, if an error occurs with deserialize, it retries indefinitely.
Yuji Yaginuma
Action Mailer
Action Cable
Active Storage
Support multiple submit buttons in Active Storage forms.
Chrıs Seelus
Fix
ArgumentError
when uploading to amazon s3Hiroki Sanpei
Add a foreign-key constraint to the
active_storage_attachments
table for blobs.George Claghorn
Discard
ActiveStorage::PurgeJobs
for missing blobs.George Claghorn
Fix uploading Tempfiles to Azure Storage.
George Claghorn
Railties
Disable content security policy for mailer previews.
Dylan Reile
Log the remote IP address of clients behind a proxy.
Atul Bhosale
Commits
See the full diff on Github. The new version differs by 13 commits:
Preparing for 5.2.2 release
Improve the task to generate the release summary
Merge pull request #34572 from kamipo/fix_scoping_with_query_method
Merge pull request #34569 from gmcgibbon/allow_attribute_aliases_in_update
Preparing for 5.2.2.rc1 release
Merge pull request #34561 from gmcgibbon/allow_spaces_in_table_names
Add autoload hook for AbstractController::ActionNotFound
Merge pull request #34557 from sergioisidoro/sergio-patch-load-error
Merge pull request #34550 from mogulla3/fix-argument-error-when-uploding-to-s3
Remove duplicated test
text is treated as `attachment`
Merge branch '5-2-sec' into 5-2-stable
Merge pull request #34528 from DmitryTsepelev/fix-ignored-attributes
Commits
See the full diff on Github. The new version differs by 13 commits:
Preparing for 5.2.2 release
Improve the task to generate the release summary
Merge pull request #34572 from kamipo/fix_scoping_with_query_method
Merge pull request #34569 from gmcgibbon/allow_attribute_aliases_in_update
Preparing for 5.2.2.rc1 release
Merge pull request #34561 from gmcgibbon/allow_spaces_in_table_names
Add autoload hook for AbstractController::ActionNotFound
Merge pull request #34557 from sergioisidoro/sergio-patch-load-error
Merge pull request #34550 from mogulla3/fix-argument-error-when-uploding-to-s3
Remove duplicated test
text is treated as `attachment`
Merge branch '5-2-sec' into 5-2-stable
Merge pull request #34528 from DmitryTsepelev/fix-ignored-attributes
Commits
See the full diff on Github. The new version differs by 13 commits:
Preparing for 5.2.2 release
Improve the task to generate the release summary
Merge pull request #34572 from kamipo/fix_scoping_with_query_method
Merge pull request #34569 from gmcgibbon/allow_attribute_aliases_in_update
Preparing for 5.2.2.rc1 release
Merge pull request #34561 from gmcgibbon/allow_spaces_in_table_names
Add autoload hook for AbstractController::ActionNotFound
Merge pull request #34557 from sergioisidoro/sergio-patch-load-error
Merge pull request #34550 from mogulla3/fix-argument-error-when-uploding-to-s3
Remove duplicated test
text is treated as `attachment`
Merge branch '5-2-sec' into 5-2-stable
Merge pull request #34528 from DmitryTsepelev/fix-ignored-attributes
Commits
See the full diff on Github. The new version differs by 13 commits:
Preparing for 5.2.2 release
Improve the task to generate the release summary
Merge pull request #34572 from kamipo/fix_scoping_with_query_method
Merge pull request #34569 from gmcgibbon/allow_attribute_aliases_in_update
Preparing for 5.2.2.rc1 release
Merge pull request #34561 from gmcgibbon/allow_spaces_in_table_names
Add autoload hook for AbstractController::ActionNotFound
Merge pull request #34557 from sergioisidoro/sergio-patch-load-error
Merge pull request #34550 from mogulla3/fix-argument-error-when-uploding-to-s3
Remove duplicated test
text is treated as `attachment`
Merge branch '5-2-sec' into 5-2-stable
Merge pull request #34528 from DmitryTsepelev/fix-ignored-attributes
Commits
See the full diff on Github. The new version differs by 13 commits:
Preparing for 5.2.2 release
Improve the task to generate the release summary
Merge pull request #34572 from kamipo/fix_scoping_with_query_method
Merge pull request #34569 from gmcgibbon/allow_attribute_aliases_in_update
Preparing for 5.2.2.rc1 release
Merge pull request #34561 from gmcgibbon/allow_spaces_in_table_names
Add autoload hook for AbstractController::ActionNotFound
Merge pull request #34557 from sergioisidoro/sergio-patch-load-error
Merge pull request #34550 from mogulla3/fix-argument-error-when-uploding-to-s3
Remove duplicated test
text is treated as `attachment`
Merge branch '5-2-sec' into 5-2-stable
Merge pull request #34528 from DmitryTsepelev/fix-ignored-attributes
Commits
See the full diff on Github. The new version differs by 13 commits:
Preparing for 5.2.2 release
Improve the task to generate the release summary
Merge pull request #34572 from kamipo/fix_scoping_with_query_method
Merge pull request #34569 from gmcgibbon/allow_attribute_aliases_in_update
Preparing for 5.2.2.rc1 release
Merge pull request #34561 from gmcgibbon/allow_spaces_in_table_names
Add autoload hook for AbstractController::ActionNotFound
Merge pull request #34557 from sergioisidoro/sergio-patch-load-error
Merge pull request #34550 from mogulla3/fix-argument-error-when-uploding-to-s3
Remove duplicated test
text is treated as `attachment`
Merge branch '5-2-sec' into 5-2-stable
Merge pull request #34528 from DmitryTsepelev/fix-ignored-attributes
Commits
See the full diff on Github. The new version differs by 13 commits:
Preparing for 5.2.2 release
Improve the task to generate the release summary
Merge pull request #34572 from kamipo/fix_scoping_with_query_method
Merge pull request #34569 from gmcgibbon/allow_attribute_aliases_in_update
Preparing for 5.2.2.rc1 release
Merge pull request #34561 from gmcgibbon/allow_spaces_in_table_names
Add autoload hook for AbstractController::ActionNotFound
Merge pull request #34557 from sergioisidoro/sergio-patch-load-error
Merge pull request #34550 from mogulla3/fix-argument-error-when-uploding-to-s3
Remove duplicated test
text is treated as `attachment`
Merge branch '5-2-sec' into 5-2-stable
Merge pull request #34528 from DmitryTsepelev/fix-ignored-attributes
Commits
See the full diff on Github. The new version differs by 13 commits:
Preparing for 5.2.2 release
Improve the task to generate the release summary
Merge pull request #34572 from kamipo/fix_scoping_with_query_method
Merge pull request #34569 from gmcgibbon/allow_attribute_aliases_in_update
Preparing for 5.2.2.rc1 release
Merge pull request #34561 from gmcgibbon/allow_spaces_in_table_names
Add autoload hook for AbstractController::ActionNotFound
Merge pull request #34557 from sergioisidoro/sergio-patch-load-error
Merge pull request #34550 from mogulla3/fix-argument-error-when-uploding-to-s3
Remove duplicated test
text is treated as `attachment`
Merge branch '5-2-sec' into 5-2-stable
Merge pull request #34528 from DmitryTsepelev/fix-ignored-attributes
Sorry, we couldn't find anything useful about this release.
Commits
See the full diff on Github. The new version differs by 13 commits:
Preparing for 5.2.2 release
Improve the task to generate the release summary
Merge pull request #34572 from kamipo/fix_scoping_with_query_method
Merge pull request #34569 from gmcgibbon/allow_attribute_aliases_in_update
Preparing for 5.2.2.rc1 release
Merge pull request #34561 from gmcgibbon/allow_spaces_in_table_names
Add autoload hook for AbstractController::ActionNotFound
Merge pull request #34557 from sergioisidoro/sergio-patch-load-error
Merge pull request #34550 from mogulla3/fix-argument-error-when-uploding-to-s3
Remove duplicated test
text is treated as `attachment`
Merge branch '5-2-sec' into 5-2-stable
Merge pull request #34528 from DmitryTsepelev/fix-ignored-attributes
Commits
See the full diff on Github. The new version differs by 13 commits:
Preparing for 5.2.2 release
Improve the task to generate the release summary
Merge pull request #34572 from kamipo/fix_scoping_with_query_method
Merge pull request #34569 from gmcgibbon/allow_attribute_aliases_in_update
Preparing for 5.2.2.rc1 release
Merge pull request #34561 from gmcgibbon/allow_spaces_in_table_names
Add autoload hook for AbstractController::ActionNotFound
Merge pull request #34557 from sergioisidoro/sergio-patch-load-error
Merge pull request #34550 from mogulla3/fix-argument-error-when-uploding-to-s3
Remove duplicated test
text is treated as `attachment`
Merge branch '5-2-sec' into 5-2-stable
Merge pull request #34528 from DmitryTsepelev/fix-ignored-attributes
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands