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: googleapis/google-auth-library-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.25.5
Choose a base ref
...
head repository: googleapis/google-auth-library-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.26.0
Choose a head ref
  • 18 commits
  • 26 files changed
  • 13 contributors

Commits on Apr 22, 2021

  1. chore: release 0.25.6-SNAPSHOT (#640)

    🤖 I have created a release \*beep\* \*boop\*
    ---
    ### Updating meta-information for bleeding-edge SNAPSHOT release.
    ---
    
    
    This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
    release-please[bot] authored Apr 22, 2021
    Configuration menu
    Copy the full SHA
    166cce4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07d6cbc View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2021

  1. Configuration menu
    Copy the full SHA
    b4e6f1a View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2021

  1. chore: add SECURITY.md (#643)

    Co-authored-by: google-cloud-policy-bot[bot] <80869356+google-cloud-policy-bot[bot]@users.noreply.github.com>
    Co-authored-by: Jeff Ching <[email protected]>
    google-cloud-policy-bot[bot] and chingor13 authored Apr 28, 2021
    Configuration menu
    Copy the full SHA
    3b20079 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2021

  1. build(java): switch to release-please for release tagging (#647)

    This PR was generated using Autosynth. 🌈
    
    Synth log will be available here:
    https://source.cloud.google.com/results/invocations/abc992c8-b5db-439a-b45e-5c80ab86a9fb/targets
    
    - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
    yoshi-automation authored May 3, 2021
    Configuration menu
    Copy the full SHA
    5d7df3d View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. Configuration menu
    Copy the full SHA
    5ef4514 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2021

  1. chore: adding cloud-rad java xrefs (#651)

    This PR was generated using Autosynth. 🌈
    
    Synth log will be available here:
    https://source.cloud.google.com/results/invocations/0cc59cf8-7a9f-4a86-a52e-a4a3158a6529/targets
    
    - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
    
    Source-Link: googleapis/synthtool@046994f
    yoshi-automation authored May 6, 2021
    Configuration menu
    Copy the full SHA
    3b0c5ca View commit details
    Browse the repository at this point in the history

Commits on May 9, 2021

  1. Configuration menu
    Copy the full SHA
    292e81a View commit details
    Browse the repository at this point in the history

Commits on May 12, 2021

  1. chore: remove codecov (#649)

    elharo authored May 12, 2021
    Configuration menu
    Copy the full SHA
    cc13ac6 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2021

  1. feat: added getter for credentials object in HttpCredentialsAdapter (#…

    …658)
    
    * feat: added getter for credentials object in HttpCredentialsAdapter
    
    * add test for getCredentials
    
    * fix imports and formatting
    shubha-rajan authored May 13, 2021
    Configuration menu
    Copy the full SHA
    5a946ea View commit details
    Browse the repository at this point in the history

Commits on May 14, 2021

  1. Configuration menu
    Copy the full SHA
    3d5195a View commit details
    Browse the repository at this point in the history

Commits on May 17, 2021

  1. Configuration menu
    Copy the full SHA
    9633e45 View commit details
    Browse the repository at this point in the history
  2. feat: Returning an issuer claim on request errors (#656)

    * logging issuer claim for service account on errors
    
    Co-authored-by: arithmetic1728 <[email protected]>
    TimurSadykov and arithmetic1728 authored May 17, 2021
    Configuration menu
    Copy the full SHA
    95d70ae View commit details
    Browse the repository at this point in the history

Commits on May 19, 2021

  1. chore: Re-generated to pick up changes from synthtool (#673)

    * changes without context
    
            autosynth cannot find the source of changes triggered by earlier changes in this
            repository, or by version upgrades to tools such as linters.
    
    * build(java): remove codecov action
    
    Source-Author: Jeff Ching <[email protected]>
    Source-Date: Thu May 13 11:05:41 2021 -0700
    Source-Repo: googleapis/synthtool
    Source-Sha: 4f4b1b9b8d8b52f1e9e4a76165896debce5ab7f1
    Source-Link: googleapis/synthtool@4f4b1b9
    
    * chore: add changelog to cloud-rad
    
    Source-Author: Emily Ball <[email protected]>
    Source-Date: Mon May 17 09:54:56 2021 -0700
    Source-Repo: googleapis/synthtool
    Source-Sha: c86c7a60985644eab557949363a38301d40d78d2
    Source-Link: googleapis/synthtool@c86c7a6
    yoshi-automation authored May 19, 2021
    1 Configuration menu
    Copy the full SHA
    32a56e6 View commit details
    Browse the repository at this point in the history
  2. chore: update cloud-rad doclet (#671)

    Updates cloud rad doc generation to use new [doclet](https://github.com/googleapis/java-docfx-doclet). Added the new doclet jar to cloud-devrel-kokoro-resources/docfx bucket
    eaball35 authored May 19, 2021
    Configuration menu
    Copy the full SHA
    469b160 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2021

  1. feat: enable pre-emptive async oauth token refreshes (#646)

    * feat: add pre-emptive async oauth token refreshes
    
    This is currently a rough sketch and should not be merged. I just wanted to get some feedback here.
    
    The current implementation of oauth refresh offloads the IO to a separate executor, however when a token expires, all calls to getRequestMetadata would hang until the token is refreshed.
    This PR is a rough sketch to improve the situation by adding a stale state to token. If a token is within a minute of expiration, the first request to notice this, will spawn a refresh on the executor and immediately return with the existing token. This avoids hourly latency spikes for grpc.
    
    The implementation uses guava's ListenableFutures to manage the async refresh state. Although the apis are marked BetaApi in guava 19, they are GA in guava 30
    
    * The class introduces 3 distinct states:
      * Expired -  the token is not usable
      * Stale - the token is useable, but its time to refresh
      * Fresh - token can be used without any extra effort
    * All of the funtionality of getRequestMetadata has been extracted to asyncFetch. The new function will check if the token is unfresh and schedule a refresh using the executor
    * asyncFetch uses ListenableFutures to wrap state: if the token is not expired, an immediate future is returned. If the token is expired the future of the refresh task is returned
    * A helper refreshAsync 	& finishRefreshAsync are also introduced. They schedule the actual refresh and propagate the side effects
    * To handle blocking invocation: the async functionality is re-used but a DirectExecutor is used. All ExecutionErrors are unwrapped. In most cases the stack trace will be preserved because of the DirectExecutor. However if the async & sync methods are interleaved, it's possible that a sync call will await an async refresh task. In this case the callers stacktrace will not be present.
    
    * minor doc
    
    * update broken test
    
    * prep for merging with master: The initial async refresh feature was implemented on top of 0.8, so now I'm backporting features to minimize the merge conflicts
    
    * in blocking mode, when a token is stale, only block the first caller and allow subsequent callers to use the stale token
    
    * use private monitor to minimize change noise
    
    * minor tweaks and test
    
    * format
    
    * fix ExternalAccountCredentials
    
    * fix boundary checks and add a few more tests
    
    * add another test for making sure that blocking stacktraces include the caller
    
    * address feedback
    
    * optimize for the common case
    
    * codestyle
    
    * use Date to calculate cache state to fix tests that mock access token
    
    * remove accidental double call
    
    Co-authored-by: Les Vogel <[email protected]>
    igorbernstein2 and lesv authored May 20, 2021
    Configuration menu
    Copy the full SHA
    e3f4c7e View commit details
    Browse the repository at this point in the history
  2. feat: add gcf-owl-bot[bot] to ignoreAuthors (#674)

    This PR was generated using Autosynth. 🌈
    
    Synth log will be available here:
    https://source.cloud.google.com/results/invocations/96d19f1f-8950-4b29-86f7-67c9559ba08b/targets
    
    - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
    
    Source-Link: googleapis/synthtool@7332178
    yoshi-automation authored May 20, 2021
    Configuration menu
    Copy the full SHA
    359b20f View commit details
    Browse the repository at this point in the history
  3. chore: release 0.26.0 (#644)

    🤖 I have created a release \*beep\* \*boop\*
    ---
    ## [0.26.0](https://www.github.com/googleapis/google-auth-library-java/compare/v0.25.5...v0.26.0) (2021-05-20)
    
    
    ### Features
    
    * add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#674](https://www.github.com/googleapis/google-auth-library-java/issues/674)) ([359b20f](https://www.github.com/googleapis/google-auth-library-java/commit/359b20f24f88e09b6b104c61ca63a1b604ea64d2))
    * added getter for credentials object in HttpCredentialsAdapter ([#658](https://www.github.com/googleapis/google-auth-library-java/issues/658)) ([5a946ea](https://www.github.com/googleapis/google-auth-library-java/commit/5a946ea5e0d974611f2205f468236db4b931e486))
    * enable pre-emptive async oauth token refreshes ([#646](https://www.github.com/googleapis/google-auth-library-java/issues/646)) ([e3f4c7e](https://www.github.com/googleapis/google-auth-library-java/commit/e3f4c7eac0417705553ef8259599ec29fc8ad9b4))
    * Returning an issuer claim on request errors ([#656](https://www.github.com/googleapis/google-auth-library-java/issues/656)) ([95d70ae](https://www.github.com/googleapis/google-auth-library-java/commit/95d70ae0f5f4c985455f913ddef14ebe75500656))
    
    
    ### Bug Fixes
    
    * use orginal url as audience for self signed jwt if scheme or host is null ([#642](https://www.github.com/googleapis/google-auth-library-java/issues/642)) ([b4e6f1a](https://www.github.com/googleapis/google-auth-library-java/commit/b4e6f1a0bd17dd31edc85ed4879cea75857fd747))
    ---
    
    
    This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
    release-please[bot] authored May 20, 2021
    Configuration menu
    Copy the full SHA
    db2f85a View commit details
    Browse the repository at this point in the history
Loading