Skip to content

Releases: yassun7010/serde_valid

v2.5.0

07 Sep 01:35
ef3abf1
Compare
Choose a tag to compare
  • replace proc_macro_error to proc_macro_error2. (#84)

v0.24.0

22 Jun 12:14
Compare
Choose a tag to compare

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

20 Jun 15:27
Compare
Choose a tag to compare

New Features:

  • Multi Errors Validation (#72)
  • Deprecated Warning (##68)

v0.21.0

19 May 03:12
Compare
Choose a tag to compare

Breaking Change

  • remove flatten feature (#66)

v0.20.0

14 May 12:41
Compare
Choose a tag to compare

New features:

v0.18.0

14 Jan 14:12
e68bc8a
Compare
Choose a tag to compare

New features:

v0.17.0

13 Jan 04:42
26f483a
Compare
Choose a tag to compare

New Features

  • #19 support closure custom function.

Notable Changes

  • #[rule(validation_method(val))] is deprecated. Please use #[validate(custom(|s| validation_method(&s.val))) instead.
  • serde_valid::validation::error::CustomMessage changes to serde_valid::validation::error::Format.
  • ToDefaultMessage trait changes to FormatDefault trait.
  • IntoLocalization trait changes to Localize trait.

v0.16.3

30 Jul 05:44
Compare
Choose a tag to compare

What's Changed

  • Fix: pattern test. by @yassun4dev in #14
  • Support raw type field name by @yassun4dev in #15
  • Update: README. by @yassun4dev in #16

Full Changelog: v0.16.2...v0.16.3