All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.3.2 - 2024-04-05
- Configure
cargo nextest
andcargo llvm-cov
to run in CI. - Configure
cargo release
.
- Update dependencies.
0.3.1 - 2023-04-21
- Updated
README.md
to reflect semver-breakingaxum-sessions 0.5
update. - Updated crate version in
README.md
.
0.3.0 - 2023-04-21
- BREAKING: Updated to
axum-sessions 0.5
.
- 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).
- 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.
0.2.2 - 2022-12-01
- Re-release - forgot to update version in
Cargo.toml
for 0.2.1. - Fixed punctuation in
CHANGELOG.md
. (68df15d)
0.2.1 - 2022-12-01
- Updated to
axum 0.6.1
. - Updated to
axum-sessions 0.4.1
. - Added links to dependency versions to ease dependents' work. (57dbd72)
- Removed a duplicated word from
README.md
. (09ead55)
0.2.0 - 2022-11-29
- Added support for
axum 0.6
,axum-core 0.3
andaxum-sessions 0.4
.
-
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
from 1.21 to 1.22.
- Removed support for
axum
0.5,axum-core
0.2 andaxum-sessions
0.3.
0.1.4 - 2022-11-29
- 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
.
- 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.
0.1.3 - 2022-11-24
- Properly linked demo URL to help users find the frontend address after
cargo run
.
0.1.2 - 2022-11-23
- Fixed code style.
0.1.1 - 2022-11-23
- Simplified example code.
0.1.0 - 2022-11-23
- Implemented CSRF Synchronizer Token Middleware and Layer.
- Example / demo projects for same-site and cross-site usage.
- Added full crate documentation.