CHANGELOG.md 14.8 KB

Changelog

npm history

5.2.1 (2021-01-26)

Bug Fixes

5.2.0 (2021-01-14)

Features

  • request new tokens before they expire (#349) (e84d9a3)

5.1.0 (2020-11-14)

Features

5.0.5 (2020-10-22)

Bug Fixes

  • deps: update dependency gaxios to v4 (#342) (7954a19)

5.0.4 (2020-10-06)

Bug Fixes

5.0.3 (2020-07-27)

Bug Fixes

  • move gitattributes files to node templates (#322) (1d1786b)

5.0.2 (2020-07-09)

Bug Fixes

5.0.1 (2020-04-13)

Bug Fixes

5.0.0 (2020-03-24)

⚠ BREAKING CHANGES

  • drop Node 8 from engines (#284)
  • typescript@3.7.x introduced breaking changes to compiled code

Features

Build System

4.1.4 (2020-01-06)

Bug Fixes

  • deps: pin TypeScript below 3.7.0 (f1ae7b6)
  • deps: update dependency jws to v4 (#251) (e13542f)

4.1.3 (2019-11-15)

Bug Fixes

4.1.2 (2019-11-13)

Bug Fixes

4.1.1 (2019-10-31)

Bug Fixes

4.1.0 (2019-09-24)

Features

  • allow upstream libraries to force token refresh (#229) (1fd4dd1)

4.0.0 (2019-07-09)

⚠ BREAKING CHANGES

  • This commit creates multiple breaking changes. The getToken() method previously returned Promise<string>, where the string was the access_token returned from the response. However, the oauth2 endpoint could return a variety of other fields, such as an id_token in special cases.
const token = await getToken();
// old response: 'some.access.token'
// new response: { access_token: 'some.access.token'}

To further support this change, the GoogleToken class no longer exposes a token variable. It now exposes rawToken, accessToken, and idToken fields which can be used to access the relevant values returned in the response.

Bug Fixes

3.0.2 (2019-06-26)

Bug Fixes

3.0.1 (2019-06-13)

Bug Fixes

3.0.0 (2019-05-07)

Bug Fixes

  • deps: update dependency gaxios to v2 (#191) (da65ea7)
  • deps: update dependency google-p12-pem to v2 (#196) (b510f06)
  • fs.readFile does not exist in browser (#186) (a16d8e7)

Build System

BREAKING CHANGES

  • upgrade engines field to >=8.10.0 (#194)

v2.3.3

03-13-2019 14:54 PDT

Bug Fixes

  • fix: propagate error message (#173)

Documentation

  • docs: update links in contrib guide (#171)
  • docs: move CONTRIBUTING.md to root (#166)
  • docs: add lint/fix example to contributing guide (#164)

Internal / Testing Changes

  • build: Add docuploader credentials to node publish jobs (#176)
  • build: use node10 to run samples-test, system-test etc (#175)
  • build: update release configuration
  • chore(deps): update dependency mocha to v6
  • build: use linkinator for docs test (#170)
  • build: create docs test npm scripts (#169)
  • build: test using @grpc/grpc-js in CI (#168)
  • build: ignore googleapis.com in doc link check (#162)
  • build: check for 404s on all docs

v2.3.2

01-09-2019 13:40 PST

Documentation

  • docs: generate docs with compodoc (#154)
  • docs: fix up the readme (#153)

Internal / Testing Changes

  • build: Re-generated to pick up changes in the API or client library generator. (#158)
  • build: check broken links in generated docs (#152)
  • fix: add a system test and get it passing (#150)
  • chore(build): inject yoshi automation key (#149)

v2.3.1

12-10-2018 15:28 PST

Dependencies

  • fix(deps): update dependency pify to v4 (#87)
  • fix(deps): use gaxios for http requests (#125)

Internal / Testing Changes

  • build: add Kokoro configs for autorelease (#143)
  • chore: always nyc report before calling codecov (#141)
  • chore: nyc ignore build/test by default (#140)
  • chore: update synth metadata and templates (#138)
  • fix(build): fix system key decryption (#133)
  • chore(deps): update dependency typescript to ~3.2.0 (#132)
  • chore: add a synth.metadata
  • chore(deps): update dependency gts to 0.9.0 (#127)
  • chore: update eslintignore config (#126)
  • chore: use latest npm on Windows (#124)
  • chore: update CircleCI config (#123)
  • chore: include build in eslintignore (#120)
  • chore: update issue templates (#116)
  • chore: remove old issue template (#114)
  • build: run tests on node11 (#113)
  • chore(deps): update dependency nock to v10 (#111)
  • chores(build): do not collect sponge.xml from windows builds (#112)
  • chore(deps): update dependency typescript to ~3.1.0 (#110)
  • chores(build): run codecov on continuous builds (#109)
  • chore: update new issue template (#108)
  • chore: update CI config (#105)
  • Update kokoro config (#103)
  • Update CI config (#101)
  • Don't publish sourcemaps (#99)
  • Update kokoro config (#97)
  • test: remove appveyor config (#96)
  • Update CI config (#95)
  • Enable prefer-const in the eslint config (#94)
  • Enable no-var in eslint (#93)
  • Update CI config (#92)
  • Add synth and update CI config (#91)
  • Retry npm install in CI (#90)
  • chore(deps): update dependency nyc to v13 (#88)
  • chore: ignore package-log.json (#86)
  • chore: update renovate config (#83)
  • chore(deps): lock file maintenance (#85)
  • chore: remove greenkeeper badge (#82)
  • test: throw on deprecation (#81)
  • chore(deps): update dependency typescript to v3 (#80)
  • chore: move mocha options to mocha.opts (#78)
  • chore(deps): lock file maintenance (#79)
  • test: use strictEqual in tests (#76)
  • chore(deps): lock file maintenance (#77)
  • chore(deps): update dependency typescript to ~2.9.0 (#75)
  • chore: Configure Renovate (#74)
  • Update gts to the latest version 🚀 (#73)
  • Add Code of Conduct
  • build: start testing against Node 10 (#69)
  • chore(package): update nyc to version 12.0.2 (#67)
  • chore(package): update @types/node to version 10.0.3 (#65)

2.0.0

New features:

  • API now supports callback and promise based workflows

Breaking changes:

  • GoogleToken is now a class type, and must be instantiated.
  • GoogleToken.expires_at renamed to GoogleToken.expiresAt
  • GoogleToken.raw_token renamed to GoogleToken.rawToken
  • GoogleToken.token_expires renamed to GoogleToken.tokenExpires