Skip to content

0.2.0 - 2022-11-29

Compare
Choose a tag to compare
@LeoniePhiline LeoniePhiline released this 29 Nov 04:42
· 64 commits to main since this release

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