Fix #to_fs(:human_size) to correctly work with negative numbers.
Earlopain
Fix BroadcastLogger#dup so that it duplicates the logger's broadcasts.
Andrew Novoselac
Fix issue where bootstrap.rb overwrites the level of a BroadcastLogger's broadcasts.
Andrew Novoselac
Fix ActiveSupport::Cache to handle outdated Marshal payload from Rails 6.1 format.
Active Support's Cache is supposed to treat a Marshal payload that can no longer be
deserialized as a cache miss. It fail to do so for compressed payload in the Rails 6.1
legacy format.
Jean Boussier
Fix OrderedOptions#dig for array indexes.
fatkodima
Fix time travel helpers to work when nested using with separate classes.
fatkodima
Fix delete_matched for file cache store to work with keys longer than the
max filename size.
fatkodima and Jonathan Hefner
Fix compatibility with the semantic_logger gem.
The semantic_logger gem doesn't behave exactly like stdlib logger in that SemanticLogger#level returns a Symbol while stdlib Logger#level returns an Integer.
This caused the various LogSubscriber classes in Rails to break when assigned a SemanticLogger instance.
Jean Boussier, ojab
Active Model
Make ==(other) method of AttributeSet safe.
Dmitry Pogrebnoy
Active Record
Fix renaming primary key index when renaming a table with a UUID primary key
in PostgreSQL.
fatkodima
Fix where(field: values) queries when field is a serialized attribute
(for example, when field uses ActiveRecord::Base.serialize or is a JSON
column).
João Alves
Prevent marking broken connections as verified.
Daniel Colson
Don't mark Float::INFINITY as changed when reassigning it
When saving a record with a float infinite value, it shouldn't mark as changed
Maicol Bentancor
ActiveRecord::Base.table_name now returns nil instead of raising
"undefined method abstract_class? for Object:Class".
a5-stable
Fix upserting for custom :on_duplicate and :unique_by consisting of all
inserts keys.
fatkodima
Fixed an issue where saving a
record could innappropriately dup its attributes.
Jonathan Hefner
Dump schema only for a specific db for rollback/up/down tasks for multiple dbs.
fatkodima
Fix NoMethodError when casting a PostgreSQL money value that uses a
comma as its radix point and has no leading currency symbol. For example,
when casting "3,50".
Andreas Reischuck and Jonathan Hefner
Re-enable support for using enum with non-column-backed attributes.
Non-column-backed attributes must be previously declared with an explicit
type. For example:
Raise on foreign_key: being passed as an array in associations
Nikita Vasilevsky
Return back maximum allowed PostgreSQL table name to 63 characters.
fatkodima
Fix detecting IDENTITY columns for PostgreSQL < 10.
fatkodima
Action View
Fix the number_to_human_size view helper to correctly work with negative numbers.
Earlopain
Automatically discard the implicit locals injected by collection rendering for template that can't accept them
When rendering a collection, two implicit variables are injected, which breaks templates with strict locals.
Now they are only passed if the template will actually accept them.
Yasha Krasnou, Jean Boussier
Fix @rails/ujs calling start() an extra time when using bundlers
Hartley McGuire, Ryunosuke Sato
Fix the capture view helper compatibility with HAML and Slim
When a blank string was captured in HAML or Slim (and possibly other template engines)
it would instead return the entire buffer.
Jean Boussier
Action Pack
Fix a race condition that could cause a Text file busy - chromedriver
error with parallel system tests
Matt Brictson
Fix StrongParameters#extract_value to include blank values
Otherwise composite parameters may not be parsed correctly when one of the
component is blank.
fatkodima, Yasha Krasnou, Matthias Eiglsperger
Add racc as a dependency since it will become a bundled gem in Ruby 3.4.0
Hartley McGuire
Support handling Enumerator for non-buffered responses.
Zachary Scott
Active Job
No changes.
Action Mailer
No changes.
Action Cable
No changes.
Active Storage
No changes.
Action Mailbox
No changes.
Action Text
Compile ESM package that can be used directly in the browser as actiontext.esm.js
Matias Grunberg
Fix using actiontext.js with Sprockets
Matias Grunberg
Upgrade Trix to 2.0.7
Hartley McGuire
Fix using Trix with Sprockets
Hartley McGuire
Railties
Fix running db:system:change when app has no Dockerfile.
Hartley McGuire
If you accessed config.eager_load_paths and friends, later changes to config.paths were not reflected in the expected auto/eager load paths.
Now, they are.
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
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu cancel merge
Cancels automatic merging of this PR
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rails (~> 7.0.0 → ~> 7.1.2) · Repo
Release Notes
7.1.2
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 34 commits:
Preparing for 7.1.2 release
Sync CHANGELOG
Add CHANGELOG entry for 3e8f1e0aeb81bacddf5a4d29ee3019ad8cc4681a [ci-skip]
Merge pull request #49998 from fatkodima/fix-pg-rename_table-with-uuid-pk
Merge pull request #49692 from mguan2020/branchi
Merge pull request #49050 from JohnAnon9771/fix/issue-48535
Merge pull request #49811 from composerinteralia/verify-only-when-connection-exercised
Merge pull request #49802 from composerinteralia/postgres-unrecoverable-connection-error
Merge pull request #49936 from seanpdoyle/ar-nested-attributes-default
Merge pull request #49904 from MaicolBen/bug/infinite-changed
Merge pull request #49911 from a5-stable/active_record_base_table_name
Merge pull request #49888 from p8/guides/ar-callbacks-ordering (#49914)
Autolink AR::ConnectionAdapters::NullColumn [ci-skip]
Merge pull request #49876 from jonathanhefner/active_record-normalizes-marshalling_format_version-caveat
Merge pull request #49870 from fatkodima/fix-upsert-custom_on_duplicate-and-unique_by
Merge pull request #49878 from skipkayhil/hm-doc-ar-core-logger
Merge pull request #49772 from fatkodima/reload-type_map-for-enums
Merge pull request #49832 from jonathanhefner/active_model-forgetting_assignment-no-dup
Merge pull request #49807 from fatkodima/fix-promise-example
Format options doc as a description list [ci-skip]
Use h4 headings in AR::Associations method docs [ci-skip]
Merge pull request #49794 from fatkodima/enable-interpolation_check-cop
Merge pull request #49793 from fatkodima/multiple-databases-rake-dump-specific
Merge pull request #49779 from arBmind/patch-1
Merge pull request #49769 from jonathanhefner/active_record-enum-non-column-backed
Add CHANGELOG for 48972
Use RDoc block quote syntax [ci-skip]
Merge pull request #49701 from eileencodes/use-custom-class-for-pending-migrations-connection
Merge pull request #49625 from Shopify/disallow-association-fk-as-an-array
Make NullInternalMetadata private
Mark NullSchemaMigration as :nodoc:
Merge pull request #49592 from fatkodima/pg-table-name-length-back-to-63
Merge pull request #49605 from Earlopain/unlogged-table-docs
Merge pull request #49598 from fatkodima/fix-identity-columns-pg-9
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