Skip to content

Latest commit

 

History

History
152 lines (96 loc) · 5.19 KB

CHANGELOG.md

File metadata and controls

152 lines (96 loc) · 5.19 KB

Changelog

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

Added

  • Configure cargo nextest and cargo llvm-cov to run in CI.
  • Configure cargo release.

Fixed

  • Update dependencies.

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.

0.3.0 - 2023-04-21

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.

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)

0.2.1 - 2022-12-01

Changed

Fixed

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

0.2.0 - 2022-11-29

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 1.22.

Removed

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

0.1.4 - 2022-11-29

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.

0.1.3 - 2022-11-24

Fixed

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

0.1.2 - 2022-11-23

Changed

  • Fixed code style.

0.1.1 - 2022-11-23

Changed

  • Simplified example code.

0.1.0 - 2022-11-23

Added

  • Implemented CSRF Synchronizer Token Middleware and Layer.
  • Example / demo projects for same-site and cross-site usage.
  • Added full crate documentation.