dry-validation v1.0.0.rc2 Release Notes
Release Date: 2019-05-04 // almost 5 years ago-
This was yanked on rubygems.org because the bundled gem was missing
config
directory, thus it was not possible to require it. It was fixed inrc3
.➕ Added
- 👍 [EXPERIMENTAL] support for registering macros via
Dry::Validation::Macros.register(:your_macro, &block)
(solnic) - [EXPERIMENTAL]
:acceptance
as the first built-in macro (issue #157) (solnic)
🛠 Fixed
- Passing invalid argument to
failure
will raise a meaningful error instead of crashing (solnic)
🔄 Changed
- In rule validation blocks,
values
is now an instance of a hash-likeDry::Validation::Values
class, rather thanDry::Schema::Result
. This gives more convenient access to data within rules (solnic) - ⚡️ Dependency on
dry-schema
was updated to~> 1.0
(solnic)
- 👍 [EXPERIMENTAL] support for registering macros via