@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