Releases: ya7010/serde_valid
Releases · ya7010/serde_valid
v2.0.0
What's Changed
In addition to minor bug fixes, we changed the type of the Error property key type from String to Cow<'_, str>.
Breaking Changes
Other changes
- chore: add test case. by @ya7010 in #92
- Use tombi by @ya7010 in #94
- fix: clippy. by @ya7010 in #99
- feat: minus test cases. by @ya7010 in #98
- chore: update toml format. by @ya7010 in #100
- feat: update itertools. by @ya7010 in #101
- Update dependencies by @ya7010 in #102
- fix: range validation with message. by @ya7010 in #103
- v2.0.0 by @ya7010 in #104
- chore: rename user. by @ya7010 in #105
Full Changelog: v1.0.5...v2.0.0
v1.0.5 🎉
v1.0.4 🎉
Since the functionality has been stable for a while after the last major functionality change,
we decided to remove the old functionality and release it as v1.
Full Changelog: v1.0.3...v1.0.4
v0.25.1
v2.5.0
v0.24.0
Breaking Changes
By switching to syn v2, attributes can now be specified more naturally.
This disruptive change provides a uniform policy for how attributes are written.
To provide a transition period and to guide you going forward, warnings will be displayed for existing writing styles.
The following is a change in the way attributes are specified.
#[validate(enumerate(???))]->#[validate(enumerate = [???])]( #73)#[validate(custom(???))]->#[validate(custom = ???)](#75)#[validate(..., message_fn(???))]->#[validate(..., message_fn = ???)](#76)
New Feeatures
- Support
#[validate(..., message_l10n = ???)]
v0.23.0
v0.21.0
v0.20.0
New features:
- #63 add custom duration validation (Thank you @StivenAigleIxxi @B14ck6u4rd).