Vigia

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 paths0
Removed exports5
Changed signatures2
Removed class or interface members0
Changed class or interface members0
Newly deprecated2
Requirement changes (engines, peer dependencies)1
New exports0

Removed exports

importexportkindBefore
@nx/next/src/utils/deprecationwarnNextExecutorGeneratingfunction(): void
@nx/next/src/utils/deprecationwarnNextBuildExecutorDeprecationfunction(): void
@nx/next/src/utils/deprecationwarnNextServerExecutorDeprecationfunction(): void
@nx/next/src/utils/deprecationNEXT_BUILD_EXECUTOR_DEPRECATION_MESSAGEvariable"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/deprecationNEXT_SERVER_EXECUTOR_DEPRECATION_MESSAGEvariable"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

exportBeforeAfter
@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 · withNxExport the Next.js config directly and compose any other wrappers yourself. This inert stub will be removed in Nx v25.
@nx/next · composePluginsExport 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)

BeforeAfter
peerDependencies.@nx/webpack23.3.124.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