gcp-metadata
9.2.3 · 29 Oct 2026Apache-2.0147M / weekRepositoryHomepagenpmAtom feed
65 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 9.x · latest line
9.2.3
29 Oct 2026core: Log request/response payloads at DEBUG severity
9.2.2
20 Oct 2026gcp-metadata: Recognize Bun socket error codes in isAvailable
9.2.1
15 Oct 2026core: Remove --fetch-shim and handle Bun fetch natively
core: Remove --gaxios-shim and configure Bun Gaxios fetch
gcp-metadata: Remove --promise-any-shim and backfill AggregateError
9.2.0
12 Oct 2026Update API sources and regenerate
9.1.0
7 Oct 2026tools: Add individual CLI flags for Bun monkey patches
9.0.4
16 Sep 2026gcp-metadata: Support CLOUD_RUN_WORKER_POOL residency detection and harden isAvailable error unwrapping
Update IsGoogleCloudServerless function to check for Cloud Run Worker Pools
9.0.3
12 Aug 2026- Security
Patch the vulnerability for Bigquery and other REST based clients
9.0.2
11 Aug 2026retry-request: Move teeny-request to devDependencies
9.0.1
6 Aug 2026Ensure node 22 dependencies are up to date so they get the latest patches for core and handwritten libraries
9.0.0
30 Jul 2026- Breaking
Spanner: Update cloud-spanner to minimum Node version of 22
- Breaking
Spanner: upgrade OpenTelemetry to v2
- Breaking
Spanner: Update cloud-spanner to minimum Node version of 22
Breaking changes
- Breaking
Spanner: Update cloud-spanner to minimum Node version of 22
- Breaking
Spanner: upgrade OpenTelemetry to v2
Features
- Breaking
Spanner: Update cloud-spanner to minimum Node version of 22
Performance Improvements
spanner: Bypass gRPC message interception in metrics interceptor
spanner: Disable gRPC channelz by default
spanner: Optimize codec.getType and reuse type singletons
spanner: Remove rest-parameter allocations in wrappedRequestFn
spanner: Synchronous multiplexed session hand-off for non-stream callers
- 8.x
8.1.4
23 Jul 2026Correct repository URLs in core package.json files
8.1.3
4 Jun 2026Bump all node submodules
8.1.2
30 Oct 2025Gcp metadata ts issues.
8.1.1
13 Oct 2025- Breaking
typescript@3.7.x has breaking changes; compiler now targets es2015
- Breaking
Monorepo migration
- Breaking
Upgrade to node 18
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
8.1.0
8 Oct 2025- 7.x
7.0.1
25 Jun 2025Update package.json to correct value
7.0.0
10 Jun 2025- Breaking
Upgrade to node 18
Add extra logging for incorrect headers
Remove the space from the log system string
Breaking changes
- Breaking
Upgrade to node 18
Features
Release 6.2.0
Bug Fixes
Add extra logging for incorrect headers
Remove the space from the log system string
- 6.x
6.1.1
30 Jan 20256.1.0
13 Nov 2023Add
universemetadata handlerBulk Metadata Requests
Repo Metadata
6.0.0
19 Jul 2023- Breaking
Upgrade to Node 14, and update gaxios, ts, and gts
Breaking changes
- Breaking
Upgrade to Node 14, and update gaxios, ts, and gts
- 5.x
5.3.0
28 Jun 2023Metadata Server Detection Configuration
5.2.0
3 Jan 2023Export
gcp-residencytools
5.1.0
7 Dec 2022Extend GCP Residency Detection Support
5.0.1
26 Sep 2022Remove pip install statements
5.0.0
22 Apr 2022- Breaking
Drop node 10, update typescript to 4.6.3
Breaking changes
- Breaking
Drop node 10, update typescript to 4.6.3
- 4.x
4.3.1
2 Sep 20214.3.0
10 Jun 2021Add
gcf-owl-bot[bot]toignoreAuthors
4.2.1
29 Oct 20204.2.0
15 Sep 2020Add support for GCE_METADATA_HOST environment variable
4.1.4
15 Jul 20204.1.0
5 May 2020Introduces the GCE_METADATA_IP to allow using a different IP address for the GCE metadata server.
Do not check secondary host if GCE_METADATA_IP set
Warn rather than throwing when we fail to connect to metadata server
4.0.1
15 Apr 20204.0.0
19 Mar 2020- Breaking
typescript@3.7.x has breaking changes; compiler now targets es2015
- Breaking
Drops Node 8 from engines field
- Removed
Drops Node 8 from engines field
Breaking changes
- Breaking
typescript@3.7.x has breaking changes; compiler now targets es2015
- Breaking
Drops Node 8 from engines field
Features
- Removed
Drops Node 8 from engines field
- 3.x
3.5.0
3 Mar 2020Add ECONNREFUSED to list of known errors for isAvailable()
3.4.0
24 Feb 2020Significantly increase timeout if GCF environment detected
3.3.1
30 Jan 20203.3.0
16 Dec 2019Add environment variable for configuring environment detection
Cache response from isAvailable() method
fastFailMetadataRequest should not reject, if response already happened
3.2.0
10 Oct 2019Add DEBUG_AUTH for digging into authentication issues
3.1.0
7 Oct 2019Don't throw on ENETUNREACH
3.0.0
17 Sep 2019- Breaking
isAvailable now tries both DNS and IP, choosing whichever responds first
isAvailable now tries both DNS and IP, choosing whichever responds first
- 2.x
2.0.0
8 May 2019- Breaking
Upgrade engines field to >=8.10.0
Breaking changes
- Breaking
Upgrade engines field to >=8.10.0
- 1.x
1.0.0
15 Feb 2019Ask gaxios for text and not json
02-14-2019 16:00 PST
Bug Fixes
Ask gaxios for text and not json
- 0.9.x
0.9.3
11 Dec 2018build: Fix Kokoro release script
Sync repo build files
build: Fix system key decryption
12-10-2018 16:16 PST
Internal / Testing Changes
build: Fix Kokoro release script
Release v0.9.2
Release gcp-metadata v0.9.1
Sync repo build files
build: Fix system key decryption
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.