Skip to content

v0.5.0

Compare
Choose a tag to compare
@jprochazk jprochazk released this 26 Mar 23:30
· 293 commits to main since this release

Breaking changes

  • garde::error::Errors type was changed to an enum (more explanation in #15)
  • Every rule in garde::rules::* now accepts constraint parameters as a tuple, e.g. prefix is fn(value; &str, (pattern,): (&str,)) -> Result<(), Error>

What's Changed

  • Implement nested validation and nested errors by @jprochazk in #15

Full Changelog: https://github.com/jprochazk/garde/commits/v0.5.0