CHANGELOG.md in dry-schema-0.3.0 vs CHANGELOG.md in dry-schema-0.4.0

- old
+ new

@@ -1,4 +1,35 @@ +# 0.4.0 2019-03-26 + +### Added + +* Schemas are now compatible with procs via `#to_proc` (issue #53) (solnic) +* Support for configuring `top_namespace` for localized messages (solnic) +* Support for configuring more than one load path for localized messages (solnic) +* Support for inferring predicates from arbitrary types (issue #101) (solnic) + +### Fixed + +* Handling of messages for `optional` keys without value rules works correctly (issue #87) (solnic) +* Message structure for `optional` keys with an array of hashes no longer duplicates keys (issue #89) (solnic) +* Inferring `:date_time?` predicate works correctly with `DateTime` types (issue #97) (solnic) + +### Changed + +* [BREAKING] Updated to work with `dry-types 0.15.0` (flash-gordon) +* [BREAKING] `Result#{errors,messages,hints}` returns `MessageSet` object now which is an enumerable coercible to a hash (solnic) +* [BREAKING] `Messages` backend classes no longer use global configuration (solnic) +* [BREAKING] Passing a non-symbol key name in the DSL will raise `ArgumentError` (issue #29) (solnic) +* [BREAKING] Configuration for message backends is now nested under `messages` key with following settings: + * `messages.backend` - previously `messages` + * `messages.load_paths` - previously `messages_path` + * `messages.namespace` - previously `namespace` + * `messages.top_namespace` - **new setting** see above +* [BREAKING] `Messages::I18n` uses `I18.store_translations` instead of messing with `I18n.load_path` (solnic) +* Schemas (`Params` and `JSON`) have nicer inspect (solnic) + +[Compare v0.3.0...v0.4.0](https://github.com/dry-rb/dry-schema/compare/v0.3.0...v0.4.0) + # 0.3.0 2018-03-04 ### Fixed * Configuration is properly inherited from a parent schema (skryukov)