Releases: hashie/hashie
Releases · hashie/hashie
v5.0.0
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. - #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.
v4.1.0
Added
- #499: Add
Hashie::Extensions::Mash::PermissiveRespondTo
to make specific subclasses of Mash fully respond to messages for use withSimpleDelegator
- @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.
Miscellaneous
- #981: Exclude tests from the gem release to reduce installation size and improve installation speed - @michaelherold.
v4.0.0
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.