Upgrading @nx/next from 23.x to 24.x
Comparison of the public API of @nx/next 23.3.1 and 24.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 5 |
| Changed signatures | 2 |
| Removed class or interface members | 0 |
| Changed class or interface members | 0 |
| Newly deprecated | 2 |
| Requirement changes (engines, peer dependencies) | 1 |
| New exports | 0 |
Removed exports
| import | export | kind | Before |
|---|---|---|---|
@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." |
Changed signatures
| export | Before | After |
|---|---|---|
@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 |
Removed class or interface members
None detected.
Changed class or interface members
None detected.
Newly deprecated
| 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. |
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
peerDependencies.@nx/webpack | 23.3.1 | 24.0.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What are the breaking changes when upgrading @nx/next from 23 to 24?
Between @nx/next 23.3.1 and 24.0.0, Vigia found 5 removed exports, 2 changed signatures and 0 removed or changed class or interface members.
What became deprecated in @nx/next 24?
2 exports or members are newly marked as deprecated in @nx/next 24.0.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@nx/next/upgrade?from=23.3.1&to=24.0.0