@dbml/core を 10.x から 11.x へアップグレード
@dbml/core 10.3.1 と 11.1.0 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。
概要
| 削除されたインポートパス | 0 |
|---|---|
| 削除されたエクスポート | 2 |
| 変更されたシグネチャ | 4 |
| 削除されたクラス/インターフェースのメンバー | 62 |
| 変更されたクラス/インターフェースのメンバー | 19 |
| 新たに非推奨 | 0 |
| 要件の変更(engines、peer 依存関係) | 0 |
| 新しいエクスポート | 12 |
削除されたエクスポート
| import | export | kind | 変更前 |
|---|---|---|---|
@dbml/core | CompilerError | class | class |
@dbml/core | formatRecordValue | variable | any |
変更されたシグネチャ
| export | 変更前 | 変更後 |
|---|---|---|
@dbml/core · Color | `#${string}` | "none" | any |
@dbml/core · Token | interface | any |
@dbml/core · Element | class | any |
@dbml/core · RawNote | interface | any |
削除されたクラス/インターフェースのメンバー
| member | import | 変更前 |
|---|---|---|
Ref.bind | @dbml/core | (selection: any): void |
Ref.error | @dbml/core | (message: string): void |
Ref.token | @dbml/core | Token |
Ref.selection | @dbml/core | string |
Enum.bind | @dbml/core | (selection: any): void |
Enum.error | @dbml/core | (message: string): void |
Enum.selection | @dbml/core | string |
Check.id | @dbml/core | number |
Check.bind | @dbml/core | (selection: any): void |
Check.error | @dbml/core | (message: string): void |
Check.token | @dbml/core | Token |
Check.selection | @dbml/core | string |
Field.id | @dbml/core | number |
Field.bind | @dbml/core | (selection: any): void |
Field.error | @dbml/core | (message: string): void |
Field.token | @dbml/core | Token |
Field.selection | @dbml/core | string |
Index.id | @dbml/core | number |
Index.bind | @dbml/core | (selection: any): void |
Index.error | @dbml/core | (message: string): void |
Index.token | @dbml/core | Token |
Index.selection | @dbml/core | string |
Table.bind | @dbml/core | (selection: any): void |
Table.error | @dbml/core | (message: string): void |
Table.token | @dbml/core | Token |
Table.selection | @dbml/core | string |
Schema.id | @dbml/core | number |
Schema.bind | @dbml/core | (selection: any): void |
Schema.error | @dbml/core | (message: string): void |
Schema.token | @dbml/core | Token |
Schema.selection | @dbml/core | string |
Database.bind | @dbml/core | (selection: any): void |
Database.error | @dbml/core | (message: string): void |
Database.token | @dbml/core | Token |
Database.selection | @dbml/core | string |
Endpoint.id | @dbml/core | number |
Endpoint.bind | @dbml/core | (selection: any): void |
Endpoint.error | @dbml/core | (message: string): void |
Endpoint.token | @dbml/core | Token |
Endpoint.selection | @dbml/core | string |
EnumValue.id | @dbml/core | number |
EnumValue.bind | @dbml/core | (selection: any): void |
EnumValue.error | @dbml/core | (message: string): void |
EnumValue.token | @dbml/core | Token |
EnumValue.selection | @dbml/core | string |
StickyNote.bind | @dbml/core | (selection: any): void |
StickyNote.error | @dbml/core | (message: string): void |
StickyNote.token | @dbml/core | Token |
StickyNote.selection | @dbml/core | string |
TableGroup.bind | @dbml/core | (selection: any): void |
TableGroup.error | @dbml/core | (message: string): void |
TableGroup.token | @dbml/core | Token |
TableGroup.selection | @dbml/core | string |
IndexColumn.id | @dbml/core | number |
IndexColumn.bind | @dbml/core | (selection: any): void |
IndexColumn.error | @dbml/core | (message: string): void |
IndexColumn.token | @dbml/core | Token |
IndexColumn.selection | @dbml/core | string |
TablePartial.bind | @dbml/core | (selection: any): void |
TablePartial.error | @dbml/core | (message: string): void |
TablePartial.token | @dbml/core | Token |
TablePartial.selection | @dbml/core | string |
変更されたクラス/インターフェースのメンバー
| member | 変更前 | 変更後 |
|---|---|---|
Ref.color | Color | undefined | any |
Ref.export | (): { endpoints: { schemaName: string; tableName: string; fieldNames: string[]; relation: any; }[]; name: string; onDelete: any; onUpdate: any; injectedPartialId?: number | undefined; } | (): { endpoints: { schemaName: string; tableName: string; fieldNames: string[]; relation: any; }[]; name: string; onDelete: any; onUpdate: any; metadata: CustomMetadata; injectedPartialId?: number | undefined; } |
Ref.constructor | ({ name, endpoints, onDelete, onUpdate, token, schema }: RawRef): Ref | ({ name, endpoints, onDelete, onUpdate, note, metadata, token, schema }: RawRef): Ref |
Ref.shallowExport | (): { name: string; onDelete: any; onUpdate: any; injectedPartialId?: number | undefined; } | (): { name: string; onDelete: any; onUpdate: any; metadata: CustomMetadata; injectedPartialId?: number | undefined; note: string; } |
RawRef.color | Color | undefined | any |
RawSchema.note | RawNote | undefined | any |
RawSchema.token | Token | undefined | any |
RawSchema.noteToken | Token | null | undefined | any |
StickyNote.color | Color | undefined | any |
StickyNote.export | (): { name: string; content: string; color?: Color | undefined; metadata: CustomMetadata; } | (): { name: string; content: string; color?: any; metadata: CustomMetadata; } |
IndexColumn.export | (): { type: any; value: any; } | (): { type: any; value: any; sortOrder?: "desc" | undefined; } |
IndexColumn.constructor | ({ type, value, index }: { type: any; value: any; index: any; }): IndexColumn | ({ type, value, sortOrder, index }: { type: any; value: any; sortOrder?: "desc" | undefined; index: any; }): IndexColumn |
IndexColumn.shallowExport | (): { type: any; value: any; } | (): { type: any; value: any; sortOrder?: "desc" | undefined; } |
NormalizedRef.color | Color | undefined | any |
RawStickyNote.color | Color | undefined | any |
NormalizedNote.color | Color | undefined | any |
CompilerDiagnostics.map | (callback: (diag: CompilerDiagnostic) => CompilerDiagnostic): CompilerError | (callback: (diag: CompilerDiagnostic) => CompilerDiagnostic): CompilerDiagnostics |
CompilerDiagnostics.constructor | (diags: CompilerDiagnostic[]): CompilerError | (diags: CompilerDiagnostic[]): CompilerDiagnostics |
CompilerDiagnostics.static create | (nestedDiags: unknown): CompilerError | (nestedDiags: unknown): CompilerDiagnostics |
新たに非推奨
検出されませんでした。
要件の変更(engines、peer 依存関係)
検出されませんでした。
新しいエクスポート (12)
| import | export | kind |
|---|---|---|
@dbml/core | Diagnostic | variable |
@dbml/core | CompileInfo | variable |
@dbml/core | CompileError | variable |
@dbml/core | CompileWarning | variable |
@dbml/core | applyTextEdits | variable |
@dbml/core | CompileErrorCode | variable |
@dbml/core | formatTypedValue | variable |
@dbml/core | FileSpecifierInfo | variable |
@dbml/core | DiagnosticQuickFix | variable |
@dbml/core | CustomMetadataValue | variable |
@dbml/core | syncElementMetadata | variable |
@dbml/core | CustomMetadataValueType | variable |
このデータを 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
よくある質問
@dbml/core を 10 から 11 にアップグレードする際の破壊的変更は?
@dbml/core 10.3.1 と 11.1.0 の間で、Vigia は削除されたエクスポートを 2 件、変更されたシグネチャを 4 件、削除または変更されたクラス/インターフェースのメンバーを 81 件検出しました。
@dbml/core 11 で非推奨になったものは?
@dbml/core 11.1.0 では 0 件のエクスポートまたはメンバーが新たに非推奨になりました。
エージェント向け
GET https://vigia.coredls.cloud/v1/packages/npm/@dbml/core/upgrade?from=10.3.1&to=11.1.0