Skip to content

Releases: googleapis/gcp-metadata

v2.0.2

26 Aug 14:01
Compare
Choose a tag to compare

Bug Fixes

  • allow calls with no request, add JSON proto (#224) (dc758b1)

v2.0.1

26 Jun 22:34
Compare
Choose a tag to compare

Bug Fixes

v2.0.0

08 May 21:01
be153ea
Compare
Choose a tag to compare

Bug Fixes

  • deps: update dependency gaxios to v2 (#191) (ac8c1ef)

Build System

BREAKING CHANGES

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

v1.0.0

15 Feb 16:46
f7efab6
Compare
Choose a tag to compare

02-14-2019 16:00 PST

Bug Fixes

  • fix: ask gaxios for text and not json (#152)

Documentation

  • docs: update links in contrib guide (#168)
  • docs: add lint/fix example to contributing guide (#160)

Internal / Testing Changes

  • build: use linkinator for docs test (#166)
  • chore(deps): update dependency @types/tmp to v0.0.34 (#167)
  • build: create docs test npm scripts (#165)
  • test: run system tests on GCB (#157)
  • build: test using @grpc/grpc-js in CI (#164)
  • chore: move CONTRIBUTING.md to root (#162)
  • chore(deps): update dependency gcx to v0.1.1 (#159)
  • chore(deps): update dependency gcx to v0.1.0 (#158)
  • chore(deps): update dependency gcx to v0.0.4 (#155)
  • chore(deps): update dependency googleapis to v37 (#156)
  • build: ignore googleapis.com in doc link check (#153)
  • build: check broken links in generated docs (#149)
  • chore(build): inject yoshi automation key (#148)

v0.9.3

11 Dec 20:18
c32a185
Compare
Choose a tag to compare

12-10-2018 16:16 PST

Dependencies

  • chore(deps): update dependency googleapis to v36 (#135)
  • chore(deps): use gaxios for http requests (#121)
  • chore(deps): update dependency gts to ^0.9.0 (#123)

Internal / Testing Changes

  • fix(build): fix Kokoro release script (#141)
  • Release v0.9.2 (#140)
  • build: add Kokoro configs for autorelease (#138)
  • Release gcp-metadata v0.9.1 (#139)
  • chore: always nyc report before calling codecov (#134)
  • chore: nyc ignore build/test by default (#133)
  • Sync repo build files (#131)
  • fix(build): fix system key decryption (#128)
  • refactor: use execa, move post install test to system (#127)
  • chore: add a synth.metadata
  • test: add a system test (#126)
  • chore: update eslintignore config (#122)
  • chore: use latest npm on Windows (#120)
  • chore: update CircleCI config (#119)
  • chore: include build in eslintignore (#115)

v0.9.0

26 Oct 23:25
27c9e69
Compare
Choose a tag to compare

10-26-2018 13:10 PDT

  • feat: allow custom headers (#109)
  • chore: update issue templates (#108)
  • chore: remove old issue template (#106)
  • build: run tests on node11 (#105)
  • chores(build): do not collect sponge.xml from windows builds (#104)
  • chores(build): run codecov on continuous builds (#102)
  • chore(deps): update dependency nock to v10 (#103)
  • chore: update new issue template (#101)
  • build: fix codecov uploading on Kokoro (#97)
  • Update kokoro config (#95)
  • Update CI config (#93)
  • Update kokoro config (#91)
  • Re-generate library using /synth.py (#90)
  • test: remove appveyor config (#89)
  • Update kokoro config (#88)
  • Enable prefer-const in the eslint config (#87)
  • Enable no-var in eslint (#86)

New Features

A new option, headers, has been added to allow metadata queries to be sent with custom headers.

v0.8.0

14 Sep 21:02
b3faa87
Compare
Choose a tag to compare

This release has breaking changes. Please take care when upgrading to the latest version.

Dropped support for Node.js 4.x and 9.x

This library is no longer tested against versions 4.x and 9.x of Node.js. Please upgrade to the latest supported LTS version!

Return type of instance() and project() has changed

The instance() and project() methods are much more selective about which properties they will accept.

The only accepted properties are params and properties. The instance() and project() methods also now directly return the data instead of a response object.

Changes in how large number valued properties are handled

Previously large number-valued properties were being silently losing precision when
returned by this library (as a number). In the cases where a number valued property
returned by the metadata service is too large to represent as a JavaScript number, we
will now return the value as a BigNumber (from the bignumber.js) library. Numbers that
do fit into the JavaScript number range will continue to be returned as numbers.
For more details see #74.

Breaking Changes

  • chore: drop support for node.js 4 and 9 (#68)
  • fix: quarantine axios config (#62)

Implementation Changes

  • fix: properly handle large numbers in responses (#74)

Dependencies

  • chore(deps): update dependency pify to v4 (#73)

Internal / Testing Changes

  • Move to the new github org (#84)
  • Update CI config (#83)
  • Retry npm install in CI (#81)
  • Update CI config (#79)
  • chore(deps): update dependency nyc to v13 (#77)
  • add key for system tests
  • increase kitchen test timeout
  • add a lint npm script
  • update npm scripts
  • add a synth file and run it (#75)
  • chore(deps): update dependency assert-rejects to v1 (#72)
  • chore: ignore package-log.json (#71)
  • chore: update renovate config (#70)
  • test: throw on deprecation
  • chore(deps): update dependency typescript to v3 (#67)
  • chore: make it OSPO compliant (#66)
  • chore(deps): update dependency gts to ^0.8.0 (#65)

v0.7.0

11 Jul 03:06
4ef6291
Compare
Choose a tag to compare

This is a re-release of v0.6.5 (which was unpublished) as a semver major
(v0.7.0). The potentially breaking change is how we deal with unexpected errors
in the isAvailable function. Previously unexpected errors would be swallowed,
but now they get thrown.

Notable Changes

  • 2d34f9d fix: do not swallow unexpected errors (#57)

Other commits

Since 0.6.3:

  • 5e74a0e refactor: use mocha instead of ava (#63)
  • 475081e build: fix typo in publish step (#59)
  • 89ebf0f chore(deps): update dependency nyc to v12 (#53)
  • 3cb8173 chore(deps): update dependency gts to ^0.7.0 (#55)
  • f18fab2 docs: document isAvailable method (#52)
  • 1da2e85 chore: update to the latest version of all dependencies (#51)
  • 4305f3f docs: add a few things to the readme (#50)
  • e1d448d chore(build): test node10, separate lint job (#49)
  • 360474f Update renovate.json

v0.6.5

29 Jun 00:08
cf25ff9
Compare
Choose a tag to compare

This fixes automation issues that prevented v0.6.4 from being published to npm. It does not contain any source changes over v0.6.4.

Commits

v0.6.4

27 Jun 22:06
89ffdef
Compare
Choose a tag to compare

This is a bug-fix release. Unexpected errors are no longer swallowed by isAvailable. Due to automation bugs, this release didn't end up getting published to npm.

Commits

  • 2d34f9d fix: do not swallow unexpected errors (#57)
  • 89ebf0f chore(deps): update dependency nyc to v12 (#53)
  • 3cb8173 chore(deps): update dependency gts to ^0.7.0 (#55)
  • f18fab2 docs: document isAvailable method (#52)
  • 1da2e85 chore: update to the latest version of all dependencies (#51)
  • 4305f3f docs: add a few things to the readme (#50)
  • e1d448d chore(build): test node10, separate lint job (#49)
  • 360474f Update renovate.json