Vigia

Nâng cấp @google-cloud/storage từ 8.x lên 9.x

So sánh API công khai của @google-cloud/storage 8.4.0 và 9.0.0, được tính tự động từ kiểu TypeScript. Chữ ký thay đổi là thay đổi có thể không tương thích, không phải điều chắc chắn.

Tóm tắt

Đường dẫn import bị xóa0
Export bị xóa1
Chữ ký thay đổi2
Thành viên lớp hoặc interface bị xóa36
Thành viên lớp hoặc interface thay đổi16
Mới bị ngừng hỗ trợ0
Thay đổi yêu cầu (engines, phụ thuộc peer)0
Export mới0

Export bị xóa

importexportkindTrước
@google-cloud/storageApiErrorclassclass

Chữ ký thay đổi

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

Thành viên lớp hoặc interface bị xóa

memberimportTrước
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[]

Thành viên lớp hoặc interface thay đổi

memberTrướcSau
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

Mới bị ngừng hỗ trợ

Không phát hiện.

Thay đổi yêu cầu (engines, phụ thuộc peer)

Không phát hiện.

Cung cấp dữ liệu này cho tác tử AI của bạn

Vigia là máy chủ MCP miễn phí: tác tử lập trình của bạn kiểm tra phiên bản, thay đổi phá vỡ tương thích và lỗ hổng trước khi viết mã. Không cần đăng ký, không cần khóa API.

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

Thêm vào CursorThêm vào VS Code★ Gắn sao trên GitHub

Mọi ứng dụng MCP khác
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Kỹ năng cho tác tử (SKILL.md): cho tác tử biết khi nào dùng Vigia · GitHub Action cho pull request

Câu hỏi thường gặp

Nâng cấp @google-cloud/storage từ 8 lên 9 có những thay đổi không tương thích nào?

Giữa @google-cloud/storage 8.4.0 và 9.0.0, Vigia tìm thấy 1 export bị xóa, 2 chữ ký thay đổi và 52 thành viên lớp hoặc interface bị xóa hay thay đổi.

Những gì bị ngừng hỗ trợ trong @google-cloud/storage 9?

0 export hoặc thành viên mới bị đánh dấu ngừng hỗ trợ trong @google-cloud/storage 9.0.0.

Dành cho tác tử

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