Vigia

Upgrading @nx/rspack from 23.x to 24.x

Comparison of the public API of @nx/rspack 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 exports2
Changed signatures10
Removed class or interface members0
Changed class or interface members0
Newly deprecated4
Requirement changes (engines, peer dependencies)0
New exports0

Removed exports

importexportkindBefore
@nx/rspack/plugincreateDependenciesvariableCreateDependencies
@nx/rspack/plugin.jscreateDependenciesvariableCreateDependencies

Changed signatures

exportBeforeAfter
@nx/rspack · withNx(pluginOptions?: Partial<NxAppRspackPluginOptions> | undefined): NxComposableRspackPlugin(_options?: Partial<NxAppRspackPluginOptions> | undefined): NxComposableRspackPlugin
@nx/rspack · withWeb(pluginOptions?: WithWebOptions | undefined): (config: Configuration, { options, context }: NxRspackExecutionContext) => Configuration(_options?: WithWebOptions | undefined): NxComposableRspackPlugin
@nx/rspack · withReact(opts?: WithReactOptions | undefined): (config: Configuration, { options, context }: NxRspackExecutionContext) => Configuration(_options?: WithReactOptions | undefined): NxComposableRspackPlugin
@nx/rspack · composePlugins(...plugins: (AsyncNxComposableRspackPlugin | NxComposableRspackPlugin | Promise<AsyncNxComposableRspackPlugin | NxComposableRspackPlugin>)[]): ((config: Configuration, ctx: NxRspackExecutionContext) => Promise<Configuration>) & { nxRspackComposablePlugin: boolean; }(..._plugins: (AsyncNxComposableRspackPlugin | NxComposableRspackPlugin | Promise<AsyncNxComposableRspackPlugin | NxComposableRspackPlugin>)[]): ((config?: any, ctx?: NxRspackExecutionContext | undefined) => Promise<Configuration>) & { nxRspackComposablePlugin: boolean; }
@nx/rspack · composePluginsSync(...plugins: NxComposableRspackPlugin[]): ((config: Configuration, ctx: NxRspackExecutionContext) => Configuration) & { nxRspackComposablePlugin: boolean; }(..._plugins: NxComposableRspackPlugin[]): ((config?: any, ctx?: NxRspackExecutionContext | undefined) => Configuration) & { nxRspackComposablePlugin: boolean; }
@nx/rspack · getRspackE2EWebServerInfo(tree: Tree, projectName: string, configFilePath: string, isPluginBeingAdded: boolean, e2ePortOverride?: number | undefined): Promise<any>(tree: Tree, projectName: string, configFilePath: string, e2ePortOverride?: number | undefined): Promise<any>
@nx/rspack/module-federation · withModuleFederationany(..._args: unknown[]): Promise<IdentityConfigFn>
@nx/rspack/module-federation · withModuleFederationForSSRany(..._args: unknown[]): Promise<IdentityConfigFn>
@nx/rspack/module-federation.js · withModuleFederationany(..._args: unknown[]): Promise<IdentityConfigFn>
@nx/rspack/module-federation.js · withModuleFederationForSSRany(..._args: unknown[]): Promise<IdentityConfigFn>

Removed class or interface members

None detected.

Changed class or interface members

None detected.

Newly deprecated

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

Requirement changes (engines, peer dependencies)

None detected.

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/rspack from 23 to 24?

Between @nx/rspack 23.3.1 and 24.0.0, Vigia found 2 removed exports, 10 changed signatures and 0 removed or changed class or interface members.

What became deprecated in @nx/rspack 24?

4 exports or members are newly marked as deprecated in @nx/rspack 24.0.0.

For agents

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