chore(deps): update dependency activesupport to v7.0.7 #2029
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.
This PR contains the following updates:
7.0.6
->7.0.7
Release Notes
rails/rails (activesupport)
v7.0.7
: 7.0.7Compare Source
Active Support
Fix
Cache::NullStore
with local caching for repeated reads.fatkodima
Fix
to_s
with no arguments not respecting custom:default
formatsHartley McGuire
Fix
ActiveSupport::Inflector.humanize(nil)
raisingNoMethodError: undefined method `end_with?' for nil:NilClass
.James Robinson
Fix
Enumerable#sum
forEnumerator#lazy
.fatkodima, Matthew Draper, Jonathan Hefner
Improve error message when EventedFileUpdateChecker is used without a
compatible version of the Listen gem
Hartley McGuire
Active Model
Error.full_message now strips ":base" from the message.
zzak
Add a load hook for
ActiveModel::Model
(namedactive_model
) to match the load hook forActiveRecord::Base
and allow for overriding aspects of theActiveModel::Model
class.Active Record
Restores functionality to the missing method when using enums and fixes.
paulreece
Fix
StatementCache::Substitute
with serialized type.ywenc
Fix
:db_runtime
on notification payload when application have multiple databases.Eileen M. Uchitelle
Correctly dump check constraints for MySQL 8.0.16+.
Steve Hill
Fix
ActiveRecord::QueryMethods#in_order_of
to includenil
s, to match thebehavior of
Enumerable#in_order_of
.For example,
Post.in_order_of(:title, [nil, "foo"])
will now include postswith
nil
titles, the same asPost.all.to_a.in_order_of(:title, [nil, "foo"])
.fatkodima
Revert "Fix autosave associations with validations added on
:base
of the associated objects."This change intended to remove the :base attribute from the message,
but broke many assumptions which key these errors were stored.
zzak
Fix
#previously_new_record?
to return true for destroyed records.Before, if a record was created and then destroyed,
#previously_new_record?
would return true.Now, any UPDATE or DELETE to a record is considered a change, and will result in
#previously_new_record?
returning false.
Adrianna Chang
Revert breaking changes to
has_one
relationship deleting the old record before the new one is validated.zzak
Fix support for Active Record instances being uses in queries.
As of
7.0.5
, query arguments were deep duped to avoid mutations impactingthe query cache, but this had the adverse effect to clearing the primary key when
the query argument contained an
ActiveRecord::Base
instance.This broke the
noticed
gem.Jean Boussier
Action View
Fix
render collection: @​records, cache: true
to cache fragments as bare stringsPreviously it would incorrectly cache them as Action View buffers.
Jean Boussier
Don't double-encode nested
field_id
andfield_name
index valuesPass
index: @​options
as a default keyword argument tofield_id
andfield_name
view helper methods.Sean Doyle
Action Pack
Active Job
Action Mailer
Action Cable
Active Storage
Action Mailbox
Action Text
Railties
Update default scaffold templates to set 303 (See Other) as status code
on redirect for the update action for XHR requests other than GET or POST
to avoid issues (e.g browsers trying to follow the redirect using the
original request method resulting in double PATCH/PUT)
Guillermo Iguaran
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.