@nx/next को 23.x से 24.x पर अपग्रेड करना
@nx/next 23.3.1 और 24.0.0 के सार्वजनिक API की तुलना, उनके TypeScript टाइप से अपने-आप निकाली गई। बदला हुआ सिग्नेचर संभावित असंगत बदलाव है, निश्चितता नहीं।
सारांश
| हटाए गए इम्पोर्ट पाथ | 0 |
|---|---|
| हटाए गए एक्सपोर्ट | 5 |
| बदले गए सिग्नेचर | 2 |
| क्लास या इंटरफ़ेस के हटाए गए सदस्य | 0 |
| क्लास या इंटरफ़ेस के बदले गए सदस्य | 0 |
| नए डिप्रिकेटेड | 2 |
| आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ) | 1 |
| नए एक्सपोर्ट | 0 |
हटाए गए एक्सपोर्ट
| import | export | kind | पहले |
|---|---|---|---|
@nx/next/src/utils/deprecation | warnNextExecutorGenerating | function | (): void |
@nx/next/src/utils/deprecation | warnNextBuildExecutorDeprecation | function | (): void |
@nx/next/src/utils/deprecation | warnNextServerExecutorDeprecation | function | (): void |
@nx/next/src/utils/deprecation | NEXT_BUILD_EXECUTOR_DEPRECATION_MESSAGE | variable | "The `@nx/next:build` executor is deprecated and will be removed in Nx v24. Run `nx g @nx/next:convert-to-inferred` to migrate to the `@nx/next/plugin` inferred targets. See https://nx.dev/docs/guides/tasks--caching/convert-to-inferred for details." |
@nx/next/src/utils/deprecation | NEXT_SERVER_EXECUTOR_DEPRECATION_MESSAGE | variable | "The `@nx/next:server` executor is deprecated and will be removed in Nx v24. Run `nx g @nx/next:convert-to-inferred` to migrate to the `@nx/next/plugin` inferred targets. See https://nx.dev/docs/guides/tasks--caching/convert-to-inferred for details." |
बदले गए सिग्नेचर
| export | पहले | बाद में |
|---|---|---|
@nx/next · withNx | (_nextConfig?: WithNxOptions | undefined, context?: WithNxContext | undefined): NextConfigFn | (config?: WithNxOptions | undefined, _context?: WithNxContext | undefined): NextConfigFn |
@nx/next · composePlugins | (...plugins: (NextPlugin | NextPluginThatReturnsConfigFn)[]): (baseConfig: NextConfig) => NextConfigFn | (..._plugins: (NextPlugin | NextPluginThatReturnsConfigFn)[]): (baseConfig: NextConfig) => NextConfigFn |
क्लास या इंटरफ़ेस के हटाए गए सदस्य
कुछ नहीं मिला।
क्लास या इंटरफ़ेस के बदले गए सदस्य
कुछ नहीं मिला।
नए डिप्रिकेटेड
| export | @deprecated |
|---|---|
@nx/next · withNx | Export the Next.js config directly and compose any other wrappers yourself. This inert stub will be removed in Nx v25. |
@nx/next · composePlugins | Export the Next.js config directly and compose any other wrappers yourself. This inert stub will be removed in Nx v25. |
आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)
| पहले | बाद में | |
|---|---|---|
peerDependencies.@nx/webpack | 23.3.1 | 24.0.0 |
अपने 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/next को 23 से 24 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?
@nx/next 23.3.1 और 24.0.0 के बीच Vigia को 5 हटाए गए एक्सपोर्ट, 2 बदले गए सिग्नेचर और 0 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।
@nx/next 24 में क्या डिप्रिकेट हुआ?
@nx/next 24.0.0 में 2 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।
एजेंटों के लिए
GET https://vigia.coredls.cloud/v1/packages/npm/@nx/next/upgrade?from=23.3.1&to=24.0.0