You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,20 @@
1
-
# v1.0.0 to-be-released
1
+
# v1.0.0 2019-06-10
2
+
3
+
This release is a complete rewrite on top of `dry-schema` that uses contract classes to define schema and validation rules. It's **not backward-compatible**. This release addressed over 150 known issues, including bugs and missing features.
4
+
5
+
See [the list of all addressed issues](https://github.com/dry-rb/dry-validation/issues?utf8=✓&q=is%3Aissue+is%3Aclosed+closed%3A%3E%3D2019-01-01+) as well as issues that were moved to dry-schema and [addressed there](https://github.com/dry-rb/dry-schema/issues?q=is%3Aissue+is%3Aclosed+dry-validation+milestone%3A1.0.0).
6
+
7
+
### :sparkles: Release highlights :sparkles:
8
+
9
+
- New `Dry::Validation::Contract` API for defining contract classes with schemas and validation rules
10
+
- Improved message backends with support for `key` and `base` messages, and arbitrary meta-data (like error codes etc.)
11
+
- Support for defining rules for array elements ie `rule(:items).each { ... }`
12
+
- Support for macros that encapsulate common rule logic
0 commit comments