Vigia

Memperbarui @google-cloud/storage dari 8.x ke 9.x

Perbandingan API publik @google-cloud/storage 8.4.0 dan 9.0.0, dihitung otomatis dari tipe TypeScript-nya. Tanda tangan yang berubah adalah kemungkinan perubahan tidak kompatibel, bukan kepastian.

Ringkasan

Jalur impor yang dihapus0
Ekspor yang dihapus1
Tanda tangan yang berubah2
Anggota kelas atau antarmuka yang dihapus36
Anggota kelas atau antarmuka yang berubah16
Baru ditandai usang0
Perubahan persyaratan (engines, dependensi peer)0
Ekspor baru0

Ekspor yang dihapus

importexportkindSebelum
@google-cloud/storageApiErrorclassclass

Tanda tangan yang berubah

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

Anggota kelas atau antarmuka yang dihapus

memberimportSebelum
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[]

Anggota kelas atau antarmuka yang berubah

memberSebelumSesudah
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

Baru ditandai usang

Tidak ada yang terdeteksi.

Perubahan persyaratan (engines, dependensi peer)

Tidak ada yang terdeteksi.

Berikan fakta ini ke agen AI Anda

Vigia adalah server MCP gratis: agen coding Anda memeriksa versi, perubahan yang merusak kompatibilitas, dan kerentanan sebelum menulis kode. Tanpa pendaftaran, tanpa kunci API.

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

Tambahkan ke CursorTambahkan ke VS Code★ Bintang di GitHub

Klien MCP lainnya
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill agen (SKILL.md): memberi tahu agen kapan memakai Vigia · GitHub Action untuk pull request

Pertanyaan umum

Apa saja perubahan tidak kompatibel saat memperbarui @google-cloud/storage dari 8 ke 9?

Antara @google-cloud/storage 8.4.0 dan 9.0.0, Vigia menemukan 1 ekspor yang dihapus, 2 tanda tangan yang berubah, dan 52 anggota kelas atau antarmuka yang dihapus atau berubah.

Apa yang ditandai usang di @google-cloud/storage 9?

0 ekspor atau anggota baru ditandai usang di @google-cloud/storage 9.0.0.

Untuk agen

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