Aggiornare @nx/next da 23.x a 24.x
Confronto dell’API pubblica di @nx/next 23.3.1 e 24.0.0, calcolato automaticamente dai tipi TypeScript. Una firma modificata è una possibile modifica incompatibile, non una certezza.
Riepilogo
| Percorsi di import rimossi | 0 |
|---|---|
| Export rimossi | 5 |
| Firme modificate | 2 |
| Membri di classi o interfacce rimossi | 0 |
| Membri di classi o interfacce modificati | 0 |
| Nuove deprecazioni | 2 |
| Requisiti cambiati (engines, dipendenze peer) | 1 |
| Nuovi export | 0 |
Export rimossi
| import | export | kind | Prima |
|---|---|---|---|
@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." |
Firme modificate
| export | Prima | Dopo |
|---|---|---|
@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 |
Membri di classi o interfacce rimossi
Nessuna rilevata.
Membri di classi o interfacce modificati
Nessuna rilevata.
Nuove deprecazioni
| 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. |
Requisiti cambiati (engines, dipendenze peer)
| Prima | Dopo | |
|---|---|---|
peerDependencies.@nx/webpack | 23.3.1 | 24.0.0 |
Dai questi dati al tuo agente IA
Vigia è un server MCP gratuito: il tuo agente di programmazione verifica versioni, modifiche incompatibili e vulnerabilità prima di scrivere codice. Senza registrazione né chiave API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Aggiungi a CursorAggiungi a VS Code★ Stella su GitHub
Qualsiasi altro client MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill per agenti (SKILL.md): dice all'agente quando usare Vigia · GitHub Action per le pull request
Domande frequenti
Quali sono le modifiche incompatibili aggiornando @nx/next da 23 a 24?
Tra @nx/next 23.3.1 e 24.0.0, Vigia ha trovato 5 export rimossi, 2 firme modificate e 0 membri di classi o interfacce rimossi o modificati.
Cosa è stato deprecato in @nx/next 24?
2 export o membri risultano ora deprecati in @nx/next 24.0.0.
Per gli agenti
GET https://vigia.coredls.cloud/v1/packages/npm/@nx/next/upgrade?from=23.3.1&to=24.0.0