Hashie v4.0.0 Release Notes

Release Date: 2019-10-30 // over 4 years ago
  • Full Changelog

    ๐Ÿ†• 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 in Mash#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 using Hashie::Mash.quiet.new - @bobbymcwho.

    ๐Ÿ”„ Changed

    ๐Ÿ›  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 a Mash 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, and Hashie::Hash, but none that were detectable via the test suite - @michaelherold.
    • โšก๏ธ #482: Update Travis configs to make jruby builds run on trusty dist. - @BobbyMcWho.