@google-cloud/storage を 8.x から 9.x へアップグレード
@google-cloud/storage 8.4.0 と 9.0.0 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。
概要
| 削除されたインポートパス | 0 |
|---|---|
| 削除されたエクスポート | 1 |
| 変更されたシグネチャ | 2 |
| 削除されたクラス/インターフェースのメンバー | 36 |
| 変更されたクラス/インターフェースのメンバー | 16 |
| 新たに非推奨 | 0 |
| 要件の変更(engines、peer 依存関係) | 0 |
| 新しいエクスポート | 0 |
削除されたエクスポート
| import | export | kind | 変更前 |
|---|---|---|---|
@google-cloud/storage | ApiError | class | class |
変更されたシグネチャ
| export | 変更前 | 変更後 |
|---|---|---|
@google-cloud/storage · GetBucketsResponse | [Bucket[], {}, unknown] | [Bucket[], unknown] |
@google-cloud/storage · RETRYABLE_ERR_FN_DEFAULT | (err?: ApiError | undefined): boolean | (err?: any): boolean |
削除されたクラス/インターフェースのメンバー
| member | import | 変更前 |
|---|---|---|
Iam.request_ | @google-cloud/storage | any |
Iam.resourceId_ | @google-cloud/storage | any |
File.request | @google-cloud/storage | (reqOpts: DecorateRequestOptions): Promise<RequestResponse> | (reqOpts: DecorateRequestOptions, callback: BodyResponseCallback): void |
File.request_ | @google-cloud/storage | any |
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/storage | any |
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/storage | any |
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/storage | any |
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/storage | number | undefined |
Storage.request_ | @google-cloud/storage | any |
Storage.authClient | @google-cloud/storage | GoogleAuth<AuthClient> |
Storage.packageJson | @google-cloud/storage | any |
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/storage | any |
Storage.providedUserAgent | @google-cloud/storage | string | undefined |
Storage.globalInterceptors | @google-cloud/storage | any |
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/storage | any |
Notification.requestStream | @google-cloud/storage | (reqOpts: DecorateRequestOptions): TeenyRequest |
Notification.getRequestInterceptors | @google-cloud/storage | (): Function[] |
変更されたクラス/インターフェースのメンバー
| member | 変更前 | 変更後 |
|---|---|---|
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.interceptors | Interceptor[] | 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.interceptors | Interceptor[] | 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.interceptors | Interceptor[] | 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.interceptors | Interceptor[] | GaxiosInterceptor<GaxiosOptionsPrepared>[] |
Storage.projectId | string | string | undefined |
Storage.interceptors | Interceptor[] | 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.interceptors | Interceptor[] | GaxiosInterceptor<GaxiosOptionsPrepared>[] |
StorageOptions.interceptors_ | Interceptor[] | undefined | GaxiosInterceptor<GaxiosOptionsPrepared>[] | undefined |
AccessControlObject.projectTeam | string | { projectNumber?: string | undefined; team?: string | undefined; } | undefined |
新たに非推奨
検出されませんでした。
要件の変更(engines、peer 依存関係)
検出されませんでした。
このデータを AI エージェントに渡す
Vigia は無料の MCP サーバーです。コーディングエージェントがコードを書く前に、バージョン・破壊的変更・脆弱性を確認できます。登録も API キーも不要です。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Cursor に追加VS Code に追加★ GitHub でスターを付ける
その他の MCP クライアント
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }エージェント用スキル (SKILL.md):Vigia を使うタイミングをエージェントに伝えます · プルリクエスト用 GitHub Action
よくある質問
@google-cloud/storage を 8 から 9 にアップグレードする際の破壊的変更は?
@google-cloud/storage 8.4.0 と 9.0.0 の間で、Vigia は削除されたエクスポートを 1 件、変更されたシグネチャを 2 件、削除または変更されたクラス/インターフェースのメンバーを 52 件検出しました。
@google-cloud/storage 9 で非推奨になったものは?
@google-cloud/storage 9.0.0 では 0 件のエクスポートまたはメンバーが新たに非推奨になりました。
エージェント向け
GET https://vigia.coredls.cloud/v1/packages/npm/@google-cloud/storage/upgrade?from=8.4.0&to=9.0.0