Tower Sessions Versions Save

🥠 Sessions as a `tower` and `axum` middleware.

v0.3.3

7 months ago

What's Changed

  • Ensure loaded sessions are removed whenever they can be; do not couple removal with session saving.

Full Changelog: https://github.com/maxcountryman/tower-sessions/compare/v0.3.2...v0.3.3

v0.3.2

7 months ago

What's Changed

  • Implement reference-counted garbage collection for loaded sessions. #52
  • Make SessionId's UUID public. #53

Full Changelog: https://github.com/maxcountryman/tower-sessions/compare/v0.3.0...v0.3.2

v0.3.1

7 months ago

What's Changed

  • Use DashMap entry API to address data race introduced by dashmap. #41

Full Changelog: https://github.com/maxcountryman/tower-sessions/compare/v0.3.0...v0.3.1

v0.3.0

7 months ago

What's Changed

Breaking Changes

  • tokio feature flag is now tokio-rt.
  • Session IDs are returned as references now.

Other Changes

  • Update fred to 7.0.0.
  • Track loaded sessions to enable concurrent access. #37

Full Changelog: https://github.com/maxcountryman/tower-sessions/compare/v0.2.4...v0.3.0

v0.2.4

7 months ago

v0.2.3

7 months ago

What's Changed

  • Fix setting of modified in replace_if_equal.

Full Changelog: https://github.com/maxcountryman/tower-sessions/compare/v0.2.2...v0.2.3

v0.2.2

7 months ago

What's Changed

  • Lift Debug constraint on CachingSessionStore.
  • Run caching store save and load ops concurrently. #25

Full Changelog: https://github.com/maxcountryman/tower-sessions/compare/v0.2.1...v0.2.2

v0.2.1

7 months ago

What's Changed

  • Fix clearing session's data is not persisted. #22

Full Changelog: https://github.com/maxcountryman/tower-sessions/compare/v0.2.0...v0.2.1

v0.2.0

7 months ago

What's Changed

Breaking Changes

  • Renamed store error variants for consistency (SqlxStoreError, RedisStoreError). #18
  • Moved MySQL expiration_time column to `timestamp(6), for microsecond resolution. #14
  • Replaced Session.with_max_age with set_expiration_time and set_expiration_time_from_max_age, allowing applications to control session durations dynamically. #7

Other changes

  • Provide layered caching via CachingSessionStore #8
  • Provide a Moka store #6 (Thank you @and-reas-se!)
  • Provide a MongoDB store #5 (Thank you @JustMangoT!)

New Contributors

Full Changelog: https://github.com/maxcountryman/tower-sessions/compare/v0.1.0...v0.2.0