Skip to content

v0.47.0

Latest
Compare
Choose a tag to compare
@aeneasr aeneasr released this 16 Jul 08:29
· 9 commits to master since this release
3ec8db8

BREAKING CHANGES: Going forward, please instantiate the HMACSHAStrategy using oauth2.NewHMACSHAStrategy():

-var hmacshaStrategy = oauth2.HMACSHAStrategy{
-	Enigma: &hmac.HMACStrategy{Config: &fosite.Config{GlobalSecret: []byte("foobarfoobarfoobarfoobarfoobarfoobarfoobarfoobar")}},
-	Config: &fosite.Config{
-		AccessTokenLifespan:   time.Hour * 24,
-		AuthorizeCodeLifespan: time.Hour * 24,
-	},
-}

+var hmacshaStrategy = oauth2.NewHMACSHAStrategy(
+	&hmac.HMACStrategy{Config: &fosite.Config{GlobalSecret: []byte("foobarfoobarfoobarfoobarfoobarfoobarfoobarfoobar")}},
+	&fosite.Config{
+		AccessTokenLifespan:   time.Hour * 24,
+		AuthorizeCodeLifespan: time.Hour * 24,
+	},
+)

What's Changed

  • chore(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.3 by @dependabot in #800
  • chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 by @dependabot in #804
  • chore(deps-dev): bump braces from 3.0.2 to 3.0.3 by @dependabot in #811
  • chore: remove unneeded dependency github.com/ecordell/optgen by @James-REANNZ in #810
  • chore(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.4 to 0.7.7 by @dependabot in #812
  • chore(deps): bump golang.org/x/net from 0.13.0 to 0.23.0 by @dependabot in #808
  • refactor: split HMAC SHA strategy by @aeneasr in #813
  • fix: WriteIntrospectionResponse should always issue headers by @mitar in #802
  • revert: splitting the HMAC SHA strategy (#813) by @aeneasr in #815
  • refactor: improve dependency injection capabilities by @aeneasr in #816

New Contributors

Full Changelog: v0.46.1...v0.47.0