mirror of
https://github.com/robertwayne/axum-htmx
synced 2024-11-24 04:12:50 +01:00
16 lines
390 B
Markdown
16 lines
390 B
Markdown
# Changelog
|
|
|
|
## v0.3.0
|
|
|
|
- `HxRequestGuardLayer` now redirects on failures instead of returning a 403. By
|
|
default, it will redirect to "/", but you can specify a different route to
|
|
redirect to with `HxRequestGuardLayer::new("/your-route-here")`.
|
|
|
|
## v0.2.0
|
|
|
|
- Added `HxRequestGuardLayer`, allowing you to protect an entire router from
|
|
non-htmx requests.
|
|
|
|
## v0.1.0
|
|
|
|
- Initial release.
|