Packages

@google-cloud/storage

9.0.0 · 12 Nov 2026Apache-2.029.1M / weekRepositoryHomepagenpmAtom feed

Your version

9.0.0

Latestmajor12 Nov 2026Where it was published

In short

1 breaking1 new4 fixed

  • Breaking

    storage: Migrates response headers to standard Web Headers objects and replaces ApiError with GaxiosError.

Release note

Breaking changes

  • Breaking

    storage: Migrates response headers to standard Web Headers objects and replaces ApiError with GaxiosError.

    • apiResponse.headers is now a WHATWG Headers instance (use
      .get('header-name')).

    • ApiError is no longer exported from root; callers should use
      GaxiosError or base Error.

    • Minimum runtime environment aligned to Node.js >= 22.

    • Low-level request options migrate from uri/qs/json to url/params/data.
      See MIGRATION.md for complete details.

Features

  • storage: Migrate HTTP transport layer from teeny-request to gaxios

Bug Fixes

  • core: Remove --fetch-shim and handle Bun fetch natively

  • core: Remove --gaxios-shim and configure Bun Gaxios fetch

  • storage: Handle early stream destruction in createReadStream (#9586) (2e7c984), refs #7603

  • storage: Re-throw upload error after aborting in uploadFileInChunks (#9566) (bda12da), refs #9193

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.