Skip to content

Commit 92eebf7

Browse files
author
Piotr Solnica
committed
Update CHANGELOG [ci skip]
1 parent 9b4f4ac commit 92eebf7

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff 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
13+
- Built-in `:acceptance` macro
14+
15+
[Compare v0.13.3...v1.0.0](https://github.com/dry-rb/dry-validation/compare/v1.13.3...v1.0.0)
16+
17+
# v1.0.0 2019-06-10 (compared to 1.0.0.rc3)
218

319
### Added
420

0 commit comments

Comments
 (0)