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