Fix JSONGemCoderEncoder to correctly serialize custom object hash keys.
When hash keys are custom objects whose as_json returns a Hash,
the encoder now calls to_s on the original key object instead of
on the as_json result.
Fix inflections to better handle overlapping acronyms.
ActiveSupport::Inflector.inflections(:en) do |inflect|
inflect.acronym "USD"
inflect.acronym "USDC"
end
"USDC".underscore # => "usdc"
Said Kaldybaev
Silence Dalli 4.0+ warning when using ActiveSupport::Cache::MemCacheStore.
zzak
Active Model
Fix Ruby 4.0 delegator warning when calling inspect on attributes.
Hammad Khan
Fix NoMethodError when deserialising Type::Integer objects marshalled under Rails 8.0.
The performance optimisation that replaced @range with @max/@min
broke Marshal compatibility. Objects serialised under 8.0 (with @range)
and deserialised under 8.1 (expecting @max/@min) would crash with
undefined method '<=' for nil because Marshal.load restores instance
variables without calling initialize.
Bumps rails from 8.0.5 to 8.1.3.
Release notes
Sourced from rails's releases.
... (truncated)
Commits
fa8f081Preparing for 8.1.3 release63cef3dMerge branch '8-1-sec' into 8-1-stable1db4b89Preparing for 8.1.2.1 release1c7d1cfUpdate changeloge91694bUpdate CHANGELOG (8.1 only)6752711Fix XSS in debug exceptions copy-to-clipboard63f5ad8Skip blank attribute names in Action View tag helpers8c9676bPrevent glob injection in ActiveStorage DiskService#delete_prefixed9b06fbcPrevent path traversal in ActiveStorage DiskServiceec1a0e2Improve performance of NumberToDelimitedConverter