Scs Versions Save

HTTP Session Management for Go

v2.8.0

1 month ago

This release includes:

  • A new SessionManager.HashTokenInStore option, which hashes the session token with SHA256 before passing it to the store. Thanks to @bramvbilsen for this.
  • Support for Hijacker and Flusher interfaces for Go 1.20+ (fixes issues #188, #196, #186)
  • Documentation improvements thanks to @Daniel-Sogbey.

v2.7.0

6 months ago
  • Added SetDeadline() method. Thanks @lwj5 and @fnoopv.

v2.6.0

6 months ago
  • The LoadAndSave() method has been rewritten, so that it no longer buffers responses (which should improve performance) and is now compatible with http.ResponseController.

v2.5.1

1 year ago

v2.5.0

2 years ago

Version 2.5.0 of SCS includes:

  • Support for iteration over all sessions via the Iterate() method.
  • New Token(), Deadline(), GetInt32(), GetInt64() and RememberMe() methods.
  • Session stores which require a context.Context are now supported.
  • New store implementations for Firestore, MSSQL, GORM and MongoDB.

Thanks to everyone who contributed to this release, especially:

  • @gandaldf for updating all the session stores to support iteration, adding the MSSQL and BuntDB stores, and the many improvements to the documentation and stores.
  • @jum for implementing the Firestore store, and the discussion around supporting context.Context in session stores.
  • @joesonw for the PR to support context.Context in session stores.
  • @cgossain for adding the MongoDB store.
  • @lafriks for adding the GORM store.

v2.4.0

3 years ago
  • Fix data race in generateContextKey
  • Improve test structure and add mockstore package

v2.3.1

4 years ago

v2.3.0

4 years ago

v2.2.0

4 years ago

v2.1.0

4 years ago