CHANGELOG.md in dry-schema-1.5.6 vs CHANGELOG.md in dry-schema-1.6.0

- old
+ new

@@ -1,4 +1,34 @@ +<!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS ---> + +## 1.6.0 2021-01-21 + + +### 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: + + ```ruby + Dry::Schema::PredicateInferrer::Compiler.infer_predicate_by_class_name false + ``` + + Otherwise, enable it explicitly: + + ```ruby + Dry::Schema::PredicateInferrer::Compiler.infer_predicate_by_class_name true + ``` + + See https://github.com/dry-rb/dry-schema/issues/335 for rationale. + +[Compare v1.5.6...v1.6.0](https://github.com/dry-rb/dry-schema/compare/v1.5.6...v1.6.0) + ## 1.5.6 2020-10-21 ### Fixed