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 paths | 0 |
|---|---|
| Removed exports | 2 |
| Changed signatures | 10 |
| Removed class or interface members | 0 |
| Changed class or interface members | 0 |
| Newly deprecated | 4 |
| Requirement changes (engines, peer dependencies) | 0 |
| New exports | 0 |
Removed exports
| import | export | kind | Before |
|---|---|---|---|
@nx/rspack/plugin | createDependencies | variable | CreateDependencies |
@nx/rspack/plugin.js | createDependencies | variable | CreateDependencies |
Changed signatures
| export | Before | After |
|---|---|---|
@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 · withModuleFederation | any | (..._args: unknown[]): Promise<IdentityConfigFn> |
@nx/rspack/module-federation · withModuleFederationForSSR | any | (..._args: unknown[]): Promise<IdentityConfigFn> |
@nx/rspack/module-federation.js · withModuleFederation | any | (..._args: unknown[]): Promise<IdentityConfigFn> |
@nx/rspack/module-federation.js · withModuleFederationForSSR | any | (..._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 · withModuleFederation | Removed in Nx v24. Use `ModuleFederationPlugin` from `@module-federation/enhanced`. This stub will be removed in Nx v25. |
@nx/rspack/module-federation · withModuleFederationForSSR | Removed in Nx v24. Use `ModuleFederationPlugin` from `@module-federation/enhanced`. This stub will be removed in Nx v25. |
@nx/rspack/module-federation.js · withModuleFederation | Removed in Nx v24. Use `ModuleFederationPlugin` from `@module-federation/enhanced`. This stub will be removed in Nx v25. |
@nx/rspack/module-federation.js · withModuleFederationForSSR | Removed 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