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.