Releases: dry-rb/dry-validation
Releases · dry-rb/dry-validation
v1.0.0.alpha2
The first round of bug fixes. Thanks for testing <3!
Fixed
- Errors with nested messages are correctly built (flash-gordon)
- Messages for nested keys are correctly resolved (solnic)
- A message for a nested key is resolved when it's defined under
errors.rule.%{key}
too, but a message under nested key will override it (solnic)
Changed
- When a message template is not found a more meaningful error is raised that includes both rule identifier and key path (solnic)
v1.0.0.alpha1
Complete rewrite on top of dry-schema
.
Added
- [BREAKING]
Dry::Validation::Contract
as a replacement for validation schemas (solnic) - [BREAKING] New
rule
DSL with an improved API for setting error messages (solnic)
v0.12.3
v0.12.3 2019-01-29
Changed
- [internal] dyr-logic was pinned to
~> 0.4.2
(flash-gordon)
v0.12.2
v0.12.2 2018-08-29
Fixed
- Use correct key names for rule messages when using i18n (jozzi05)
v0.12.1
v0.12.1 2018-07-06
Fixed
- [internal] fixed deprecation warnings (flash-gordon)
v0.12.0
v0.12.0 2018-05-31
Changed
- Code updated to work with
dry-types
0.13.1 anddry-struct
0.5.0, these are now minimal supported versions (flash-gordon) - [BREAKING]
Form
was renamed toParams
to be consistent with the latest changes fromdry-types
. You canrequire 'dry/validation/compat/form'
to use the previous names but it will be removed in the next version (flash-gordon)