diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2017-02-24 23:27:15 +0100 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2017-02-25 00:29:43 +0100 |
commit | e690a92b4498f2b65998656c625919767854623d (patch) | |
tree | c0d861773f4ba28ea0ec2c7375d47e29987baf4e /activesupport/CHANGELOG.md | |
parent | 87b2b6c5124732ff709b8e1900a99ba0a08f6982 (diff) | |
download | rails-e690a92b4498f2b65998656c625919767854623d.tar.gz rails-e690a92b4498f2b65998656c625919767854623d.tar.bz2 rails-e690a92b4498f2b65998656c625919767854623d.zip |
Soft-deprecate the top-level HashWithIndifferentAccess class
Since using a `ActiveSupport::Deprecation::DeprecatedConstantProxy`
would prevent people from inheriting this class and extending it
from the `ActiveSupport::HashWithIndifferentAccess` one would break
the ancestors chain, that's the best option we have here.
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 0f43b1256f..d43927967f 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,9 @@ +* Soft-deprecated the top-level `HashWithIndifferentAcces` constant. + `ActiveSupport::HashWithIndifferentAccess` should be used instead. + + *Robin Dupret* (#28157) + + ## Rails 5.1.0.beta1 (February 23, 2017) ## * Cache `ActiveSupport::TimeWithZone#to_datetime` before freezing. |