Aktualizacja @nx/rspack z 23.x do 24.x
Porównanie publicznego API @nx/rspack 23.3.1 i 24.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
| Usunięte ścieżki importu | 0 |
|---|---|
| Usunięte eksporty | 2 |
| Zmienione sygnatury | 10 |
| Usunięte składowe klas lub interfejsów | 0 |
| Zmienione składowe klas lub interfejsów | 0 |
| Nowo wycofane | 4 |
| Zmiany wymagań (engines, zależności peer) | 0 |
| Nowe eksporty | 0 |
Usunięte eksporty
| import | export | kind | Przed |
|---|---|---|---|
@nx/rspack/plugin | createDependencies | variable | CreateDependencies |
@nx/rspack/plugin.js | createDependencies | variable | CreateDependencies |
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
@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> |
Usunięte składowe klas lub interfejsów
Nie wykryto.
Zmienione składowe klas lub interfejsów
Nie wykryto.
Nowo wycofane
| 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. |
Zmiany wymagań (engines, zależności peer)
Nie wykryto.
Przekaż te dane swojemu agentowi AI
Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie
Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji @nx/rspack z 23 do 24?
Między @nx/rspack 23.3.1 a 24.0.0 Vigia znalazła 2 usuniętych eksportów, 10 zmienionych sygnatur i 0 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w @nx/rspack 24?
4 eksportów lub składowych oznaczono w @nx/rspack 24.0.0 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/@nx/rspack/upgrade?from=23.3.1&to=24.0.0