Hashie v5.0.0 Release Notes
Release Date: 2021-11-08 // over 3 years ago-
โ Added
- #523: Added TOC, ensure a keep-a-changelog formatted CHANGELOG - @dblock.
- #522: Added eierlegende Wollmilchsau mascot graphic - @carolineartz.
- #530: Added Hashie::Extensions::Dash::PredefinedValues - @caalberts.
- #536: Added exporting a normal Hash from an indifferent one through the
#to_hash
method - @michaelherold. - โ #539: Run 2.7 tests once - @anakinj.
๐ Changed
- #521: Do not convert keys that cannot be represented as symbols to
String
inMash
initialization - @carolineartz. - โ #524: Test with Ruby 2.7 - @aried3r.
- #525: Use
indifferent_writer
inIndifferentAccess#convert!
- @yogeshjain999. - โก๏ธ #527: Updated Copyright to (c) 2009-2020 Intridea, Inc., and Contributors - @dblock.
- โ #555: Test with Ruby 3.0 - @dblock.
โ Removed
- โ #538: Dropped testing for JRuby 9.0, though not support - @michaelherold.
๐ Fixed
- ๐ #516: Fixed
NoMethodError
raised when includingHashie::Extensions::Mash::SymbolizeKeys
andHashie::Extensions::SymbolizeKeys
in mashes/hashes with non string or symbol keys - @carolineartz. - ๐ #531: Fixed slice doesn't work using symbols using hash with
IndifferentAccess
extension - @gnomex. - #533: Fixed
NoMethodError: undefined method 'to_json'
athashie/dash_spec
- @gnomex. - #535: Restored the exporting of all properties as part of
Dash#to_h
andDash#to_hash
- @michaelherold. - 0๏ธโฃ #537: Fixed inconsistencies with handling defaults in
Dash
with and withoutIgnoreUnclared
mixed in - @michaelherold. - ๐ #547: Fixed issue where a source hash key can be used in translating multiple properties - @danwa5.
Previous changes from v4.1.0
-
โ Added
- ๐ #545: Add
Hashie::Mash#except
andHashie::Extensions::IndifferentAccess#except
when running under Ruby 3 to match newly added Ruby stdlib method - @jackjennings. - #499: Add
Hashie::Extensions::Mash::PermissiveRespondTo
to make specific subclasses of Mash fully respond to messages for use withSimpleDelegator
- @michaelherold.
๐ Changed
- ๐ #498: Exclude tests from the gem release to reduce installation size and improve installation speed - @michaelherold.
๐ Fixed
- ๐ #467: Fixed
DeepMerge#deep_merge
mutating nested values within the receiver - @michaelherold. - #505: Ensure that
Hashie::Array
s are not deconverted withinHashie::Mash
es to makeMash#dig
work properly - @michaelherold. - #507: Suppress
Psych.safe_load
arg warn when using Psych 3.1.0+ - @koic. - ๐
#508: Fixed
Mash.load
no longer uses Rails-only#except
- @bobbymcwho. - ๐ #508: Fixed
Hashie::Extensions::DeepMerge
#deep_merge
not correctly dup'ing sub-hashes if active_support hash extensions were not present - @bobbymcwho. - #500: Do not warn when setting Mash keys that look like underbang, bang, and query methods - @michaelherold.
- ๐ #510: Ensure that
Hashie::Mash#compact
is only defined on Ruby version >= 2.4.0 - @bobbymcwho. - โ #511: Suppress keyword arguments warning for Ruby 2.7.0 - @koic.
- โ #512: Suppress an integer unification warning for using Ruby 2.4.0+ - @koic.
- โ #513: Suppress a Ruby's warning when using Ruby 2.6.0+ - @koic.
- ๐ #545: Add