Releases: dry-rb/dry-validation
Releases · dry-rb/dry-validation
v1.10.0
This release is mostly about upgrading to dry-core 1.0 and dry-configurable 1.0. One of the outcomes is dropping dependency on dry-container (because it was moved to dry-core). If you happen to use dry-container, please switch to Dry::Core::Container
.
Changed
- Upgraded to the latest versions of dry-{core,configurable,logic,types} (@flash-gordon + @solnic)
v1.9.0
Fixed
- Duplicated keys mishandling in rule evaluation (issue #676 fixed via #711) (@mereghost)
Changed
v1.8.1
Fixed
- Raise an InvalidKeyErrors on substring of valid keys (issue #705 fixed via #706) (@MatElGran)
- Using
rule(:arr).each { .. }
doesn't crash when:arr
turns out to benil
(issue #708 fixed via #709) (@bautrey37)
v1.8.0
v1.7.0
1.6.0
Added
- You can now pass a key name or path to
rule_error?
predicate (issue #658 closed via #673) (@moofkit) - You can now pass initial context object to
Contract#call
(issue #674 via #675) (@pyromaniac)
Fixed
v1.5.6
v1.5.5
Fixed
- Dependency on dry-schema was bumped to >= 1.5.2 (see #666 for more info) (@artofhuman)
v1.5.4
v1.5.3
Added
- You can now access current value's index via
rule(:foo).each do |index:|
(issue #606 done via #657) (@mrbongiolo)
Fixed
- Using
.each(:foo)
works as expected when there are errors related to other keys (issue #659 fixed via #660) (@solnic)