-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update dependency google-auth-library to v2 #962
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
googlebot
added
the
cla: yes
This human has signed the Contributor License Agreement.
label
Nov 30, 2018
renovate
bot
force-pushed
the
renovate/google-auth-library-2.x
branch
7 times, most recently
from
November 30, 2018 15:36
36c5be9
to
9f5bc4b
Compare
renovate
bot
force-pushed
the
renovate/google-auth-library-2.x
branch
9 times, most recently
from
December 7, 2018 23:55
0df14a1
to
d836448
Compare
renovate
bot
force-pushed
the
renovate/google-auth-library-2.x
branch
5 times, most recently
from
December 10, 2018 23:13
0c82ec4
to
bd1cd0c
Compare
renovate
bot
changed the title
Update dependency google-auth-library to v2
fix(deps): update dependency google-auth-library to v2
Dec 11, 2018
renovate
bot
force-pushed
the
renovate/google-auth-library-2.x
branch
6 times, most recently
from
December 14, 2018 16:26
38eddd7
to
044d3e1
Compare
This was referenced Mar 29, 2021
This was referenced Apr 7, 2022
This was referenced Jun 20, 2023
This was referenced Jun 20, 2023
This was referenced Jun 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.3.1
->^2.0.0
Release Notes
google/google-auth-library-nodejs
v2.0.1
Compare Source
Implementation Changes
Dependencies
Documentation
Internal / Testing Changes
v2.0.0
Compare Source
Well hello 2.0 🎉 This release has multiple breaking changes. It also has a lot of bug fixes.
Breaking Changes
Support for node.js 4.x and 9.x has been dropped
These versions of node.js are no longer supported.
The
getRequestMetadata
method has been deprecatedThe
getRequestMetadata
method has been deprecated on theIAM
,OAuth2
,JWT
, andJWTAccess
classes. ThegetRequestHeaders
method should be used instead. The methods have a subtle difference: thegetRequestMetadata
method returns an object with a headers property, which contains the authorization header. ThegetRequestHeaders
method simply returns the headers.Old code
New code
The
createScopedRequired
method has been deprecatedThe
createScopedRequired
method has been deprecated on multiple classes. ThecreateScopedRequired
andcreateScoped
methods on theJWT
class were largely in place to help inform clients when scopes were required in an application default credential scenario. Instead of checking if scopes are required after creating the client, instead scopes should just be passed either into theGoogleAuth.getClient
method, or directly into theJWT
constructor.Old code
New code
The
refreshAccessToken
method has been deprecatedThe
OAuth2.refreshAccessToken
method has been deprecated. ThegetAccessToken
,getRequestMetadata
, andrequest
methods will all refresh the token if needed automatically. There is no need to ever manually refresh the token.As always, if you run into any problems... please let us know!
Features
Bug Fixes
Buffer.from
instead ofnew Buffer
(#400)Breaking changes
createScopedRequired
methods (#410)refreshAccessToken
methods (#411)getDefaultProjectId
method (#402)Build / Test changes
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.