Releases: LeoniePhiline/axum-csrf-sync-pattern
Releases · LeoniePhiline/axum-csrf-sync-pattern
0.3.2 - 2024-04-05
Added
- Configure
cargo nextest
andcargo llvm-cov
to run in CI. - Configure
cargo release
.
Fixed
- Update dependencies.
Full Changelog: 0.3.1...v0.3.2
0.3.1 - 2023-04-21
Changed
- Updated README.md to reflect semver-breaking axum-sessions 0.5 update.
- Updated crate version in README.md.
Full Changelog: 0.3.0...0.3.1
0.3.0 - 2023-04-21
Breaking
- BREAKING: Updated to
axum-sessions 0.5
.
Added
- Created CI workflow, with
cargo check
,cargo clippy
,cargo fmt --check
,cargo doc
,cargo test
andcargo sort --check
. - Added dependencies status badge (https://deps.rs).
Changed
- Removed
tower::util::ServiceExt::oneshot
fromREADME.md
, hinting instead merely at serving the app withhyper::Server
. (#17, #20) - Updated library dependencies.
- Updated
same-site
andcross-site
example dependencies.
Full Changelog: 0.2.2...0.3.0
0.2.2 - 2022-12-01
Fixed
- Re-release - forgot to update version in
Cargo.toml
for 0.2.1. - Fixed punctuation in
CHANGELOG.md
. (68df15d)
Full Changelog: 0.2.1...0.2.2
0.2.1 - 2022-12-01
Changed
- Updated to
axum 0.6.1
. - Updated to
axum-sessions 0.4.1
. - Added links to dependency versions to ease dependents' work. (57dbd72)
Fixed
- Removed a duplicated word from
README.md
. (09ead55)
Full Changelog: 0.2.0...0.2.1
0.2.0 - 2022-11-29
Added
- Added support for
axum 0.6
,axum-core 0.3
andaxum-sessions 0.4
.
Changed
-
Shortened middleware and layer names to
CsrfMiddleware
andCsrfLayer
for improved DX and more elegant code.Migration: If you prefer to keep on using the old name(s) in your code base,
the import them with an alias:use axum_csrf_sync_pattern::CsrfLayer as CsrfSynchronizerTokenLayer; // If you import the middleware: use axum_csrf_sync_pattern::CsrfMiddleware as CsrfSynchronizerTokenMiddleware;
-
Re-licensed the project under Mozilla Public License 2.0,
allowing for commercial use, while inciting contributions. -
Updated
tokio
from1.21
totokio 1.22
.
Removed
- Removed support for
axum
0.5,axum-core
0.2 andaxum-sessions
0.3.
Full Changelog: 0.1.4...0.2.0
0.1.4 - 2022-11-29
Added
- Tested code coverage and added tests covering the error path.
- Added
Cargo.toml
snippet for quick-installation toREADME.md
. - Added
CsrfSynchronizerTokenMiddleware::layer()
for the sake of convention. - Added
CsrfSynchronizerTokenLayer::new()
for the sake of convention. - Now depending on the more stable
axum-core
where possible. - Now indicating project state with badges.
- Added a
CHANGELOG.md
.
Changed
- Rewrote example / demo projects to never panic, but use appropriate error handling instead.
- Removed direct dependency on
async-session
, using the re-export fromaxum-sessions
instead.
Full Changelog: 0.1.3...0.1.4
0.1.3 - 2022-11-24
Fixed
- Properly linked demo URL to help users find the frontend address after
cargo run
.
Full Changelog: 0.1.2...0.1.3