Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Sep 04:04
c67c494

⚠️ Breaking Changes

  • Redis and SQLx storages have a dedicated trait that needs to be implemented for your session data, rather than implementing TryFrom and TryInto. See the specific storage docs for more info.
  • All built-in storages now use a consistent builder pattern for constructing the instances, similar to the fairing.
  • Hashmap-like sessions need to implement SessionHashMap
  • The storage module has been reorganized, with the traits available at the module level
  • The SessionStorage trait’s delete function now accepts the deleted session data as an argument.

Added

  • [breaking] add sqlite storage, refactor storage traits and inner session (#6)
  • use builder pattern (#5)
  • session indexing (#1)

Fixed

  • indexed storages missing impl
  • unnecessary cookie creation when updating the session data (#2)

Other

  • Update README.md
  • bump rand & retainer, use rocket exports for deps (#3)