Releases: alexedwards/scs
Releases · alexedwards/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
andFlusher
interfaces for Go 1.20+ (fixes issues #188, #196, #186) - Documentation improvements thanks to @Daniel-Sogbey.
v2.7.0
v2.6.0
- The
LoadAndSave()
method has been rewritten, so that it no longer buffers responses (which should improve performance) and is now compatible withhttp.ResponseController
.
v2.5.1
Merge pull request #157 from zaeph/bump-pgx Bump pgx from v4 to v5
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()
andRememberMe()
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
- Fix data race in generateContextKey
- Improve test structure and add mockstore package
v2.3.1
v2.3.1
v2.3.0
v2.3.0
v2.2.0
v2.2.0
v2.1.0
v2.1.0