Skip to content

Releases: LeoniePhiline/axum-csrf-sync-pattern

0.3.2 - 2024-04-05

05 Apr 14:56
8be66a3
Compare
Choose a tag to compare

Added

  • Configure cargo nextest and cargo 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

21 Apr 20:52
1f029e7
Compare
Choose a tag to compare

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

21 Apr 20:31
Compare
Choose a tag to compare

Breaking

Added

  • Created CI workflow, with cargo check, cargo clippy, cargo fmt --check, cargo doc, cargo test and cargo sort --check.
  • Added dependencies status badge (https://deps.rs).

Changed

  • Removed tower::util::ServiceExt::oneshot from README.md, hinting instead merely at serving the app with hyper::Server. (#17, #20)
  • Updated library dependencies.
  • Updated same-site and cross-site example dependencies.

Full Changelog: 0.2.2...0.3.0

0.2.2 - 2022-12-01

01 Dec 18:27
Compare
Choose a tag to compare

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

01 Dec 18:11
Compare
Choose a tag to compare

Changed

Fixed

  • Removed a duplicated word from README.md. (09ead55)

Full Changelog: 0.2.0...0.2.1

0.2.0 - 2022-11-29

29 Nov 04:42
Compare
Choose a tag to compare

Added

Changed

  • Shortened middleware and layer names to CsrfMiddleware and CsrfLayer
    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 tokio 1.22.

Removed

  • Removed support for axum 0.5, axum-core 0.2 and axum-sessions 0.3.

Full Changelog: 0.1.4...0.2.0

0.1.4 - 2022-11-29

29 Nov 03:58
Compare
Choose a tag to compare

Added

  • Tested code coverage and added tests covering the error path.
  • Added Cargo.toml snippet for quick-installation to README.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 from axum-sessions instead.

Full Changelog: 0.1.3...0.1.4

0.1.3 - 2022-11-24

29 Nov 03:49
Compare
Choose a tag to compare

Fixed

  • Properly linked demo URL to help users find the frontend address after cargo run.

Full Changelog: 0.1.2...0.1.3

0.1.2 - 2022-11-23

29 Nov 03:46
Compare
Choose a tag to compare

Changed

  • Fixed code style.

Full Changelog: 0.1.1...0.1.2

0.1.1 - 2022-11-23

29 Nov 03:45
Compare
Choose a tag to compare

Changed

  • Simplified example code.

Full Changelog: 0.1.0...0.1.1