gems dry-schema 1.6.0
v1.6.0

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

Fixed

  • Using sum types with a i18n backend no longer crashes (issue #328 fixes via #331) (@tylerhunt)

Changed

  • Inferring predicates from class names is deprecated. It's very unlikely your code depends on it,
    however, if it does, you'll get an exception with instructions. (@flash-gordon)

    If you see an exception and don't rely on inferring, just disable it with:

    Dry::Schema::PredicateInferrer::Compiler.infer_predicate_by_class_name false

    Otherwise, enable it explicitly:

    Dry::Schema::PredicateInferrer::Compiler.infer_predicate_by_class_name true

    See #335 for rationale.

Compare v1.5.6...v1.6.0

Don't miss a new dry-schema release

NewReleases is sending notifications on new releases.