Vigia

Upgrading @google-cloud/storage from 8.x to 9.x

Comparison of the public API of @google-cloud/storage 8.4.0 and 9.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.

Summary

Removed import paths0
Removed exports1
Changed signatures2
Removed class or interface members36
Changed class or interface members16
Newly deprecated0
Requirement changes (engines, peer dependencies)0
New exports0

Removed exports

importexportkindBefore
@google-cloud/storageApiErrorclassclass

Changed signatures

exportBeforeAfter
@google-cloud/storage · GetBucketsResponse[Bucket[], {}, unknown][Bucket[], unknown]
@google-cloud/storage · RETRYABLE_ERR_FN_DEFAULT(err?: ApiError | undefined): boolean(err?: any): boolean

Removed class or interface members

memberimportBefore
Iam.request_@google-cloud/storageany
Iam.resourceId_@google-cloud/storageany
File.request@google-cloud/storage(reqOpts: DecorateRequestOptions): Promise<RequestResponse> | (reqOpts: DecorateRequestOptions, callback: BodyResponseCallback): void
File.request_@google-cloud/storageany
File.requestStream@google-cloud/storage(reqOpts: DecorateRequestOptions): TeenyRequest
File.getRequestInterceptors@google-cloud/storage(): Function[]
Bucket.request@google-cloud/storage(reqOpts: DecorateRequestOptions): Promise<RequestResponse> | (reqOpts: DecorateRequestOptions, callback: BodyResponseCallback): void
Bucket.request_@google-cloud/storageany
Bucket.requestStream@google-cloud/storage(reqOpts: DecorateRequestOptions): TeenyRequest
Bucket.getRequestInterceptors@google-cloud/storage(): Function[]
Channel.request@google-cloud/storage(reqOpts: DecorateRequestOptions): Promise<RequestResponse> | (reqOpts: DecorateRequestOptions, callback: BodyResponseCallback): void
Channel.request_@google-cloud/storageany
Channel.requestStream@google-cloud/storage(reqOpts: DecorateRequestOptions): TeenyRequest
Channel.getRequestInterceptors@google-cloud/storage(): Function[]
HmacKey.request@google-cloud/storage(reqOpts: DecorateRequestOptions): Promise<RequestResponse> | (reqOpts: DecorateRequestOptions, callback: BodyResponseCallback): void
HmacKey.request_@google-cloud/storageany
HmacKey.requestStream@google-cloud/storage(reqOpts: DecorateRequestOptions): TeenyRequest
HmacKey.getRequestInterceptors@google-cloud/storage(): Function[]
Storage.request@google-cloud/storage(reqOpts: DecorateRequestOptions, callback: BodyResponseCallback): void
Storage.timeout@google-cloud/storagenumber | undefined
Storage.request_@google-cloud/storageany
Storage.authClient@google-cloud/storageGoogleAuth<AuthClient>
Storage.packageJson@google-cloud/storageany
Storage.getProjectId@google-cloud/storage(): Promise<string> | (callback: (err: Error | null, projectId?: string | undefined) => void): void
Storage.requestStream@google-cloud/storage(reqOpts: DecorateRequestOptions): Request
Storage.getProjectIdAsync@google-cloud/storage(): Promise<string>
Storage.projectIdRequired@google-cloud/storageany
Storage.providedUserAgent@google-cloud/storagestring | undefined
Storage.globalInterceptors@google-cloud/storageany
Storage.getRequestInterceptors@google-cloud/storage(): Function[]
Storage.makeAuthenticatedRequest@google-cloud/storage(reqOpts: DecorateRequestOptions): Duplexify | (reqOpts: DecorateRequestOptions, options?: MakeAuthenticatedRequestOptions | undefined): void | Abortable | (reqOpts: DecorateRequestOptions, callback?: BodyResponseCallback | undefined): void | Abortable | (reqOpts: DecorateRequestOptions, optionsOrCa…
AclOptions.request@google-cloud/storage(reqOpts: DecorateRequestOptions, callback: BodyResponseCallback): void
Notification.request@google-cloud/storage(reqOpts: DecorateRequestOptions): Promise<RequestResponse> | (reqOpts: DecorateRequestOptions, callback: BodyResponseCallback): void
Notification.request_@google-cloud/storageany
Notification.requestStream@google-cloud/storage(reqOpts: DecorateRequestOptions): TeenyRequest
Notification.getRequestInterceptors@google-cloud/storage(): Function[]

Changed class or interface members

memberBeforeAfter
File.delete(options?: DeleteOptions | undefined): Promise<[TeenyResponse]> | (options: DeleteOptions, callback: DeleteCallback): void | (callback: DeleteCallback): void(options?: DeleteOptions | undefined): Promise<[GaxiosResponse]> | (options: DeleteOptions, callback: DeleteCallback): void | (callback: DeleteCallback): void
File.interceptorsInterceptor[]GaxiosInterceptor<GaxiosOptionsPrepared>[]
File.startSimpleUpload_(dup: Duplexify, options?: CreateWriteStreamOptions | undefined): void(dup: Duplexify, options?: any): void
Bucket.delete(options?: DeleteOptions | undefined): Promise<[TeenyResponse]> | (options: DeleteOptions, callback: DeleteCallback): void | (callback: DeleteCallback): void(options?: DeleteOptions | undefined): Promise<[GaxiosResponse]> | (options: DeleteOptions, callback: DeleteCallback): void | (callback: DeleteCallback): void
Bucket.interceptorsInterceptor[]GaxiosInterceptor<GaxiosOptionsPrepared>[]
Channel.delete(options?: DeleteOptions | undefined): Promise<[TeenyResponse]> | (options: DeleteOptions, callback: DeleteCallback): void | (callback: DeleteCallback): void(options?: DeleteOptions | undefined): Promise<[GaxiosResponse]> | (options: DeleteOptions, callback: DeleteCallback): void | (callback: DeleteCallback): void
Channel.interceptorsInterceptor[]GaxiosInterceptor<GaxiosOptionsPrepared>[]
HmacKey.delete(options?: DeleteOptions | undefined): Promise<[TeenyResponse]> | (options: DeleteOptions, callback: DeleteCallback): void | (callback: DeleteCallback): void(options?: DeleteOptions | undefined): Promise<[GaxiosResponse]> | (options: DeleteOptions, callback: DeleteCallback): void | (callback: DeleteCallback): void
HmacKey.interceptorsInterceptor[]GaxiosInterceptor<GaxiosOptionsPrepared>[]
Storage.projectIdstringstring | undefined
Storage.interceptorsInterceptor[]GaxiosInterceptor<GaxiosOptionsPrepared>[]
AclMetadata.projectTeam{ projectNumber?: string | undefined; team?: "editors" | "owners" | "viewers" | undefined; } | undefined{ projectNumber?: string | undefined; team?: string | undefined; } | undefined
Notification.delete(options?: DeleteOptions | undefined): Promise<[TeenyResponse]> | (options: DeleteOptions, callback: DeleteCallback): void | (callback: DeleteCallback): void(options?: DeleteOptions | undefined): Promise<[GaxiosResponse]> | (options: DeleteOptions, callback: DeleteCallback): void | (callback: DeleteCallback): void
Notification.interceptorsInterceptor[]GaxiosInterceptor<GaxiosOptionsPrepared>[]
StorageOptions.interceptors_Interceptor[] | undefinedGaxiosInterceptor<GaxiosOptionsPrepared>[] | undefined
AccessControlObject.projectTeamstring{ projectNumber?: string | undefined; team?: string | undefined; } | undefined

Newly deprecated

None detected.

Requirement changes (engines, peer dependencies)

None detected.

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What are the breaking changes when upgrading @google-cloud/storage from 8 to 9?

Between @google-cloud/storage 8.4.0 and 9.0.0, Vigia found 1 removed exports, 2 changed signatures and 52 removed or changed class or interface members.

What became deprecated in @google-cloud/storage 9?

0 exports or members are newly marked as deprecated in @google-cloud/storage 9.0.0.

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/@google-cloud/storage/upgrade?from=8.4.0&to=9.0.0