All Versions
65
Latest Version
Avg Release Cycle
60 days
Latest Release
163 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v1.5.1 Changes
June 18, 2020 -
v1.5.0 Changes
March 11, 2020โ Added
schema_error?
rule helper (@waiting-for-dev)rule_error?
rule helper (@waiting-for-dev)
๐ Changed
-
v1.4.2 Changes
January 18, 2020๐ Fixed
- Macros using predicates that accept a range argument work as expected (no need to wrap the argument in an array) (@waiting-for-dev)
-
v1.4.1 Changes
January 08, 2020โ Added
- Pattern matching on result values (@flash-gordon)
๐ Fixed
- ๐ List tokens are correctly interpolated as a comma-separated list in rule messages (see #611) (@waiting-for-dev)
- โ Warnings about delegated keywords (@flash-gordon)
-
v1.4.0 Changes
December 12, 2019โ Added
- ๐ Support for multi-schema inheritance (@ianwhite)
๐ Fixed
- โ Keyword warnings reported by Ruby 2.7 (@flash-gordon)
- ๐ Fixed an issue where
MessageSet
would be marked as empty too early (@ianwhite) - ๐ Messages are correctly generated when there are errors for both an array and one or more of its elements (see #599) (@Bugagazavr)
๐ Changed
- ๐ป A meaningful exception is raised when failure options are not valid (@MatElGran)
- [internal] improved performance in
Contract.ensure_valid_keys
(@grzegorz-jakubiak) - โ [internal] fixed keyword warnings on MRI 2.7.0 (@flash-gordon)
-
v1.3.1 Changes
August 16, 2019๐ Changed
- You can now set an external schema without providing a block (@alassek)
-
v1.3.0 Changes
August 14, 2019 -
v1.2.1 Changes
July 16, 2019๐ Fixed
- Defining an abstract contract class that has no schema no longer crashes (issue #565) (@solnic)
- ๐ Fixed an issue where
Rule#each
would crash when the value is not an array (issue #567) (@solnic) - ๐ Fixed an issue where guarding a rule would crash when keys are missing in the input (issue #569) (@solnic)
- โ Added missing "pathname" require (issue #570) (@solnic)
-
v1.2.0 Changes
July 08, 2019โ Added
- New extension
:predicates_as_macros
(@waiting-for-dev)
๐ Fixed
๐ Changed
dry-schema
dependency was bumped to>= 1.3.1
(@solnic)
- New extension
-
v1.1.1 Changes
June 24, 2019๐ Fixed
Rule#each
works with array values from nested hashes (@mustardnoise)