Skip to content

Releases: alexedwards/scs

v2.8.0

16 Mar 13:51
7e11d57
Compare
Choose a tag to compare

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

12 Nov 09:18
Compare
Choose a tag to compare

v2.6.0

22 Oct 16:59
Compare
Choose a tag to compare
  • 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

05 Mar 11:45
a07530f
Compare
Choose a tag to compare
Merge pull request #157 from zaeph/bump-pgx

Bump pgx from v4 to v5

v2.5.0

02 Dec 17:54
Compare
Choose a tag to compare

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

29 Jul 11:28
8c9ddd4
Compare
Choose a tag to compare
  • Fix data race in generateContextKey
  • Improve test structure and add mockstore package

v2.3.1

03 May 13:49
Compare
Choose a tag to compare
v2.3.1

v2.3.0

03 May 13:40
Compare
Choose a tag to compare
v2.3.0

v2.2.0

03 Sep 16:41
Compare
Choose a tag to compare
v2.2.0

v2.1.0

18 Jun 10:55
Compare
Choose a tag to compare
v2.1.0