Handle nil backtrace_locations in ActiveSupport::SyntaxErrorProxy.
Eugene Kenny
Fix ActiveSupport::JSON.encode to prevent duplicate keys.
If the same key exist in both String and Symbol form it could
lead to the same key being emitted twice.
Manish Sharma
Fix ActiveSupport::Cache::Store#read_multi when using a cache namespace
and local cache strategy.
Mark Oleson
Fix Time.now/DateTime.now/Date.today to return results in a system timezone after #travel_to.
There is a bug in the current implementation of #travel_to:
it remembers a timezone of its argument, and all stubbed methods start
returning results in that remembered timezone. However, the expected
behaviour is to return results in a system timezone.
Aleksei Chernenkov
Fix :unless_exist option for MemoryStore#write (et al) when using a
cache namespace.
S. Brent Faulkner
Fix ActiveSupport::Deprecation to handle blaming generated code.
Jean Boussier, fatkodima
Active Model
No changes.
Active Record
Fix Migrations with versions older than 7.1 validating options given to
add_reference.
Fix Migrations with versions older than 7.1 validating options given to
add_reference.
Hartley McGuire
Ensure reload sets correct owner for each association.
Dmytro Savochkin
Fix view runtime for controllers with async queries.
fatkodima
Fix load_async to work with query cache.
fatkodima
Fix polymorphic belongs_to to correctly use parent's query_constraints.
fatkodima
Fix Preloader to not generate a query for already loaded association with query_constraints.
fatkodima
Fix multi-database polymorphic preloading with equivalent table names.
When preloading polymorphic associations, if two models pointed to two
tables with the same name but located in different databases, the
preloader would only load one.
Ari Summer
Fix encrypted_attribute? to take into account context properties passed to encrypts.
Maxime Réty
Fix find_by to work correctly in presence of composite primary keys.
fatkodima
Fix async queries sometimes returning a raw result if they hit the query cache.
ShipPart.async_count could return a raw integer rather than a Promise
if it found the result in the query cache.
Handle nil backtrace_locations in ActiveSupport::SyntaxErrorProxy.
Eugene Kenny
Fix ActiveSupport::JSON.encode to prevent duplicate keys.
If the same key exist in both String and Symbol form it could
lead to the same key being emitted twice.
Manish Sharma
Fix ActiveSupport::Cache::Store#read_multi when using a cache namespace
and local cache strategy.
Mark Oleson
Fix Time.now/DateTime.now/Date.today to return results in a system timezone after #travel_to.
There is a bug in the current implementation of #travel_to:
it remembers a timezone of its argument, and all stubbed methods start
returning results in that remembered timezone. However, the expected
behaviour is to return results in a system timezone.
Aleksei Chernenkov
Fix :unless_exist option for MemoryStore#write (et al) when using a
cache namespace.
S. Brent Faulkner
Fix ActiveSupport::Deprecation to handle blaming generated code.
Jean Boussier, fatkodima
Active Model
No changes.
Active Record
Fix Migrations with versions older than 7.1 validating options given to
add_reference.
Handle nil backtrace_locations in ActiveSupport::SyntaxErrorProxy.
Eugene Kenny
Fix ActiveSupport::JSON.encode to prevent duplicate keys.
If the same key exist in both String and Symbol form it could
lead to the same key being emitted twice.
Manish Sharma
Fix ActiveSupport::Cache::Store#read_multi when using a cache namespace
and local cache strategy.
Mark Oleson
Fix Time.now/DateTime.now/Date.today to return results in a system timezone after #travel_to.
There is a bug in the current implementation of #travel_to:
it remembers a timezone of its argument, and all stubbed methods start
returning results in that remembered timezone. However, the expected
behaviour is to return results in a system timezone.
Aleksei Chernenkov
Fix :unless_exist option for MemoryStore#write (et al) when using a
cache namespace.
S. Brent Faulkner
Fix ActiveSupport::Deprecation to handle blaming generated code.
Jean Boussier, fatkodima
Rails 7.1.2 (November 10, 2023)
Fix :expires_in option for RedisCacheStore#write_multi.
fatkodima
Fix deserialization of non-string "purpose" field in Message serializer
Jacopo Beschi
Prevent global cache options being overwritten when setting dynamic options
inside a ActiveSupport::Cache::Store#fetch block.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps activerecord and activesupport. These dependencies needed to be updated together. Updates
activerecord
from 7.0.7.1 to 7.1.3Release notes
Sourced from activerecord's releases.
... (truncated)
Changelog
Sourced from activerecord's changelog.
... (truncated)
Commits
36c1591
Preparing for 7.1.3 releasea0eef52
Merge pull request #50767 from rporrasluc/fix-db-runtime-calculation4b699da
Merge pull request #50680 from skipkayhil/hm-fix-legacy-add-reference9cf3c5b
Fix CHANGELOG21dff57
Add changelog entry for #4638357a50f5
Merge pull request #46383 from dmytro-savochkin/fix-activerecord-reload-assoc...81c8023
Sync changelog620d335
Add examples to #slice and #values_at documentation [ci-skip] (#50679) (#50736)1f8c6c3
:scissors:1c90604
Merge pull request #50382 from summera/polymorphic-multi-db-preload-fixUpdates
activesupport
from 7.0.7.1 to 7.1.3Release notes
Sourced from activesupport's releases.
... (truncated)
Changelog
Sourced from activesupport's changelog.
... (truncated)
Commits
36c1591
Preparing for 7.1.3 releasea84622f
Sync changelog894f933
Merge pull request #50764 from eugeneius/syntax_error_proxy_nil_backtrace_loc...b02f6c9
Merge pull request #48957 from cmaruz/4832681c8023
Sync changelog3a85830
Merge pull request #50749 from Earlopain/changelog-typo2606c66
Use verb form of "fallback"c4df142
Clean up AS::NumberHelper#number_to_human doc [ci-skip]0a51c1a
Clean up AS::NumberHelper#number_to_human_size doc [ci-skip]f5c9a7e
Clean up AS::NumberHelper#number_to_rounded doc [ci-skip]You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show