Releases: hashie/hashie
Releases · hashie/hashie
v5.1.0
What's Changed
- Include example of Dash's lazy evaluation feature by @njakobsen in #557
- Add Ruby 3.1 to CI by @petergoldstein in #558
- Run CI on all branches. by @dblock in #561
- Add dependabot for GitHub Actions by @petergoldstein in #564
- Bump actions/checkout from 2 to 3 by @dependabot[bot] in #565
- Fix: Make Danger happy with the CHANGELOG. by @dblock in #570
- new integration spec for rails 7 exhibiting failure when executing de… by @aflansburg in #569
- Add Ruby 3.2 to the CI matrix by @petergoldstein in #571
- Bump actions/checkout from 3 to 4 by @dependabot[bot] in #577
- Fix: integration tests in CI. by @dblock in #581
- Fix typos by @kianmeng in #580
- Add Ruby 3.3 & 3.4 to the CI matrix by @btalayeminaei in #582
- Add logger as a runtime dependency by @Earlopain in #583
- Requires Ruby 2.7+ and upgraded Rubocop to 1.82.0 by @sue445 in #589
- Bump actions/checkout from 4 to 6 by @dependabot[bot] in #588
New Contributors
- @njakobsen made their first contribution in #557
- @dependabot[bot] made their first contribution in #565
- @aflansburg made their first contribution in #569
- @kianmeng made their first contribution in #580
- @btalayeminaei made their first contribution in #582
- @Earlopain made their first contribution in #583
- @sue445 made their first contribution in #589
Full Changelog: v5.0.0...v5.1.0
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_hashmethod - @michaelherold. - #539: Run 2.7 tests once - @anakinj.
Changed
- #521: Do not convert keys that cannot be represented as symbols to
StringinMashinitialization - @carolineartz. - #524: Test with Ruby 2.7 - @aried3r.
- #525: Use
indifferent_writerinIndifferentAccess#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
NoMethodErrorraised when includingHashie::Extensions::Mash::SymbolizeKeysandHashie::Extensions::SymbolizeKeysin mashes/hashes with non string or symbol keys - @carolineartz. - #531: Fixed slice doesn't work using symbols using hash with
IndifferentAccessextension - @gnomex. - #533: Fixed
NoMethodError: undefined method 'to_json'athashie/dash_spec- @gnomex. - #535: Restored the exporting of all properties as part of
Dash#to_handDash#to_hash- @michaelherold. - #537: Fixed inconsistencies with handling defaults in
Dashwith and withoutIgnoreUnclaredmixed 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::PermissiveRespondToto make specific subclasses of Mash fully respond to messages for use withSimpleDelegator- @michaelherold.
Fixed
- #467: Fixed
DeepMerge#deep_mergemutating nested values within the receiver - @michaelherold. - #505: Ensure that
Hashie::Arrays are not deconverted withinHashie::Mashes to makeMash#digwork properly - @michaelherold. - #507: Suppress
Psych.safe_loadarg warn when using Psych 3.1.0+ - @koic. - #508: Fixed
Mash.loadno longer uses Rails-only#except- @bobbymcwho. - #508: Fixed
Hashie::Extensions::DeepMerge#deep_mergenot 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#compactis 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_loadoptions inMash#load- @riouruma, @dblock. - #478: Added optional array parameter to
Hashie::Mash.disable_warnings- @bobbymcwho. - #481: Ruby 2.6 - Support
Hash#mergeand#merge!called with multiple Hashes/Mashes - @bobbymcwho. - #488: Added ability to create an anonymous
Hashie::Mashsubclass 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.loadthat disallowed aliases - @arekt and @michaelherold. - #465: Fixed
deep_updateto call any readers when a key exists - @laertispappas. - #479: Fixed an issue with
Hash#exceptnot returning aMashin Rails 6 - @bobbymcwho. - #489: Updated the documentation to exlain the behavior of
Mashand 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.