Skip to content

v0.24.0

Compare
Choose a tag to compare
@yassun7010 yassun7010 released this 22 Jun 12:14
· 9 commits to main since this release

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 = ???)]