alexedwards/scs
 Watch   
 Star   
 Fork   
2024-03-16 21:42:33
scs

v2.8.0

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.
2023-11-12 17:13:41
scs

v2.7.0

  • Added SetDeadline() method. Thanks @lwj5 and @fnoopv.
2023-10-23 00:59:10
scs

v2.6.0

  • The LoadAndSave() method has been rewritten, so that it no longer buffers responses (which should improve performance) and is now compatible with http.ResponseController.
2023-03-05 19:41:26
scs
2021-12-03 01:50:42
scs

v2.5.0

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.
2020-07-29 19:26:04
scs

v2.4.0

  • Fix data race in generateContextKey
  • Improve test structure and add mockstore package
2020-05-03 21:49:15
scs

2020-05-03 21:39:27
scs

2019-09-04 00:41:11
scs
2019-06-18 18:53:33
scs