gems dry-schema 1.7.0
v1.7.0

latest releases: 1.14.0, 1.13.4, 1.13.3...
3 years ago

This release ships with a bunch of internal refactorings that should improve performance but if you see any unexpected behavior please do report issues.

Fixed

  • Handle arrays of hashes where Array constructor coerces non-Hash input (#351 fixed via #354) (@ojab)
  • Run outer schema processor steps before inner ones (issue #350 fixed via #361) (@ojab)
  • Fix key validator false negatives on empty collections (see #363) (@Drenmi)
  • Prevent error message YAML files from being parsed multiple times (issue #352 via #364) (@alassek)
  • Using constructor types should work fine now ie required(:foo).filled(Types::Params::Integer.constructor(&:succ)) (issue #280 fixed via #365) (@solnic)
  • Handle non-Hash to Hash transformation in before(:key_coercer) (issue #350 fixed via #362) (@ojab)

Changed

  • [internal] Dry::Schema::Path clean up and performance improvements (via #358) (@ojab)
  • [internal] simplify and speed up handling of steps in nested schemas (via #360) (@ojab)

Compare v1.6.2...v1.7.0

Don't miss a new dry-schema release

NewReleases is sending notifications on new releases.