axum-htmx/CHANGELOG.md

31 lines
867 B
Markdown
Raw Normal View History

2023-07-28 04:23:46 +02:00
# Changelog
2023-10-24 04:01:05 +02:00
## v0.4.0
- Added support for all [htmx response
2023-10-24 05:50:47 +02:00
headers](https://htmx.org/reference/#response_headers) via a type implementing
2023-10-24 04:01:05 +02:00
`IntoResponseParts`. These "responders" allow you to simply and safely apply the
2023-10-24 04:05:34 +02:00
HX-* headers to any of your responses. Thanks to
[@pfz4](https://github.com/pfz4) for the implementation work!
([#5](https://github.com/robertwayne/axum-htmx/pull/5))
2023-10-24 04:01:05 +02:00
## v0.3.1
- Rebuild docs with features enabled so `HxRequestGuardLayer` is visible on
docs.rs.
2023-07-29 23:16:05 +02:00
## 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")`.
2023-07-28 04:28:26 +02:00
## v0.2.0
2023-07-28 04:23:46 +02:00
- Added `HxRequestGuardLayer`, allowing you to protect an entire router from
non-htmx requests.
2023-07-28 04:28:26 +02:00
## v0.1.0
2023-07-28 04:23:46 +02:00
- Initial release.