All Versions
65
Latest Version
Avg Release Cycle
60 days
Latest Release
1400 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
MessageSetwould 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#eachwould 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-schemadependency was bumped to>= 1.3.1(@solnic)
- New extension
-
v1.1.1 Changes
June 24, 2019🛠 Fixed
Rule#eachworks with array values from nested hashes (@mustardnoise)