Vigia

Upgrading @dbml/core from 10.x to 11.x

Comparison of the public API of @dbml/core 10.3.1 and 11.1.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 exports2
Changed signatures4
Removed class or interface members62
Changed class or interface members19
Newly deprecated0
Requirement changes (engines, peer dependencies)0
New exports12

Removed exports

importexportkindBefore
@dbml/coreCompilerErrorclassclass
@dbml/coreformatRecordValuevariableany

Changed signatures

exportBeforeAfter
@dbml/core · Color`#${string}` | "none"any
@dbml/core · Tokeninterfaceany
@dbml/core · Elementclassany
@dbml/core · RawNoteinterfaceany

Removed class or interface members

memberimportBefore
Ref.bind@dbml/core(selection: any): void
Ref.error@dbml/core(message: string): void
Ref.token@dbml/coreToken
Ref.selection@dbml/corestring
Enum.bind@dbml/core(selection: any): void
Enum.error@dbml/core(message: string): void
Enum.selection@dbml/corestring
Check.id@dbml/corenumber
Check.bind@dbml/core(selection: any): void
Check.error@dbml/core(message: string): void
Check.token@dbml/coreToken
Check.selection@dbml/corestring
Field.id@dbml/corenumber
Field.bind@dbml/core(selection: any): void
Field.error@dbml/core(message: string): void
Field.token@dbml/coreToken
Field.selection@dbml/corestring
Index.id@dbml/corenumber
Index.bind@dbml/core(selection: any): void
Index.error@dbml/core(message: string): void
Index.token@dbml/coreToken
Index.selection@dbml/corestring
Table.bind@dbml/core(selection: any): void
Table.error@dbml/core(message: string): void
Table.token@dbml/coreToken
Table.selection@dbml/corestring
Schema.id@dbml/corenumber
Schema.bind@dbml/core(selection: any): void
Schema.error@dbml/core(message: string): void
Schema.token@dbml/coreToken
Schema.selection@dbml/corestring
Database.bind@dbml/core(selection: any): void
Database.error@dbml/core(message: string): void
Database.token@dbml/coreToken
Database.selection@dbml/corestring
Endpoint.id@dbml/corenumber
Endpoint.bind@dbml/core(selection: any): void
Endpoint.error@dbml/core(message: string): void
Endpoint.token@dbml/coreToken
Endpoint.selection@dbml/corestring
EnumValue.id@dbml/corenumber
EnumValue.bind@dbml/core(selection: any): void
EnumValue.error@dbml/core(message: string): void
EnumValue.token@dbml/coreToken
EnumValue.selection@dbml/corestring
StickyNote.bind@dbml/core(selection: any): void
StickyNote.error@dbml/core(message: string): void
StickyNote.token@dbml/coreToken
StickyNote.selection@dbml/corestring
TableGroup.bind@dbml/core(selection: any): void
TableGroup.error@dbml/core(message: string): void
TableGroup.token@dbml/coreToken
TableGroup.selection@dbml/corestring
IndexColumn.id@dbml/corenumber
IndexColumn.bind@dbml/core(selection: any): void
IndexColumn.error@dbml/core(message: string): void
IndexColumn.token@dbml/coreToken
IndexColumn.selection@dbml/corestring
TablePartial.bind@dbml/core(selection: any): void
TablePartial.error@dbml/core(message: string): void
TablePartial.token@dbml/coreToken
TablePartial.selection@dbml/corestring

Changed class or interface members

memberBeforeAfter
Ref.colorColor | undefinedany
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.colorColor | undefinedany
RawSchema.noteRawNote | undefinedany
RawSchema.tokenToken | undefinedany
RawSchema.noteTokenToken | null | undefinedany
StickyNote.colorColor | undefinedany
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.colorColor | undefinedany
RawStickyNote.colorColor | undefinedany
NormalizedNote.colorColor | undefinedany
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

Newly deprecated

None detected.

Requirement changes (engines, peer dependencies)

None detected.

New exports (12)
importexportkind
@dbml/coreDiagnosticvariable
@dbml/coreCompileInfovariable
@dbml/coreCompileErrorvariable
@dbml/coreCompileWarningvariable
@dbml/coreapplyTextEditsvariable
@dbml/coreCompileErrorCodevariable
@dbml/coreformatTypedValuevariable
@dbml/coreFileSpecifierInfovariable
@dbml/coreDiagnosticQuickFixvariable
@dbml/coreCustomMetadataValuevariable
@dbml/coresyncElementMetadatavariable
@dbml/coreCustomMetadataValueTypevariable

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 @dbml/core from 10 to 11?

Between @dbml/core 10.3.1 and 11.1.0, Vigia found 2 removed exports, 4 changed signatures and 81 removed or changed class or interface members.

What became deprecated in @dbml/core 11?

0 exports or members are newly marked as deprecated in @dbml/core 11.1.0.

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/@dbml/core/upgrade?from=10.3.1&to=11.1.0