Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: golang/oauth2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.31.0
Choose a base ref
...
head repository: golang/oauth2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.33.0
Choose a head ref
  • 3 commits
  • 10 files changed
  • 3 contributors

Commits on Sep 16, 2025

  1. oauth2: use strings.Builder instead of bytes.Buffer

    The former does not make a copy of the accumulated buffer
    to produce a string.
    
    WriteByte() is faster than WriteRune() and we are not
    appending non-ASCII here.
    
    Change-Id: I562461eec2fdcf6230e46b3011fabe0979d05044
    GitHub-Last-Rev: b7845f8
    GitHub-Pull-Request: #785
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/694715
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Mark Freeman <markfreeman@google.com>
    Reviewed-by: Sean Liao <sean@liao.dev>
    Auto-Submit: Sean Liao <sean@liao.dev>
    ash2k authored and gopherbot committed Sep 16, 2025
    Configuration menu
    Copy the full SHA
    792c877 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2025

  1. x/oauth2: populate RetrieveError from DeviceAuth

    Endpoints may return errors when attempting to request device
    authorization. Currently, these error codes are ignored and an
    otherwise empty RetrieveError returned. This change populates
    the RetrieveError similar to the oauth2 token exchange.
    
    Fixes golang/go#75759
    
    Change-Id: Ic00fecce290d3d3b4a40697b54ce74cc8cacab4d
    GitHub-Last-Rev: 32c6ab5
    GitHub-Pull-Request: #794
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/709215
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: David Chase <drchase@google.com>
    Reviewed-by: Sean Liao <sean@liao.dev>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    andig authored and seankhliao committed Oct 21, 2025
    Configuration menu
    Copy the full SHA
    fd15e0f View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2025

  1. all: fix some comments

    Change-Id: I3dd3785de7071e34320a148f35d4caa97cfd6db1
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/713361
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: David Chase <drchase@google.com>
    Reviewed-by: Sean Liao <sean@liao.dev>
    Auto-Submit: Sean Liao <sean@liao.dev>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    cuishuang authored and gopherbot committed Oct 23, 2025
    Configuration menu
    Copy the full SHA
    f28b0b5 View commit details
    Browse the repository at this point in the history
Loading