Skip to content

Releases: shaj13/go-guardian

v2.5.0

17 Jan 20:26
546e864
Compare
Choose a tag to compare

2.5.0 (2021-01-17)

Chores

Documentation

  • update readme (e4b4fcb)
  • update readme (59ba7fc)
  • mention store and delete must be followed with set cookie (f9b557d)
  • update readme (0549dc9)

Feature

  • support jwt (2d97a18)
  • add 2fa OTP Strategy (339f3cb)
  • support kubernetes token review (b4f3bb0)
  • add token pkg and support apikey, x header (4a114db)
  • replicator cache (29d6874)
  • filesystem cache (611491e)
  • cache result of basic (d4e6508)
  • add LRU cache (9191354)
  • add session adapter to mount gorilla store (a8cf601)
  • add session adapter to mount gorilla store (76ff76d)

Bug Fixes

  • claims use jwt.StandardClaims (175ea3f)
  • jwt kid type assertion bug (14d0164)
  • add expiry date/time to token strategy (f509a3b)
  • add lru peek and update (710ff6e)
  • add lru update func (b69c1ab)
  • remove .goreleaser.yml (8519544)
  • refactor fifo tests and add update func (b86e6ae)
  • expose otp errors (5661952)
  • add Verify skew (a8da708)
  • remove tfa package (72594cf)
  • add no cache struct (5b73a2a)
  • type in twofactor (1447e29)
  • option interface honor interface{} instead of startegy for more flexibility (091444e)
  • expose helper func to store/get user info in/from ctx (c31102b)
  • cached basic strategy store pass as plain text unless user provide hashing algo (b0bb6af)
  • support sem versioning and auto release (14a790e)
  • deprecate bearer strategy (ffa0a71)
  • add set WWW-Authenticate header (3f670b1)
  • support gob/json Marshaling/Unmarshaling (9ec8cf3)
  • expose cache keys (445b5fd)
  • add fifo tests (1fd9228)
  • remove sync.Map from authenticator and make it not safe for concurrent ac (512fa4b)
  • rename NewCachedToken to New (a69cb5e)
  • replace sync.Map to builtin wit mutex (6b0fcbb)
  • rename storage to store (ada6dbe)

Code Refactoring

  • basic and support custom password compare (ed638f8)
  • move tfa to otp and enhance API (c220d5c)

Tests

  • fix issue 40 (6ac97fb)
  • fix misstake in test table for seesion (d872e60)

v2.4.3

17 Jan 20:20
Compare
Choose a tag to compare

2.4.3 (2021-01-17)

Bug Fixes

  • jwt and token package supports scoped tokens (f22b096)
  • add verify func (fdd8318)

v2.4.2

13 Jan 17:18
Compare
Choose a tag to compare

2.4.2 (2021-01-13)

Bug Fixes

  • claims use jwt.StandardClaims (175ea3f)

v2.4.1

12 Jan 15:47
Compare
Choose a tag to compare

2.4.1 (2021-01-12)

Bug Fixes

  • jwt kid type assertion bug (14d0164)

v2.4.0

12 Jan 15:29
Compare
Choose a tag to compare

2.4.0 (2021-01-12)

Chores

Documentation

  • update readme (e4b4fcb)
  • update readme (59ba7fc)
  • mention store and delete must be followed with set cookie (f9b557d)
  • update readme (0549dc9)

Feature

  • support jwt (2d97a18)
  • add 2fa OTP Strategy (339f3cb)
  • support kubernetes token review (b4f3bb0)
  • add token pkg and support apikey, x header (4a114db)
  • replicator cache (29d6874)
  • filesystem cache (611491e)
  • cache result of basic (d4e6508)
  • add LRU cache (9191354)
  • add session adapter to mount gorilla store (a8cf601)
  • add session adapter to mount gorilla store (76ff76d)

Bug Fixes

  • add expiry date/time to token strategy (f509a3b)
  • add lru peek and update (710ff6e)
  • add lru update func (b69c1ab)
  • remove .goreleaser.yml (8519544)
  • refactor fifo tests and add update func (b86e6ae)
  • expose otp errors (5661952)
  • add Verify skew (a8da708)
  • remove tfa package (72594cf)
  • add no cache struct (5b73a2a)
  • type in twofactor (1447e29)
  • option interface honor interface{} instead of startegy for more flexibility (091444e)
  • expose helper func to store/get user info in/from ctx (c31102b)
  • cached basic strategy store pass as plain text unless user provide hashing algo (b0bb6af)
  • support sem versioning and auto release (14a790e)
  • deprecate bearer strategy (ffa0a71)
  • add set WWW-Authenticate header (3f670b1)
  • support gob/json Marshaling/Unmarshaling (9ec8cf3)
  • expose cache keys (445b5fd)
  • add fifo tests (1fd9228)
  • remove sync.Map from authenticator and make it not safe for concurrent ac (512fa4b)
  • rename NewCachedToken to New (a69cb5e)
  • replace sync.Map to builtin wit mutex (6b0fcbb)
  • rename storage to store (ada6dbe)

Code Refactoring

  • basic and support custom password compare (ed638f8)
  • move tfa to otp and enhance API (c220d5c)

Tests

  • fix issue 40 (6ac97fb)
  • fix misstake in test table for seesion (d872e60)

v2.3.0

12 Jan 14:11
Compare
Choose a tag to compare

2.3.0 (2021-01-12)

Chores

Documentation

  • update readme (e4b4fcb)
  • update readme (59ba7fc)
  • mention store and delete must be followed with set cookie (f9b557d)
  • update readme (0549dc9)

Feature

  • support jwt (1a6b451)
  • add 2fa OTP Strategy (339f3cb)
  • support kubernetes token review (b4f3bb0)
  • add token pkg and support apikey, x header (4a114db)
  • replicator cache (29d6874)
  • filesystem cache (611491e)
  • cache result of basic (d4e6508)
  • add LRU cache (9191354)
  • add session adapter to mount gorilla store (a8cf601)
  • add session adapter to mount gorilla store (76ff76d)

Bug Fixes

  • add expiry date/time to token strategy (f509a3b)
  • add lru peek and update (710ff6e)
  • add lru update func (b69c1ab)
  • remove .goreleaser.yml (8519544)
  • refactor fifo tests and add update func (b86e6ae)
  • expose otp errors (5661952)
  • add Verify skew (a8da708)
  • remove tfa package (72594cf)
  • add no cache struct (5b73a2a)
  • type in twofactor (1447e29)
  • option interface honor interface{} instead of startegy for more flexibility (091444e)
  • expose helper func to store/get user info in/from ctx (c31102b)
  • cached basic strategy store pass as plain text unless user provide hashing algo (b0bb6af)
  • support sem versioning and auto release (14a790e)
  • deprecate bearer strategy (ffa0a71)
  • add set WWW-Authenticate header (3f670b1)
  • support gob/json Marshaling/Unmarshaling (9ec8cf3)
  • expose cache keys (445b5fd)
  • add fifo tests (1fd9228)
  • remove sync.Map from authenticator and make it not safe for concurrent ac (512fa4b)
  • rename NewCachedToken to New (a69cb5e)
  • replace sync.Map to builtin wit mutex (6b0fcbb)
  • rename storage to store (ada6dbe)

Code Refactoring

  • basic and support custom password compare (ed638f8)
  • move tfa to otp and enhance API (c220d5c)

Tests

  • fix issue 40 (6ac97fb)
  • fix misstake in test table for seesion (d872e60)

v2.2.0

12 Jan 14:05
Compare
Choose a tag to compare

2.2.0 (2021-01-12)

Feature

v2.1.0

17 Oct 18:52
Compare
Choose a tag to compare

2.1.0 (2020-10-17)

Chores

Documentation

  • update readme (e4b4fcb)
  • update readme (59ba7fc)
  • mention store and delete must be followed with set cookie (f9b557d)
  • update readme (0549dc9)

Feature

  • add 2fa OTP Strategy (339f3cb)
  • support kubernetes token review (b4f3bb0)
  • add token pkg and support apikey, x header (4a114db)
  • replicator cache (29d6874)
  • filesystem cache (611491e)
  • cache result of basic (d4e6508)
  • add LRU cache (9191354)
  • add session adapter to mount gorilla store (a8cf601)
  • add session adapter to mount gorilla store (76ff76d)

Bug Fixes

  • add expiry date/time to token strategy (f509a3b)
  • add lru peek and update (710ff6e)
  • add lru update func (b69c1ab)
  • remove .goreleaser.yml (8519544)
  • refactor fifo tests and add update func (b86e6ae)
  • expose otp errors (5661952)
  • add Verify skew (a8da708)
  • remove tfa package (72594cf)
  • add no cache struct (5b73a2a)
  • type in twofactor (1447e29)
  • option interface honor interface{} instead of startegy for more flexibility (091444e)
  • expose helper func to store/get user info in/from ctx (c31102b)
  • cached basic strategy store pass as plain text unless user provide hashing algo (b0bb6af)
  • support sem versioning and auto release (14a790e)
  • deprecate bearer strategy (ffa0a71)
  • add set WWW-Authenticate header (3f670b1)
  • support gob/json Marshaling/Unmarshaling (9ec8cf3)
  • expose cache keys (445b5fd)
  • add fifo tests (1fd9228)
  • remove sync.Map from authenticator and make it not safe for concurrent ac (512fa4b)
  • rename NewCachedToken to New (a69cb5e)
  • replace sync.Map to builtin wit mutex (6b0fcbb)
  • rename storage to store (ada6dbe)

Code Refactoring

  • basic and support custom password compare (ed638f8)
  • move tfa to otp and enhance API (c220d5c)

Tests

  • fix issue 40 (6ac97fb)
  • fix misstake in test table for seesion (d872e60)

v2.0.2

17 Oct 18:46
Compare
Choose a tag to compare

2.0.2 (2020-10-17)

Chores

Documentation

Bug Fixes

  • add expiry date/time to token strategy (433e0bf)

Fix invalid version: module contains a go.mod file,

01 Oct 14:23
Compare
Choose a tag to compare

Fix invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2