| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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).
Co-authored-by: google-cloud-policy-bot[bot] <80869356+google-cloud-policy-bot[bot]@users.noreply.github.com> Co-authored-by: Jeff Ching <chingor@google.com>
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.)
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
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
build: configure branch 0.25.2-sp as a release branch (#664)
feat: Returning an issuer claim on request errors (#656)
* logging issuer claim for service account on errors Co-authored-by: arithmetic1728 <58957152+arithmetic1728@users.noreply.github.com>
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 <chingor@google.com>
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 <emilyball@google.com>
Source-Date: Mon May 17 09:54:56 2021 -0700
Source-Repo: googleapis/synthtool
Source-Sha: c86c7a60985644eab557949363a38301d40d78d2
Source-Link: googleapis/synthtool@c86c7a6chore: 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
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 <lesv@users.noreply.github.com>
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
🤖 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).
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.25.5...v0.26.0
| Back | FazBrowse Home | New Git URL |