Vigia

@nx/react को 23.x से 24.x पर अपग्रेड करना

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

सारांश

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

हटाए गए इम्पोर्ट पाथ

हटाए गए इम्पोर्ट पाथ
@nx/react/mf

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

importexportkindपहले
@nx/reacthostGeneratorfunction(host: Tree, schema: Schema): Promise<GeneratorCallback>
@nx/reactremoteGeneratorfunction(host: Tree, schema: Schema): Promise<GeneratorCallback>

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

exportपहलेबाद में
@nx/react · withReact(pluginOptions?: WithReactOptions | undefined): (config: Configuration, context: NxWebpackExecutionContext) => Configuration(_options?: WithReactOptions | undefined): (config: Configuration, _context?: any) => Configuration
@nx/react/module-federation · withModuleFederationany(..._args: unknown[]): Promise<IdentityConfigFn>
@nx/react/module-federation · withModuleFederationForSSRany(..._args: unknown[]): Promise<IdentityConfigFn>
@nx/react/plugins/with-react · withReact(pluginOptions?: WithReactOptions | undefined): (config: Configuration, context: NxWebpackExecutionContext) => Configuration(_options?: WithReactOptions | undefined): (config: Configuration, _context?: any) => Configuration

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

memberimportपहले
ReactRouterPluginOptions.typecheckTargetName@nx/react/router-pluginstring | undefined

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

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

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

export@deprecated
@nx/react/module-federation · withModuleFederationRemoved in Nx v24. Use `ModuleFederationPlugin` from `@module-federation/enhanced`. This stub will be removed in Nx v25.
@nx/react/module-federation · withModuleFederationForSSRRemoved in Nx v24. Use `ModuleFederationPlugin` from `@module-federation/enhanced`. This stub will be removed in Nx v25.

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

पहलेबाद में
peerDependencies.express^4.21.2—
peerDependencies.@nx/module-federation23.3.1—
peerDependencies.http-proxy-middleware^3.0.7—
नए एक्सपोर्ट (1)
importexportkind
@nx/react/internalapplyReactConfigfunction

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

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

@nx/react को 23 से 24 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?

@nx/react 23.3.1 और 24.0.0 के बीच Vigia को 2 हटाए गए एक्सपोर्ट, 4 बदले गए सिग्नेचर और 1 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।

@nx/react 24 में क्या डिप्रिकेट हुआ?

@nx/react 24.0.0 में 2 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।

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

GET https://vigia.coredls.cloud/v1/packages/npm/@nx/react/upgrade?from=23.3.1&to=24.0.0