gems dry-schema 1.2.0

latest releases: 1.14.1, 1.14.0, 1.13.4...
6 years ago

Added

  • Ability to configure your own type container (@Morozzzko)

Fixed

  • filled macro no longer generates incorrect messages for arrays (issue #151) (@solnic)
  • filled macro works correctly with constructor types (@solnic)
  • filled works correctly with nested schemas (#149) (@solnic + @timriley)
  • BigDecimal type is correctly handled by predicate inference (isssue #158) (@solnic)
  • Works with latest dry-logic which provides the new respond_to? predicate (#153) (@flash-gordon)
  • Custom array constructors are no longer discredited by array macro (@solnic)

Changed

  • ⚠️ Fixes related to filled restored pre-1.1.0 behavior of :hints which are again included for empty strings that get turned into nil in params schemas (@solnic)
  • filled no longer uses filter rules to handle empty strings in Params (@solnic)

Compare v1.1.0...v1.2.0

Don't miss a new dry-schema release

NewReleases is sending notifications on new releases.