6.1.0 (2023-11-10)
6.0.0 (2023-07-17)
- upgrade to Node 14, and update gaxios, ts, and gts (#571)
5.3.0 (2023-06-28)
5.2.0 (2023-01-03)
5.1.0 (2022-12-07)
5.0.1 (2022-09-09)
5.0.0 (2022-04-22)
- drop node 10, update typescript to 4.6.3 (#519)
4.3.1 (2021-09-02)
4.3.0 (2021-06-10)
4.2.1 (2020-10-29)
4.2.0 (2020-09-15)
4.1.4 (2020-07-15)
4.1.3 (2020-07-13)
4.1.2 (2020-07-10)
4.1.1 (2020-07-09)
4.1.0 (2020-05-05)
- Introduces the GCE_METADATA_IP to allow using a different IP address for the GCE metadata server. (#346) (ec0f82d)
- do not check secondary host if GCE_METADATA_IP set (#352) (64fa7d6)
- warn rather than throwing when we fail to connect to metadata server (#351) (754a6c0)
4.0.1 (2020-04-14)
4.0.0 (2020-03-19)
- [email protected] has breaking changes; compiler now targets es2015
- drops Node 8 from engines field (#315)
3.5.0 (2020-03-03)
3.4.0 (2020-02-24)
3.3.1 (2020-01-30)
3.3.0 (2019-12-16)
- add environment variable for configuring environment detection (#275) (580cfa4)
- cache response from isAvailable() method (#274) (a05e13f)
3.2.3 (2019-12-12)
- deps: pin TypeScript below 3.7.0 (e4bf622)
3.2.2 (2019-11-13)
3.2.1 (2019-11-08)
3.2.0 (2019-10-10)
3.1.0 (2019-10-07)
3.0.0 (2019-09-17)
- isAvailable now tries both DNS and IP, choosing whichever responds first (#239)
2.0.4 (2019-09-13)
- IP address takes 15 seconds to timeout, vs., metadata returning immediately (#235) (d04207b)
- use 3s timeout rather than 15 default (#237) (231ca5c)
2.0.3 (2019-09-12)
2.0.2 (2019-08-26)
2.0.1 (2019-06-26)
2.0.0 (2019-05-07)
- upgrade engines field to >=8.10.0 (#194)
02-14-2019 16:00 PST
- fix: ask gaxios for text and not json (#152)
- 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)
12-10-2018 16:16 PST
- 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)
- 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)
12-10-2018 14:01 PST
- chore(deps): update dependency googleapis to v36 (#135)
- chore: always nyc report before calling codecov (#134)
- chore: nyc ignore build/test by default (#133)
- chore: Re-generated to pick up changes in the API or client library generator. (#131)
- fix(build): fix system key decryption (#128)
- chore(deps): use gaxios for http requests (#121)
- refactor: use execa, move post install test to system (#127)
- chore: add a synth.metadata
- test: add a system test (#126)
- chore(deps): update dependency gts to ^0.9.0 (#123)
- chore: update eslintignore config (#122)
- chore: use latest npm on Windows (#120)
- chore: update CircleCI config (#119)
- chore: include build in eslintignore (#115)
- build: add Kokoro configs for autorelease (#138)
12-10-2018 11:53 PST
- chore(deps): update dependency googleapis to v36 (#135)
- chore: always nyc report before calling codecov (#134)
- chore: nyc ignore build/test by default (#133)
- chore: Re-generated to pick up changes in the API or client library generator. (#131)
- fix(build): fix system key decryption (#128)
- chore(deps): use gaxios for http requests (#121)
- refactor: use execa, move post install test to system (#127)
- chore: add a synth.metadata
- test: add a system test (#126)
- chore(deps): update dependency gts to ^0.9.0 (#123)
- chore: update eslintignore config (#122)
- chore: use latest npm on Windows (#120)
- chore: update CircleCI config (#119)
- chore: include build in eslintignore (#115)
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)
A new option, headers
, has been added to allow metadata queries to be sent with custom headers.
This release has breaking changes. Please take care when upgrading to the latest version.
This library is no longer tested against versions 4.x and 9.x of Node.js. Please upgrade to the latest supported LTS version!
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.
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.
- fix: properly handle large numbers in responses (#74)
- chore(deps): update dependency pify to v4 (#73)
- 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)