Skip to content

v1.6.0

Compare
Choose a tag to compare
@dry-bot dry-bot released this 21 Jan 19:20
v1.6.0

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