# 0.3.0 2018-03-04 ### Fixed * Configuration is properly inherited from a parent schema (skryukov) * `Result#error?` returns `true` when a preceding key has errors (solnic) * Predicate inferrer no longer chokes on sum, constructor and enum types (solnic) * Predicate inferrer infers `:bool?` from boolean types (solnic) * Block-based definitions using `array` works correctly (solnic) * Using a disjunction with `array` and `hash` produces correct errors when element validation for array failed (solnic) ### Changed * Required ruby version was removed from gemspec for people who are stuck on MRI 2.3.x (solnic) [Compare v0.2.0...v0.3.0](https://github.com/dry-rb/dry-schema/compare/v0.2.0...v0.3.0) # 0.2.0 2019-02-26 ### Added * New `hash` macro which prepends `hash?` type-check and allows nested schema definition (solnic) * New `array` macro which works like `each` but prepends `array?` type-check (solnic) ### Fixed * Rule name translation works correctly with I18n (issue #52) (solnic) * Rule name translation works correctly with namespaced messages (both I18n and plain YAML) (issue #57) (solnic) * Error messages under namespaces are correctly resolved for overridden names (issue #53) (solnic) * Namespaced error messages work correctly when schemas are reused within other schemas (issue #49) (solnic) * Child schema can override inherited rules now (issue #66) (skryukov) * Hints are correctly generated for disjunction that use type-check predicates (issue #24) (solnic) * Hints are correctly generated for nested schemas (issue #26) (solnic) * `filled` macro respects inferred type-check predicates and puts them in front (solnic) * Value coercion works correctly with re-usable nested schemas (issue #25) (solnic) ### Changed * [BREAKING] **Messages are now configured under `dry_schema` namespace by default** (issue #38) (solnic) * [BREAKING] Hints are now an optional feature provided by `:hints` extension, to load it do `Dry::Schema.load_extensions(:hints)` (solnic) * [BREAKING] Hints generation was improved in general, output of `Result#messages` and `Result#hints` changed in some cases (solnic) * [BREAKING] `schema` macro no longer prepends `hash?` check, for this behavior use the new `hash` macro (see #31) (solnic) * [BREAKING] Support for MRI < 2.4 was dropped (solnic) [Compare v0.1.1...v0.2.0](https://github.com/dry-rb/dry-schema/compare/v0.1.1...v0.2.0) # 0.1.1 2019-02-17 ### Added - `Result#error?` supports checking nested errors too ie`result.error?('user.address')` (solnic) ### Fixed - Fix issues with templates and invalid tokens (issue #27) (solnic) - Fix Ruby warnings (flash-gordon) ### Internal - Key and value coercers are now equalizable (flash-gordon) [Compare v0.1.0...v0.1.1](https://github.com/dry-rb/dry-schema/compare/v0.1.0...v0.1.1) # 0.1.0 2019-01-30 Initial release.