gcp-metadata
9.2.3 · 29 Oct 2026Apache-2.0147M / weekRepositoryHomepagenpmAtom feed
8.1.4 is the newest release of 8.x.
In short
6 breaking15 new17 fixed9 internal
- Breaking
typescript@3.7.x has breaking changes; compiler now targets es2015
- Breaking
Monorepo migration
- Breaking
Upgrade to node 18
- Breaking
Upgrade to Node 14, and update gaxios, ts, and gts
- Breaking
Drop node 10, update typescript to 4.6.3
- Breaking
Drops Node 8 from engines field
Release note
The section about gcp-metadata of a note shared by several packages.
Breaking changes
- Breaking
typescript@3.7.x has breaking changes; compiler now targets es2015
- Breaking
Monorepo migration
- Breaking
Upgrade to node 18
- Breaking
Upgrade to Node 14, and update gaxios, ts, and gts
- Breaking
Drop node 10, update typescript to 4.6.3
- Breaking
typescript@3.7.x has breaking changes; compiler now targets es2015
- Breaking
Drops Node 8 from engines field
Features
Add
gcf-owl-bot[bot]toignoreAuthorsAdd
universemetadata handlerAdd ECONNREFUSED to list of known errors for isAvailable()
Add environment variable for configuring environment detection
Add support for GCE_METADATA_HOST environment variable
Bulk Metadata Requests
Cache response from isAvailable() method
- Removed
Drops Node 8 from engines field
Export
gcp-residencytoolsExtend GCP Residency Detection Support
Introduces the GCE_METADATA_IP to allow using a different IP address for the GCE metadata server.
Metadata Server Detection Configuration
Release 6.2.0
Remove gts extension from tsconfig in gcp-metadata
Significantly increase timeout if GCF environment detected
Bug Fixes
Add extra logging for incorrect headers
Apache license URL
build: Switch primary branch to main
deps: Pin TypeScript below 3.7.0
deps: Roll back dependency gcp-metadata to ^4.1.0
deps: Update gaxios
Do not check secondary host if GCE_METADATA_IP set
FastFailMetadataRequest should not reject, if response already happened
Gcp-metadata sample tests
Increase time in gcp-metadata system-test
isAvailable: Handle EHOSTDOWN and EHOSTUNREACH error codes
Lint and docs
Lint and docs scripts
Monorepo migration
Remove the space from the log system string
Repo Metadata
Tsconfig in gcp-metadata
Typeo in nodejs .gitattribute
Warn rather than throwing when we fail to connect to metadata server
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.