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:
8.0.0.1
->8.0.1
Release Notes
rails/rails (rails)
v8.0.1
: 8.0.1Compare Source
Active Support
Fix a bug in
ERB::Util.tokenize
that causes incorrect tokenization when ERB tags are preceeded by multibyte characters.Martin Emde
Restore the ability to decorate methods generated by
class_attribute
.It always has been complicated to use Module#prepend or an alias method chain
to decorate methods defined by
class_attribute
, but became even harder in 8.0.This capability is now supported for both reader and writer methods.
Jean Boussier
Active Model
Active Record
Fix removing foreign keys with :restrict action for MySQ
fatkodima
Fix a race condition in
ActiveRecord::Base#method_missing
when lazily defining attributes.If multiple thread were concurrently triggering attribute definition on the same model,
it could result in a
NoMethodError
being raised.Jean Boussier
Fix MySQL default functions getting dropped when changing a column's nullability.
Bastian Bartmann
Fix
add_unique_constraint
/add_check_constraint
/add_foreign_key
to be revertible when given invalid options.fatkodima
Fix asynchronous destroying of polymorphic
belongs_to
associations.fatkodima
Fix
insert_all
to not update existing records.fatkodima
NOT VALID
constraints should not dump increate_table
.Ryuta Kamizono
Fix finding by nil composite primary key association.
fatkodima
Properly reset composite primary key configuration when setting a primary key.
fatkodima
Fix Mysql2Adapter support for prepared statements
Using prepared statements with MySQL could result in a
NoMethodError
exception.Jean Boussier, Leo Arnold, zzak
Fix parsing of SQLite foreign key names when they contain non-ASCII characters
Zacharias Knudsen
Fix parsing of MySQL 8.0.16+ CHECK constraints when they contain new lines.
Steve Hill
Ensure normalized attribute queries use
IS NULL
consistently fornil
and normalizednil
values.Joshua Young
Fix
sum
when performing a grouped calculation.User.group(:friendly).sum
no longer worked. This is fixed.Edouard Chin
Restore back the ability to pass only database name to
DATABASE_URL
.fatkodima
Action View
Fix a crash in ERB template error highlighting when the error occurs on a
line in the compiled template that is past the end of the source template.
Martin Emde
Improve reliability of ERB template error highlighting.
Fix infinite loops and crashes in highlighting and
improve tolerance for alternate ERB handlers.
Martin Emde
Action Pack
Add
ActionDispatch::Request::Session#store
method to conform Rack spec.Yaroslav
Active Job
Avoid crashing in Active Job logger when logging enqueueing errors
ActiveJob.perform_all_later
could fail with aTypeError
when allprovided jobs failed to be enqueueed.
Efstathios Stivaros
Action Mailer
Action Cable
Ensure the Postgresql adapter always use a dedicated connection even during system tests.
Fix an issue with the Action Cable Postgresql adapter causing deadlock or various weird
pg client error during system tests.
Jean Boussier
Active Storage
Action Mailbox
Action Text
Railties
Skip generation system tests related code for CI when
--skip-system-test
is given.fatkodima
Don't add bin/thrust if thruster is not in Gemfile.
Étienne Barrié
Don't install a package for system test when applications don't use it.
y-yagi
Guides
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 was generated by Mend Renovate. View the repository job log.