dry-types v0.8.0 Release Notes

Release Date: 2016-07-01 // almost 8 years ago
  • ➕ Added

    • Struct now implements Type interface so ie SomeStruct | String works now (flash-gordon)
    • :weak Hash constructor which can partially coerce a hash even when it includes invalid values (solnic)
    • Types include Dry::Equalizer now (flash-gordon)

    🛠 Fixed

    • Struct#to_hash descends into arrays too (nepalez)
    • 0️⃣ Default#with works now (flash-gordon)

    🔄 Changed

    • :symbolized hash schema is now based on :weak schema (solnic)
    • Struct::Value instances are now deeply frozen via ice_nine (backus)

    Compare v0.7.2...v0.8.0