google-auth-library
Advanced tools
Changelog
4.0.0 (2019-05-08)
Changelog
v3.1.1
03-18-2019 08:32 PDT
Changelog
v3.1.0
02-08-2019 08:29 PST
Changelog
v3.0.0
01-16-2019 10:00 PST
Welcome to 3.0 🎉 This release has it all. New features, bug fixes, breaking changes, performance improvements - something for everyone! The biggest addition to this release is support for the browser via Webpack.
This release has breaking changes. This release has a few breaking changes. These changes are unlikely to affect most clients.
axios
to gaxios
The 2.0 version of this library used the axios library for making HTTP requests. In the 3.0 release, this has been replaced by a mostly API compatible library gaxios. The new request library natively supports proxies, and comes with a smaller dependency chain. While this is mostly an implementation detail, the request
method was directly exposed via the GoogleAuth.request
and OAuth2Client.request
methods. The gaxios library aims to provide an API compatible implementation of axios, but that can never be 100% promised. If you run into bugs or differences that cause issues - please do let us know.
generateCodeVerifier
is now generateCodeVerifierAsync
The OAuth2Client.generateCodeVerifier
method has been replaced by the OAuth2Client.generateCodeVerifierAsync
method. It has changed from a synchronous method to an asynchronous method to support async browser crypto APIs required for Webpack support.
verifySignedJwtWithCerts
is now verifySignedJwtWithCertsAsync
The OAuth2Client.verifySignedJwtWithCerts
method has been replaced by the OAuth2Client.verifySignedJwtWithCertsAsync
method. It has changed from a synchronous method to an asynchronous method to support async browser crypto APIs required for Webpack support.
gaxios
for HTTP requests instead of axios
(#593)