-
Notifications
You must be signed in to change notification settings - Fork 1k
Comparing changes
Open a pull request
base repository: golang/oauth2
base: v0.8.0
head repository: golang/oauth2
compare: v0.12.0
- 7 commits
- 12 files changed
- 4 contributors
Commits on Jun 13, 2023
-
go.mod: update golang.org/x dependencies
Update golang.org/x dependencies to their latest tagged versions. Once this CL is submitted, and post-submit testing succeeds on all first-class ports across all supported Go versions, this repository will be tagged with its next minor version. Change-Id: I7a693f42e110b957194337a0d355dd1f2a5e14ca Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/502797 Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Gopher Robot <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Carlos Amedee <[email protected]> Run-TryBot: Gopher Robot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2323c81 - Browse repository at this point
Copy the full SHA 2323c81View commit details
Commits on Jun 26, 2023
-
all: update dependencies to their latest versions
This change was prepared by running: go1.21rc2 get -u -t ./... go1.21rc2 mod tidy -compat=1.17 Change-Id: I533c4361aae073b7a5280aad2c2e5eea752df62a Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/506296 Reviewed-by: Cody Oss <[email protected]> Run-TryBot: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Bryan Mills <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 989acb1 - Browse repository at this point
Copy the full SHA 989acb1View commit details
Commits on Jul 5, 2023
-
go.mod: update golang.org/x dependencies
Update golang.org/x dependencies to their latest tagged versions. Once this CL is submitted, and post-submit testing succeeds on all first-class ports across all supported Go versions, this repository will be tagged with its next minor version. Change-Id: I6b389549fe4bc53a62cb383c5fb10156ccfcffba Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/507840 Reviewed-by: Dmitri Shuralyov <[email protected]> Run-TryBot: Gopher Robot <[email protected]> Auto-Submit: Gopher Robot <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec5679f - Browse repository at this point
Copy the full SHA ec5679fView commit details -
all: update go version to 1.18
Go versions 1.16 and 1.17 are long since unsupported per Go release policy (https://go.dev/doc/devel/release#policy). Updating go.mod's go statement to 1.18 makes it so that 'go mod tidy' doesn't include checksums needed for the full module graph loaded by Go 1.16¹ that were recently added in CL 507840. It also makes go fix remove the now-obsolete // +build lines². Done using cmd/go at go1.21rc2: $ go get [email protected] go: upgraded go 1.17 => 1.18 $ go mod tidy $ go fix ./... google/appengine_gen1.go: fixed buildtag google/appengine_gen2_flex.go: fixed buildtag internal/client_appengine.go: fixed buildtag ¹ https://go.dev/ref/mod#graph-pruning ² https://go.dev/doc/go1.18#go-build-lines Change-Id: I6c6295adef1f5c64a196c2e66005763893efe5e7 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/507878 Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Cody Oss <[email protected]> Run-TryBot: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ac6658e - Browse repository at this point
Copy the full SHA ac6658eView commit details
Commits on Aug 4, 2023
-
go.mod: update golang.org/x dependencies
Update golang.org/x dependencies to their latest tagged versions. Once this CL is submitted, and post-submit testing succeeds on all first-class ports across all supported Go versions, this repository will be tagged with its next minor version. Change-Id: I953aeb97bb9ed634f69dc93cf1f21392261c930c Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/516037 Reviewed-by: Dmitri Shuralyov <[email protected]> Run-TryBot: Gopher Robot <[email protected]> Reviewed-by: Carlos Amedee <[email protected]> Auto-Submit: Gopher Robot <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e4a4e2 - Browse repository at this point
Copy the full SHA 2e4a4e2View commit details
Commits on Aug 9, 2023
-
oauth2: move global auth style cache to be per-Config
In 80673b4 (https://go.dev/cl/157820) I added a never-shrinking package-global cache to remember which auto-detected auth style (HTTP headers vs POST) was supported by a certain OAuth2 server, keyed by its URL. Unfortunately, some multi-tenant SaaS OIDC servers behave poorly and have one global OpenID configuration document for all of their customers which says ("we support all auth styles! you pick!") but then give each customer control of which style they specifically accept. This is bogus behavior on their part, but the oauth2 package's global caching per URL isn't helping. (It's also bad to have a package-global cache that can never be GC'ed) So, this change moves the cache to hang off the oauth *Configs instead. Unfortunately, it does so with some backwards compatiblity compromises (an atomic.Value hack), lest people are using old versions of Go still or copying a Config by value, both of which this package previously accidentally supported, even though they weren't tested. This change also means that anybody that's repeatedly making ephemeral oauth.Configs without an explicit auth style will be losing & reinitializing their cache on any auth style failures + fallbacks to the other style. I think that should be pretty rare. People seem to make an oauth2.Config once earlier and stash it away somewhere (often deep in a token fetcher or HTTP client/transport). Change-Id: I91f107368ab3c3d77bc425eeef65372a589feb7b Signed-off-by: Brad Fitzpatrick <[email protected]> Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/515675 TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Roland Shoemaker <[email protected]> Reviewed-by: Adrian Dewhurst <[email protected]> Reviewed-by: Michael Knyszek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a835fc4 - Browse repository at this point
Copy the full SHA a835fc4View commit details
Commits on Sep 5, 2023
-
go.mod: update golang.org/x dependencies
Update golang.org/x dependencies to their latest tagged versions. Change-Id: I2fb95ca59417e20377bc315094221fa7165128c8 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/525675 Reviewed-by: Heschi Kreinick <[email protected]> Run-TryBot: Gopher Robot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Gopher Robot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0708528 - Browse repository at this point
Copy the full SHA 0708528View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.8.0...v0.12.0