Vigia

postgres को 3.x से 4.x पर अपग्रेड करना

postgres 3.4.9 और 4.0.0 के सार्वजनिक API की तुलना, उनके TypeScript टाइप से अपने-आप निकाली गई। बदला हुआ सिग्नेचर संभावित असंगत बदलाव है, निश्चितता नहीं।

सारांश

हटाए गए इम्पोर्ट पाथ0
हटाए गए एक्सपोर्ट45
बदले गए सिग्नेचर14
क्लास या इंटरफ़ेस के हटाए गए सदस्य0
क्लास या इंटरफ़ेस के बदले गए सदस्य0
नए डिप्रिकेटेड0
आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)1
नए एक्सपोर्ट6

हटाए गए एक्सपोर्ट

importexportkindपहले
postgresStateinterfaceinterface
postgrescamelnamespacenamespace
postgreskebabnamespacenamespace
postgresBigIntvariablePostgresType<bigint>
postgresColumninterfaceinterface
postgrespascalnamespacenamespace
postgrestoCamelfunction(str: string): string
postgrestoKebabfunction(str: string): string
postgresMaybeRowtypeRow | undefined
postgrestoPascalfunction(str: string): string
postgresJSONValuetypestring | number | boolean | Date | readonly JSONValue[] | { toJSON(): any; } | { readonly [prop: string]: JSONValue | ((...args: any) => any) | undefined; readonly [prop: number]: JSONValue | ((...args: any) => any) | undefined; } | null
postgresStatementinterfaceinterface
postgresTransforminterfaceinterface
postgresfromCamelfunction(str: string): string
postgresfromKebabfunction(str: string): string
postgresColumnInfointerfaceinterface
postgresColumnListtype(T extends string ? Column<T> : never)[]
postgresListenMetainterfaceinterface
postgresRawRowListtypeBuffer[][] & Iterable<Buffer[][]> & ResultQueryMeta<T["length"], keyof T[number]>
postgresResultMetainterfaceinterface
postgresfromPascalfunction(str: string): string
postgresLargeObjectinterfaceinterface
postgresGenericErrorinterfaceinterface
postgresRelationInfointerfaceinterface
postgresSerializabletypestring | number | boolean | Date | Uint8Array<ArrayBufferLike> | null
postgresListenRequestinterfaceinterface
postgresValuesRowListtypeT[number][keyof T[number]][][] & ResultQueryMeta<T["length"], keyof T[number]>
postgresArrayParameterinterfaceinterface
postgresEscapableArraytype(string | number)[]
postgresPendingRequestinterfaceinterface
postgresConnectionErrorinterfaceinterface
postgresExecutionResulttype[] & ResultQueryMeta<number, keyof NonNullable<T>>
postgresParameterOrJSONtypestring | number | boolean | Date | Uint8Array<ArrayBufferLike> | Helper<any, any[]> | Parameter<any> | ArrayParameter<readonly any[]> | readonly JSONValue[] | { toJSON(): any; } | { readonly [prop: string]: JSONValue | ((...args: any) => any) | undefined; readonly [prop: number]: JSONValue | ((...args: any) => any) | undefined; } | T | readonly SerializableParameter<T>[] | null
postgresPendingRawQueryinterfaceinterface
postgresResultQueryMetainterfaceinterface
postgresNotSupportedErrorinterfaceinterface
postgresPendingValuesQueryinterfaceinterface
postgresSubscriptionHandleinterfaceinterface
postgresUnsafeQueryOptionsinterfaceinterface
postgresParameterOrFragmenttypeFragment | SerializableParameter<T> | Fragment[]
postgresConnectionParametersinterfaceinterface
postgresPendingDescribeQueryinterfaceinterface
postgresPendingQueryModifiersinterfaceinterface
postgresSerializableParametertypeSerializable | T | Helper<any, any[]> | Parameter<any> | ArrayParameter<readonly any[]> | readonly SerializableParameter<T>[]
postgresAuthNotImplementedErrorinterfaceinterface

बदले गए सिग्नेचर

exportपहलेबाद में
postgres · RowinterfaceRow
postgres · SqlinterfaceSql<TTypes>
postgres · ISqlinterfaceISql<TTypes>
postgres · HelperinterfaceHelper<T, U>
postgres · NoticeinterfaceNotice
postgres · OptionsinterfaceOptions<T>
postgres · ParameterinterfaceParameter<T>
postgres · ReservedSqlinterfaceReservedSql<TTypes>
postgres · PendingQueryinterfacePendingQuery<T>
postgres · PostgresTypeinterfacePostgresType<T>
postgres · ParsedOptionsinterfaceParsedOptions<T>
postgres · PostgresErrorclassPostgresError
postgres · TransactionSqlinterfaceTransactionSql<TTypes>
postgres · ReplicationEvent{ command: "insert"; relation: RelationInfo; } | { command: "delete"; relation: RelationInfo; key: boolean; } | { command: "update"; relation: RelationInfo; key: boolean; old: Row | null; }TransactionInfo & ({ command: "insert"; relation: RelationInfo; } | { command: "update"; relation: RelationInfo; key: boolean; old: Row | null; } | { command: "delete"; relation: RelationInfo; key: boolean; } | { command: "truncate"; relation: RelationInfo; cascade: boolean; restartIdentity: boolean; })

क्लास या इंटरफ़ेस के हटाए गए सदस्य

कुछ नहीं मिला।

क्लास या इंटरफ़ेस के बदले गए सदस्य

कुछ नहीं मिला।

नए डिप्रिकेटेड

कुछ नहीं मिला।

आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)

पहलेबाद में
engines.node>=12>=20
नए एक्सपोर्ट (6)
importexportkind
postgresdefaultfunction
postgresPoolEventtype
postgresQueryTracetype
postgresNoticeEventtype
postgresConnectTracetype
postgresTransactionTracetype

अपने 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

अक्सर पूछे जाने वाले प्रश्न

postgres को 3 से 4 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?

postgres 3.4.9 और 4.0.0 के बीच Vigia को 45 हटाए गए एक्सपोर्ट, 14 बदले गए सिग्नेचर और 0 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।

postgres 4 में क्या डिप्रिकेट हुआ?

postgres 4.0.0 में 0 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।

एजेंटों के लिए

GET https://vigia.coredls.cloud/v1/packages/npm/postgres/upgrade?from=3.4.9&to=4.0.0