New in 4.0.0:
4.0.0 - 2019-10-30
Added
- #323: Added
Hashie::Extensions::Mash::DefineAccessors
- @marshall-lee. - #474: Expose
YAML#safe_load
options inMash#load
- @riouruma, @dblock. - #478: Added optional array parameter to
Hashie::Mash.disable_warnings
- @bobbymcwho. - #481: Ruby 2.6 - Support
Hash#merge
and#merge!
called with multiple Hashes/Mashes - @bobbymcwho. - #488: Added ability to create an anonymous
Hashie::Mash
subclass with key conflict errors silenced usingHashie::Mash.quiet.new
- @bobbymcwho.
Changed
- #481: Implement non-destructive standard Hash methods - @bobbymcwho.
Fixed
- #459: Fixed a regression in
Mash.load
that disallowed aliases - @arekt and @michaelherold. - #465: Fixed
deep_update
to call any readers when a key exists - @laertispappas. - #479: Fixed an issue with
Hash#except
not returning aMash
in Rails 6 - @bobbymcwho. - #489: Updated the documentation to exlain the behavior of
Mash
and keyword arguments - @Bhacaz.
Miscellaneous
- #465: Clean up our RuboCop configuration and fix the outstanding line length violations. This involved some minor refactoring on
Hashie::Extensions::Coercion
,Hashie::Extensions::Dash::IndifferentAccess
,Hashie::Extensions::DeepLocate
,Hashie::Extensions::Mash::SafeAssignment
, andHashie::Hash
, but none that were detectable via the test suite - @michaelherold. - #482: Update Travis configs to make jruby builds run on trusty dist. - @BobbyMcWho.