v0.21.0
What's Changed
- feat: support
equalfor length and range rules by @Rolv-Apneseth in https://github.com/jprochazk/garde/pull/122 - chore: update axum-test dependency to 15.5 by @JosephLenton in https://github.com/jprochazk/garde/pull/126
- Update to Rust 1.81 by @jprochazk in https://github.com/jprochazk/garde/pull/139
- Add rust_decimal support by @lasantosr in https://github.com/jprochazk/garde/pull/135
- Implement
Matcherforstd::sync::LazyLock<T>by @Fogapod in https://github.com/jprochazk/garde/pull/131
Breaking changes
The MSRV is now 1.81.
⚠️ The axum_garde crate has been deprecated. ⚠️
The last release for axum_garde is 0.21. I recommend switching to axum-valid as soon as possible, as axum_garde is no longer maintained and will not receive updates of any kind.
The reason is that I personally have not been using the crate, and it has never felt like quite the right solution for integrating it into axum. I can't invest time into maintaining it anymore. axum-valid supports garde, among other validation crates, and moving to it should not be too much effort. A find-and-replace of axum_garde::WithValidation for axum_valid::Garde should get you most of the way there.
The source code for it has been removed from this repository as of https://github.com/jprochazk/garde/commit/0c8823ff269fe86c52e63ae443d8fe76dd67869f.
New Contributors
- @Rolv-Apneseth made their first contribution in https://github.com/jprochazk/garde/pull/122
- @Fogapod made their first contribution in https://github.com/jprochazk/garde/pull/131
Full Changelog: https://github.com/jprochazk/garde/compare/v0.20.0...v0.21.0