@rspack/core breaking changes
Updated December 4, 2026
On this page
Latest version 2.3.6, released December 3, 2026. Source repository
Its 1.5.0 release requires Node.js 18.12.0 or later. Node.js end of life dates.
- From 1.7.9 to 2.3.3: 573 breaking changes in 44 versions.
- From 1.0.13 to 2.3.3: 1,654 breaking changes in 103 versions.
@rspack/core 2.3.3 breaking changes
- Behavior changed
HTTP lockfiles and cache filenames were changed to match webpack, so the old Rspack format must be regenerated. github.com - Configuration changed
experiments.buildHttp.frozen
The previous Rspack HTTP lockfile and content cache format is no longer supported. Delete the old lockfile and content cache, rebuild with experiments.buildHttp.frozen set to false, then review and commit the regenerated files before... github.com - Signature changed
ExternalItemObjectValue
Was type ExternalItemObjectValue = Record<string, string | string[]>; now type ExternalItemObjectValue = Record<string, string | string[]> & {interop?: ExternalItemInterop;}. npmjs.com - Signature changed
ExternalItemUmdValue
Was type ExternalItemUmdValue = {root: string | string[]; commonjs: string | string[]; commonjs2: string | string[]; amd: string | string[];}; now type ExternalItemUmdValue = {root: string | string[]; commonjs: string | string[]... npmjs.com
@rspack/core 2.3.2 breaking changes
- Signature changed
CssGeneratorOptions
Was type CssGeneratorOptions = {exportsOnly?: CssGeneratorExportsOnly; esModule?: CssGeneratorEsModule;}; now type CssGeneratorOptions = {exportsOnly?: CssGeneratorExportsOnly; runtimePublicPath?: boolean; esModule?: CssGeneratorEsModule;}. npmjs.com - Signature changed
CssModuleGeneratorOptions
Was type CssModuleGeneratorOptions = {exportsConvention?: CssGeneratorExportsConvention; exportsOnly?: CssGeneratorExportsOnly; localIdentHashDigest?: CssGeneratorLocalIdentHashDigest; localIdentHashDigestLength?... npmjs.com - Signature changed
Environment
Was type Environment = {arrowFunction?: boolean; asyncFunction?: boolean; bigIntLiteral?: boolean; const?: boolean; computedProperty?: boolean; destructuring?: boolean; document?: boolean; dynamicImport?: boolean; dynamicImportInWorker?... npmjs.com - Signature changed
ExternalItem
Was type ExternalItem = string | RegExp | ExternalItemObjectUnknown | ((data: ExternalItemFunctionData, callback: (err?: Error | null, result?: ExternalItemValue, type?: ExternalsType) => void) => ExternalItemValue | void |... npmjs.com - Signature changed
RuleSetRule
Was type RuleSetRule = RuleSetRuleUseAndLoader & {test?: RuleSetCondition; exclude?: RuleSetCondition; include?: RuleSetCondition; issuer?: RuleSetCondition; issuerLayer?: RuleSetCondition; dependency?: RuleSetCondition; phase?... npmjs.com - Signature changed
SubresourceIntegrityPluginOptions
Was type SubresourceIntegrityPluginOptions = {hashFuncNames?: [SubresourceIntegrityHashFunction, ...SubresourceIntegrityHashFunction[]]; htmlPlugin?: string | false; enabled?: 'auto' | boolean;}; now type SubresourceIntegrityPluginOptions... npmjs.com - Signature changed
WatchFileSystem.on
Was on?(event: 'change', listener: (filename: string, mtime: number) => void): this; now on?(event: 'change', listener: (filename: string, mtime: number | null) => void): this. npmjs.com - Signature changed
WatchFileSystem.once
Was once?(event: 'change', listener: (filename: string, mtime: number) => void): this; now once?(event: 'change', listener: (filename: string, mtime: number | null) => void): this. npmjs.com
@rspack/core 2.3.1 breaking changes
- Default changed
cacheInfo
Stats output no longer includes cacheInfo by default. If your code reads cacheInfo from stats, enable it explicitly. github.com - Signature changed
DevServerProxyConfigArrayItem.router
Was router?: Record<string, ProxyServerOptions['target']> | ((req: TReq, res: TRes | undefined, options: Options<TReq, TRes>) => ProxyServerOptions['target']) | ((req: TReq, res: TRes | undefined, options: Options<TReq, TRes>) =>... npmjs.com
@rspack/core 2.3.0 breaking changes
- Removed
FileSystemCacheOptions
FileSystemCacheOptions was removed in @rspack/core 2.3.0 npmjs.com - Removed
sources.ConcatSource.Child
sources.ConcatSource.Child was removed in @rspack/core 2.3.0 npmjs.com - Removed
sources.ConcatSource.ClearCacheOptions
sources.ConcatSource.ClearCacheOptions was removed in @rspack/core 2.3.0 npmjs.com - Removed
sources.ConcatSource.constructor
new ConcatSource() was removed in @rspack/core 2.3.0 npmjs.com - Removed
sources.ConcatSource.GeneratedSourceInfo
sources.ConcatSource.GeneratedSourceInfo was removed in @rspack/core 2.3.0 npmjs.com - Removed
sources.ConcatSource.HashLike
sources.ConcatSource.HashLike was removed in @rspack/core 2.3.0 npmjs.com - Removed
sources.ConcatSource.MapOptions
sources.ConcatSource.MapOptions was removed in @rspack/core 2.3.0 npmjs.com - Removed
sources.ConcatSource.OnChunk
sources.ConcatSource.OnChunk was removed in @rspack/core 2.3.0 npmjs.com - Removed
sources.ConcatSource.OnName
sources.ConcatSource.OnName was removed in @rspack/core 2.3.0 npmjs.com - Removed
sources.ConcatSource.OnSource
sources.ConcatSource.OnSource was removed in @rspack/core 2.3.0 npmjs.com
And 32 more in this version. Sign up to see every change
@rspack/core 2.2.9 breaking changes
- Removed
sources.Source.constructor
new Source() was removed in @rspack/core 2.2.9 npmjs.com - Removed
sources.util.stringBufferUtils
sources.util.stringBufferUtils was removed in @rspack/core 2.2.9 npmjs.com - Behavior changed
devtool
Source maps from devtool are generated only for JS and CSS assets, matching webpack. Other assets no longer get source maps. github.com - Default changed
The resolve cache is off by default in the new cache. Code that relied on it being on must enable it explicitly. github.com - Signature changed
Compilation.createChildCompiler
Was createChildCompiler(name: string, outputOptions: OutputNormalized, plugins: RspackPluginInstance[]): Compiler; now createChildCompiler(name: string, outputOptions: OutputNormalized, plugins?: (RspackPluginInstance | Falsy)[]): Compiler. npmjs.com - Signature changed
Compilation.getAsset
Was getAsset(name: string): Readonly<Asset> | void; now getAsset(name: string): Readonly<Asset> | undefined. npmjs.com - Signature changed
Compilation.hooks
Was hooks: Readonly<{processAssets: liteTapable.AsyncSeriesHook<Assets>; afterProcessAssets: liteTapable.SyncHook<Assets>; childCompiler: liteTapable.SyncHook<[Compiler, string, number]>; log: liteTapable.SyncBailHook<[string, LogEntry]... npmjs.com - Signature changed
Compiler.createChildCompiler
Was createChildCompiler(compilation: Compilation, compilerName: string, compilerIndex: number, outputOptions: OutputNormalized, plugins: RspackPluginInstance[]): Compiler; now createChildCompiler(compilation: Compilation, compilerName... npmjs.com - Signature changed
ResolveData
Was type ResolveData = binding.JsResolveData; now type ResolveData = binding.JsResolveData & {fileDependencies: string[]; contextDependencies: string[]; missingDependencies: string[];}. npmjs.com - Signature changed
RuleSetUse
Was type RuleSetUse = RuleSetUseItem | RuleSetUseItem[] | ((data: RawFuncUseCtx) => RuleSetUseItem[]); now type RuleSetUse = RuleSetUseItem | RuleSetUseItem[] | ((data: RawFuncUseCtx) => RuleSetUseItem | RuleSetUseItem[]). npmjs.com
And 65 more in this version. Sign up to see every change
@rspack/core 2.2.8 breaking changes
- Removed
Compilation.buildDependencies.add
Compilation.buildDependencies.add was removed in @rspack/core 2.2.8 npmjs.com - Removed
Compilation.buildDependencies.addAll
Compilation.buildDependencies.addAll was removed in @rspack/core 2.2.8 npmjs.com - Removed
Compilation.buildDependencies.delete
Compilation.buildDependencies.delete was removed in @rspack/core 2.2.8 npmjs.com - Removed
Compilation.buildDependencies.entries
Compilation.buildDependencies.entries was removed in @rspack/core 2.2.8 npmjs.com - Removed
Compilation.buildDependencies.has
Compilation.buildDependencies.has was removed in @rspack/core 2.2.8 npmjs.com - Removed
Compilation.buildDependencies.keys
Compilation.buildDependencies.keys was removed in @rspack/core 2.2.8 npmjs.com - Removed
Compilation.buildDependencies.size
Compilation.buildDependencies.size was removed in @rspack/core 2.2.8 npmjs.com - Removed
Compilation.buildDependencies.values
Compilation.buildDependencies.values was removed in @rspack/core 2.2.8 npmjs.com - Removed
Compilation.contextDependencies.add
Compilation.contextDependencies.add was removed in @rspack/core 2.2.8 npmjs.com - Removed
Compilation.contextDependencies.addAll
Compilation.contextDependencies.addAll was removed in @rspack/core 2.2.8 npmjs.com
And 42 more in this version. Sign up to see every change
Older versions
98 older versions, each with its first changes. Sign up to see every change
Show 98 older versions
@rspack/core 2.2.7 breaking changes
- Signature changed
OptimizationSplitChunksOptions
Was type OptimizationSplitChunksOptions = {cacheGroups?: Record<string, false | OptimizationSplitChunksCacheGroup>; fallbackCacheGroup?: {chunks?: OptimizationSplitChunksChunks; minSize?: number; maxSize?: number; maxAsyncSize?: number... npmjs.com - Signature changed
ResolveOptions
Was type ResolveOptions = {alias?: ResolveAlias; conditionNames?: string[]; extensions?: string[]; fallback?: ResolveAlias; mainFields?: string[]; mainFiles?: string[]; modules?: string[]; preferRelative?: boolean; preferAbsolute?... npmjs.com
And 1 more in this version.
@rspack/core 2.2.5 breaking changes
- Removed
MemoryCacheOptions.snapshot
MemoryCacheOptions.snapshot was removed in @rspack/core 2.2.5 npmjs.com - Signature changed
CacheNormalized
Was type CacheNormalized = false | {type: 'memory'; snapshot: CacheSnapshotNormalized;} | {type: 'persistent'; name?: string; buildDependencies: string[]; version?: string; maxAge?: number; maxMemoryGenerations?: number; maxVersions?... npmjs.com
And 5 more in this version.
@rspack/core 2.2.4 breaking changes
- Behavior changed
In frozen builds, remote HTTP URI resources are now checked against lockfile integrity, so builds that previously passed with mismatched content can now fail. github.com - Behavior changed
CSS-only entries using native CSS support now emit standalone stylesheets without an unnecessary JavaScript bundle, and standalone runtime chunks are omitted when no JavaScript entry needs them. Code that expects those JavaScript or... github.com
@rspack/core 2.2.3 breaking changes
- Behavior changed
watchOptions.ignored
With experiments.nativeWatcher enabled, watchOptions.ignored now also accepts a function. Existing configurations keep working; this is an addition, so no action is required. github.com - Signature changed
CacheNormalized
Was type CacheNormalized = false | {type: 'memory'; snapshot: CacheSnapshotNormalized;} | {type: 'persistent'; name?: string; buildDependencies: string[]; version?: string; maxAge?: number; maxVersions?: number; snapshot... npmjs.com
And 6 more in this version.
@rspack/core 2.2.2 breaking changes
- Signature changed
CacheNormalized
Was type CacheNormalized = false | {type: 'memory';} | {type: 'persistent'; name?: string; buildDependencies: string[]; version?: string; maxAge?: number; maxVersions?: number; snapshot: {immutablePaths?: (string | RegExp)[]... npmjs.com - Signature changed
Compilation.getAssetPath
Was getAssetPath(filename: string, data?: PathData): string; now getAssetPath(filename: Filename, data?: PathData): string. npmjs.com
And 6 more in this version.
@rspack/core 2.2.1 breaking changes
- Signature changed
Optimization
Was type Optimization = {moduleIds?: false | 'named' | 'natural' | 'deterministic' | 'compat-hashed' | 'hashed'; chunkIds?: false | 'natural' | 'named' | 'deterministic' | 'compat-hashed' | 'size' | 'total-size'; minimize?: boolean... npmjs.com - Signature changed
Optimization.chunkIds
Was chunkIds?: false | 'natural' | 'named' | 'deterministic' | 'compat-hashed' | 'size' | 'total-size'; now chunkIds?: false | 'natural' | 'named' | 'deterministic' | 'compact-hashed' | CompatHashedIds | 'size' | 'total-size'. npmjs.com
And 2 more in this version.
@rspack/core 2.2.0 breaking changes
- Signature changed
Experiments
Was type Experiments = {asyncWebAssembly?: boolean; css?: boolean; futureDefaults?: boolean; newCache?: boolean; buildHttp?: HttpUriOptions; useInputFileSystem?: UseInputFileSystem; nativeWatcher?: boolean; deferImport?: boolean... npmjs.com - Signature changed
Experiments.newCache
Was newCache?: boolean; now newCache?: NewCachePresets | NewCache. npmjs.com
And 5 more in this version.
@rspack/core 2.2.0-beta.1 breaking changes
- Behavior changed
Plugins compiled against an earlier SWC schema no longer load; rebuild the plugin or use an SWC 77 compatible release. github.com - Behavior changed
CSS imported by a Client Component is no longer injected by wrapping exports with generated link elements. Upgrade react-server-dom-rspack to 0.1.0 and update code relying on the old export-wrapper behavior. Explicit links remain available... github.com
And 1 more in this version.
@rspack/core 2.1.10 breaking changes
- Signature changed
Experiments
Was type Experiments = {asyncWebAssembly?: boolean; css?: boolean; futureDefaults?: boolean; buildHttp?: HttpUriOptions; useInputFileSystem?: UseInputFileSystem; nativeWatcher?: boolean; deferImport?: boolean; sourceImport?: boolean... npmjs.com
@rspack/core 2.1.9 breaking changes
- Signature changed
LoaderContext.getLogger
Was getLogger(name: string): Logger; now getLogger(name?: string): Logger. npmjs.com - Signature changed
LoaderContext.getResolve
Was getResolve(options: Resolve): ((context: string, request: string, callback: ResolveCallback) => void) | ((context: string, request: string) => Promise<string | false | undefined>); now getResolve(options?: Resolve): ((context: string... npmjs.com
And 2 more in this version.
@rspack/core 2.1.8 breaking changes
- Configuration changed
cache.storage.directory
cache.storage.directory is now the base directory, and the cache location defaults to <directory>/<cache.name>. If you used it as the exact cache path, change it to cache.storage.location. Existing cache data is not migrated automatically. github.com - Signature changed
CacheNormalized
Was type CacheNormalized = false | {type: 'memory';} | {type: 'persistent'; buildDependencies: string[]; version?: string; maxAge?: number; maxVersions?: number; snapshot: {immutablePaths?: (string | RegExp)[]; unmanagedPaths?: (string |... npmjs.com
And 2 more in this version.
@rspack/core 2.1.7 breaking changes
- Removed
Experiments.env
Experiments.env was removed in @rspack/core 2.1.7 npmjs.com - Removed
ExperimentsNormalized.env
ExperimentsNormalized.env was removed in @rspack/core 2.1.7 npmjs.com
And 6 more in this version.
@rspack/core 2.1.6 breaking changes
- Behavior changed
resolve.modules
The release clarified documentation of resolve.modules behavior; no code change is announced, so review your config only if relying on unclear semantics. github.com - Signature changed
Experiments
Was type Experiments = {asyncWebAssembly?: boolean; css?: boolean; futureDefaults?: boolean; buildHttp?: HttpUriOptions; useInputFileSystem?: UseInputFileSystem; nativeWatcher?: boolean; deferImport?: boolean; sourceImport?: boolean... npmjs.com
And 1 more in this version.
@rspack/core 2.1.4 breaking changes
- Signature changed
Environment
Was type Environment = {arrowFunction?: boolean; asyncFunction?: boolean; bigIntLiteral?: boolean; const?: boolean; computedProperty?: boolean; destructuring?: boolean; document?: boolean; dynamicImport?: boolean; dynamicImportInWorker?... npmjs.com - Signature changed
JavascriptParserOptions
Was type JavascriptParserOptions = {dynamicImportMode?: 'eager' | 'lazy' | 'weak' | 'lazy-once'; dynamicImportPreload?: boolean | number; dynamicImportPrefetch?: boolean | number; dynamicImportFetchPriority?: 'low' | 'high' | 'auto'... npmjs.com
And 2 more in this version.
@rspack/core 2.1.3 breaking changes
- Default changed
The default source map settings were changed to use the rspack scheme. Check any tooling or configuration that depends on the previous source map defaults. github.com - Signature changed
ChunkPathData
Was type ChunkPathData = {id?: string | number; name?: string; hash?: string; contentHash?: Record<string, string>;}; now type ChunkPathData = {id?: string | number; name?: string; hash?: string; contentHash?: Record<string, string> |... npmjs.com
And 4 more in this version.
@rspack/core 2.1.0 breaking changes
- Removed
RspackOptions.snapshot
RspackOptions.snapshot was removed in @rspack/core 2.1.0 npmjs.com - Removed
RspackOptionsNormalized.snapshot
RspackOptionsNormalized.snapshot was removed in @rspack/core 2.1.0 npmjs.com
And 18 more in this version.
@rspack/core 2.1.0-beta.0 breaking changes
- Default changed
experiments.pureFunctions
Rspack now removes unused pure function calls by default in production builds. Users who relied on those calls running must opt out or adjust their code. github.com
@rspack/core 2.0.7 breaking changes
- Removed
CssParserOptions.animation
CssParserOptions.animation was removed in @rspack/core 2.0.7 npmjs.com - Removed
CssParserOptions.customIdents
CssParserOptions.customIdents was removed in @rspack/core 2.0.7 npmjs.com
And 10 more in this version.
@rspack/core 2.0.6 breaking changes
- Behavior changed
disableClientApiChecks
The server-only and client-only import checks now run regardless of disableClientApiChecks, which only scopes the React client-API checks. Builds that relied on disabling it may now report new diagnostics. github.com
@rspack/core 2.0.5 breaking changes
- Behavior changed
Prototype-pollution style keys passed through --env are now blocked during parsing, so any build relying on such keys will see different values. github.com - Signature changed
CssModuleParserOptions
Was type CssModuleParserOptions = {namedExports?: CssParserNamedExports; url?: CssParserUrl; resolveImport?: CssParserResolveImport;}; now type CssModuleParserOptions = {namedExports?: CssParserNamedExports; url?: CssParserUrl; import?... npmjs.com
And 3 more in this version.
@rspack/core 2.0.4 breaking changes
- Removed
CssAutoGeneratorOptions
CssAutoGeneratorOptions was removed in @rspack/core 2.0.4 npmjs.com - Removed
CssAutoParserOptions
CssAutoParserOptions was removed in @rspack/core 2.0.4 npmjs.com
And 5 more in this version.
@rspack/core 2.0.3 breaking changes
- Signature changed
Compilation.namedChunks
Was readonly namedChunks: ReadonlyMap<string, Readonly<binding.Chunk>>; now readonly namedChunks: ReadonlyMap<string, Readonly<Chunk>>. npmjs.com - Signature changed
ExternalsType
Was type ExternalsType = 'var' | 'module' | 'assign' | 'this' | 'window' | 'self' | 'global' | 'commonjs' | 'commonjs2' | 'commonjs-module' | 'commonjs-static' | 'amd' | 'amd-require' | 'umd' | 'umd2' | 'jsonp' | 'system' | 'promise' |... npmjs.com
@rspack/core 2.0.2 breaking changes
- Signature changed
ChunkPathData
Was type ChunkPathData = {id?: string; name?: string; hash?: string; contentHash?: Record<string, string>;}; now type ChunkPathData = {id?: string | number; name?: string; hash?: string; contentHash?: Record<string, string>;}. npmjs.com - Signature changed
ChunkPathData.id
Was id?: string; now id?: string | number. npmjs.com
And 5 more in this version.
@rspack/core 2.0.1 breaking changes
- Removed
DevServerProxyConfigArrayItem.method
DevServerProxyConfigArrayItem.method was removed in @rspack/core 2.0.1 npmjs.com - Signature changed
DevServerProxyConfigArrayItem.auth
Was auth?: string | undefined; now auth?: string. npmjs.com
And 25 more in this version.
@rspack/core 2.0.0 breaking changes
- Removed
DevServer.bonjour
DevServer.bonjour was removed in @rspack/core 2.0.0 npmjs.com - Removed
ExperimentCacheNormalized
ExperimentCacheNormalized was removed in @rspack/core 2.0.0 npmjs.com
And 184 more in this version.
@rspack/core 2.0.0-rc.3 breaking changes
- Behavior changed
The rspack_browser crate was removed and @rspack/browser must now run inside a Worker. Browser code that ran it on the main thread must move it into a Worker. github.com - Behavior changed
output.path
A relative output.path is now resolved relative to the context option. Configs that relied on the previous resolution may write to a different location. github.com
And 1 more in this version.
@rspack/core 2.0.0-rc.1 breaking changes
- Default changed
bundlerInfo
The bundlerInfo force option is now off by default. Code that relied on it being forced on must enable it explicitly. github.com
@rspack/core 2.0.0-beta.9 breaking changes
- Removed
module.unsafeCache
The module.unsafeCache option is no longer documented as available. Remove it from your config. github.com
@rspack/core 2.0.0-beta.8 breaking changes
- Removed
ModernModuleLibraryPlugin
Old deprecated code of ModernModuleLibraryPlugin was removed. Stop relying on it. github.com - Behavior changed
Resolving multiple Yarn PnP projects is no longer supported. Use a single PnP project per build. github.com
@rspack/core 2.0.0-beta.7 breaking changes
- Removed
Optimization.removeAvailableModules
The optimization.removeAvailableModules config option was removed. Delete it from your config. npmjs.com - Renamed
rspackExperiments.import
The rspackExperiments.import option in swc-loader moved to a top-level transformImport option. Update your config to use it. github.com
And 4 more in this version.
@rspack/core 2.0.0-beta.6 breaking changes
- Removed
Hot modules no longer provide default exports. Code that relies on a default export from a hot module must switch to named exports. github.com - Behavior changed
Default module rule regexes now match case-sensitively, so files whose extensions differ in case may no longer match existing rules. github.com
And 1 more in this version.
@rspack/core 2.0.0-beta.5 breaking changes
- Behavior changed
Namespace objects used as this in imports now follow the strictThisContextOnImports setting, which may change runtime behavior of existing code. github.com - Default changed
stats.colors
Stats output is colorized by default when the terminal supports it. Set stats.colors to false to keep plain output. github.com
@rspack/core 2.0.0-beta.3 breaking changes
- Signature changed
progress-plugin
The progress handler no longer takes rest arguments; it receives a single structured info object. Update handlers that read the old positional arguments. github.com
@rspack/core 2.0.0-beta.2 breaking changes
- Removed
readResourceForScheme
The deprecated readResourceForScheme hook is removed. github.com
@rspack/core 2.0.0-beta.1 breaking changes
- Behavior changed
debug hash algorithm
The debug hash algorithm is removed, which changes generated hashes. github.com - Default changed
devtool
The default devtool value changed. github.com
And 1 more in this version.
@rspack/core 2.0.0-beta.0 breaking changes
- Removed
experiments.outputModule
The experiments.outputModule config is removed. github.com - Removed
unsafe cache
The unsafe cache is removed; users relying on it should move to the other cache options. github.com
@rspack/core 2.0.0-alpha.1 breaking changes
- Behavior changed
verbatimModuleSyntax
The earlier change enabling verbatimModuleSyntax by default is reverted. github.com
@rspack/core 2.0.0-alpha.0 breaking changes
- Removed
Node.js 18 is no longer supported. github.com - Removed
deprecated output library fields
Deprecated output library fields are removed. github.com
And 22 more in this version.
@rspack/core 1.7.9 breaking changes
- Signature changed
ConsumesConfig
Was type ConsumesConfig = {eager?: boolean; import?: false | ConsumesItem; packageName?: string; requiredVersion?: false | string; shareKey?: string; shareScope?: string; singleton?: boolean; strictVersion?: boolean;}; now type... npmjs.com - Signature changed
ConsumesConfig.shareScope
Was shareScope?: string; now shareScope?: ShareScope. npmjs.com
And 16 more in this version.
@rspack/core 1.7.8 breaking changes
- Signature changed
Compilation.hooks
Was hooks: Readonly<{processAssets: liteTapable.AsyncSeriesHook<Assets>; afterProcessAssets: liteTapable.SyncHook<Assets>; childCompiler: liteTapable.SyncHook<[Compiler, string, number]>; log: liteTapable.SyncBailHook<[string, LogEntry]... npmjs.com
@rspack/core 1.7.2 breaking changes
- Behavior changed
The release adds a requireAlias option to control require variable renaming, and reverts the warning that was added when requireAlias is disabled. Code relying on the default require renaming should be checked. github.com - Signature changed
Compilation.hooks
Was hooks: Readonly<{processAssets: liteTapable.AsyncSeriesHook<Assets>; afterProcessAssets: liteTapable.SyncHook<Assets>; childCompiler: liteTapable.SyncHook<[Compiler, string, number]>; log: liteTapable.SyncBailHook<[string, LogEntry]... npmjs.com
And 2 more in this version.
@rspack/core 1.7.0 breaking changes
- Removed
CircularDependencyRspackPluginOptions.allowAsyncCycles
The allowAsyncCycles option was removed and module dependencies are now all detected. Stop passing this option. npmjs.com - Removed
Experiments.parallelCodeSplitting
Experiments.parallelCodeSplitting was removed in @rspack/core 1.7.0 npmjs.com
And 23 more in this version.
@rspack/core 1.7.0-beta.0 breaking changes
- Removed
experiments.inlineEnum
The experiments.inlineEnum option was removed when inline exports were stabilized. Use optimization.inlineExports instead. github.com - Removed
experiments.lazyBarrel
The experiments.lazyBarrel option was removed because the feature was promoted to stable. Delete this option from the config. github.com
And 2 more in this version.
@rspack/core 1.6.7 breaking changes
- Signature changed
RuntimeGlobals
Was const RuntimeGlobals: {readonly require: "__webpack_require__"; readonly requireScope: "__webpack_require__.*"; readonly exports: "__webpack_exports__"; readonly thisAsExports: "top-level-this-exports"; readonly... npmjs.com
@rspack/core 1.6.6 breaking changes
- Default changed
output.pathinfo
output.pathinfo is now off by default. If your code or tooling relies on the path comments in the generated output, set output.pathinfo to true explicitly. github.com - Signature changed
Environment
Was type Environment = {arrowFunction?: boolean; asyncFunction?: boolean; bigIntLiteral?: boolean; const?: boolean; destructuring?: boolean; document?: boolean; dynamicImport?: boolean; dynamicImportInWorker?: boolean; forOf?: boolean... npmjs.com
And 2 more in this version.
@rspack/core 1.6.0 breaking changes
- Removed
experiments.layers
The experiments.layers option was removed in this release. Remove it from your configuration. github.com - Behavior changed
A module with no CommonJS-specific syntax is now treated as an ES module. Code relying on the old module type may need adjustment. github.com
And 24 more in this version.
@rspack/core 1.6.0-beta.0 breaking changes
- Removed
experiments.layer
The layers feature is now on by default, so the experiments.layer option is no longer needed. Remove it from your config. github.com - Default changed
experiments.lazyBarrel
experiments.lazyBarrel is now on by default in Rspack. Set it to false to keep the previous behavior. github.com
And 1 more in this version.
@rspack/core 1.5.8 breaking changes
- Signature changed
JavascriptParserOptions
Was type JavascriptParserOptions = {dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once"; dynamicImportPreload?: boolean | number; dynamicImportPrefetch?: boolean | number; dynamicImportFetchPriority?: "low" | "high" | "auto"... npmjs.com - Signature changed
JavascriptParserOptions.url
Was url?: "relative" | boolean; now url?: "relative" | "new-url-relative" | boolean. npmjs.com
And 1 more in this version.
@rspack/core 1.5.7 breaking changes
- Removed
Compiler.hooks.additionalPass
Compiler.hooks.additionalPass was removed in @rspack/core 1.5.7 npmjs.com - Removed
Compiler.hooks.afterCompile
Compiler.hooks.afterCompile was removed in @rspack/core 1.5.7 npmjs.com
And 47 more in this version.
@rspack/core 1.5.6 breaking changes
- Signature changed
JavascriptParserOptions
Was type JavascriptParserOptions = {dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once"; dynamicImportPreload?: boolean | number; dynamicImportPrefetch?: boolean | number; dynamicImportFetchPriority?: "low" | "high" | "auto"... npmjs.com
@rspack/core 1.5.4 breaking changes
- Signature changed
ImportMeta.webpackHot
Was webpackHot: Rspack.Hot; now webpackHot?: Rspack.Hot. npmjs.com - Signature changed
NodeJS.Module.hot
Was hot?: Hot | undefined; now hot?: Hot. npmjs.com
@rspack/core 1.5.3 breaking changes
- Behavior changed
The inline const optimization is now enabled only in production mode, so development builds no longer inline constants. github.com - Signature changed
LoaderDefinitionFunction
Was type LoaderDefinitionFunction<OptionsType = {}, ContextAdditions = {}> = (this: LoaderContext<OptionsType> & ContextAdditions, content: string, sourceMap?: string | SourceMap, additionalData?: AdditionalData) => string | void | Buffer... npmjs.com
@rspack/core 1.5.2 breaking changes
- Default changed
incremental buildChunkGraph
The incremental buildChunkGraph option is no longer enabled by default in this release. Users who relied on the old default must enable it explicitly if they want it. github.com
@rspack/core 1.5.1 breaking changes
- Behavior changed
ProgressPlugin
In browser builds, ProgressPlugin is disabled, so it no longer reports progress there. Code relying on it in browser builds must handle that. github.com - Behavior changed
RsdoctorPlugin
In browser builds, RsdoctorPlugin is disabled and no longer runs there. Code relying on it in browser builds must handle that. github.com
And 3 more in this version.
@rspack/core 1.5.0 breaking changes
- Removed
experiments.lazyCompilation
The lazyCompilation option moved from experiments to the top level of the configuration, so existing experiments.lazyCompilation settings must be moved. github.com - Removed
NormalModuleReplacementPlugin.apply
NormalModuleReplacementPlugin.apply was removed in @rspack/core 1.5.0 npmjs.com
And 28 more in this version.
@rspack/core 1.5.0-rc.0 breaking changes
- Behavior changed
The Rspack CLI transforms TypeScript config files with SWC instead of the previous method, which can change how existing configs load. github.com
@rspack/core 1.5.0-beta.1 breaking changes
- Removed
The @rspack/browser WebAssembly build no longer supports the CJS loader. github.com
@rspack/core 1.5.0-beta.0 breaking changes
- Removed
Node.js 16 is no longer supported. Upgrade Node.js to 18.12.0 or later before using this release. github.com - Configuration changed
experiments.lazyCompilation
The lazyCompilation option is now set at the top level of the Rspack config instead of under experiments. github.com
@rspack/core 1.4.11 breaking changes
- Behavior changed
Errors thrown in the make hook now abort the compilation instead of being ignored. Builds that previously passed with such errors may now fail. github.com - Behavior changed
resolver.resolveSync
resolver.resolveSync returns the resource field rather than the path field. Code reading the path value from its result must be updated. github.com
And 3 more in this version.
@rspack/core 1.4.10 breaking changes
- Signature changed
ExternalsPlugin.raw
Was raw(compiler: Compiler): BuiltinPlugin | undefined; now raw(): BuiltinPlugin | undefined. npmjs.com
@rspack/core 1.4.9 breaking changes
- Removed
LoaderContext.__internal__parseMeta
LoaderContext.__internal__parseMeta was removed in @rspack/core 1.4.9 npmjs.com - Behavior changed
ESM modules with duplicate exports now fail with an error where they were previously accepted. Remove the duplicate export names from affected modules. github.com
And 2 more in this version.
@rspack/core 1.4.8 breaking changes
- Signature changed
Compilation.__internal_getInner
Was __internal_getInner(): binding.JsCompilation; now __internal_getInner(): JsCompilation. npmjs.com - Signature changed
Compilation.namedChunkGroups
Was readonly namedChunkGroups: ReadonlyMap<string, Readonly<binding.ChunkGroup>>; now readonly namedChunkGroups: ReadonlyMap<string, Readonly<ChunkGroup>>. npmjs.com
@rspack/core 1.4.7 breaking changes
- Removed
SwcLoaderTransformConfig.nativeClassProperties
SwcLoaderTransformConfig.nativeClassProperties was removed in @rspack/core 1.4.7 npmjs.com - Signature changed
Experiments
Was type Experiments = {cache?: ExperimentCacheOptions; lazyCompilation?: boolean | LazyCompilationOptions; asyncWebAssembly?: boolean; outputModule?: boolean; topLevelAwait?: boolean; css?: boolean; layers?: boolean; incremental?... npmjs.com
And 1 more in this version.
@rspack/core 1.4.6 breaking changes
- Signature changed
sources.OriginalSource.streamChunks
Was streamChunks(options: StreamChunksOptions, onChunk: (chunk: undefined | string, generatedLine: number, generatedColumn: number, sourceIndex: number, originalLine: number, originalColumn: number, nameIndex: number) => void, onSource... npmjs.com
@rspack/core 1.4.3 breaking changes
- Removed
Chunk.__from_binding
Chunk.__from_binding was removed in @rspack/core 1.4.3 npmjs.com - Removed
Chunk.__to_binding
Chunk.__to_binding was removed in @rspack/core 1.4.3 npmjs.com
And 51 more in this version.
@rspack/core 1.4.1 breaking changes
- Signature changed
Compilation.hooks
Was hooks: Readonly<{processAssets: liteTapable.AsyncSeriesHook<Assets>; afterProcessAssets: liteTapable.SyncHook<Assets>; childCompiler: liteTapable.SyncHook<[Compiler, string, number]>; log: liteTapable.SyncBailHook<[string, LogEntry]... npmjs.com - Signature changed
Experiments
Was type Experiments = {cache?: ExperimentCacheOptions; lazyCompilation?: boolean | LazyCompilationOptions; asyncWebAssembly?: boolean; outputModule?: boolean; topLevelAwait?: boolean; css?: boolean; layers?: boolean; incremental?... npmjs.com
And 4 more in this version.
@rspack/core 1.4.0 breaking changes
- Removed
RstestPlugin
RstestPlugin was removed in @rspack/core 1.4.0 npmjs.com - Behavior changed
lazyCompilationMiddleware
The lazy compilation middleware now supports multiCompiler and reads its config from the compiler instance. Code that passes its own lazy compilation options or uses it with multiple compilers may need to be updated. github.com
And 7 more in this version.
@rspack/core 1.4.0-beta.1 breaking changes
- Signature changed
lazyCompilationMiddleware
lazyCompilationMiddleware no longer takes a config argument and instead uses the config from the compiler instance. Remove the config argument from calls. github.com
@rspack/core 1.3.15 breaking changes
- Renamed
sources.Hash
Use sources.HashLike instead. npmjs.com - Signature changed
sources.Source.updateHash
Was updateHash(hash: Hash): void; now updateHash(hash: HashLike): void. npmjs.com
And 1 more in this version.
@rspack/core 1.3.13 breaking changes
- Removed
NodeJS.Require.include
NodeJS.Require.include was removed in @rspack/core 1.3.13 npmjs.com - Removed
NodeJS.Require.onError
NodeJS.Require.onError was removed in @rspack/core 1.3.13 npmjs.com
And 4 more in this version.
@rspack/core 1.3.12 breaking changes
- Removed
The build drops code that kept Node.js 10 working, so Node 10 is no longer supported. Upgrade Node.js before updating. github.com - Removed
sources.Hash.constructor
new Hash() was removed in @rspack/core 1.3.12 npmjs.com
And 25 more in this version.
@rspack/core 1.3.11 breaking changes
- Removed
The sync JS API no longer accepts a function for filename, so code passing one may need to change. github.com - Signature changed
Compilation.getAssetPath
Was getAssetPath(filename: Filename, data?: PathData): string; now getAssetPath(filename: string, data?: PathData): string. npmjs.com
And 5 more in this version.
@rspack/core 1.3.10 breaking changes
- Signature changed
AssetInlineGeneratorOptions
Was type AssetInlineGeneratorOptions = {dataUrl?: AssetGeneratorDataUrl;}; now type AssetInlineGeneratorOptions = {dataUrl?: AssetGeneratorDataUrl; binary?: boolean;}. npmjs.com - Signature changed
AssetResourceGeneratorOptions
Was type AssetResourceGeneratorOptions = {emit?: boolean; filename?: Filename; outputPath?: AssetModuleOutputPath; publicPath?: PublicPath; importMode?: AssetModuleImportMode;}; now type AssetResourceGeneratorOptions = {emit?: boolean... npmjs.com
And 3 more in this version.
@rspack/core 1.3.9 breaking changes
- Signature changed
HtmlRspackPlugin
Was const HtmlRspackPlugin: typeof HtmlRspackPluginImpl & {getHooks: (compilation: Compilation) => HtmlRspackPluginHooks; getCompilationHooks: (compilation: Compilation) => HtmlRspackPluginHooks; getCompilationOptions: (compilation... npmjs.com - Signature changed
HtmlRspackPluginOptions
Was type HtmlRspackPluginOptions = {title?: string; filename?: string | ((entry: string) => string); template?: string; templateContent?: string | TemplateRenderFunction; templateParameters?: Record<string, string> | boolean |... npmjs.com
@rspack/core 1.3.8 breaking changes
- Signature changed
Clean
Was type Clean = boolean | {keep?: string;}; now type Clean = boolean | {keep?: string | RegExp | ((path: string) => boolean);}. npmjs.com - Signature changed
Experiments
Was type Experiments = {cache?: ExperimentCacheOptions; lazyCompilation?: boolean | LazyCompilationOptions; asyncWebAssembly?: boolean; outputModule?: boolean; topLevelAwait?: boolean; css?: boolean; layers?: boolean; incremental?: boolean... npmjs.com
And 2 more in this version.
@rspack/core 1.3.7 breaking changes
- Removed
The lightningcss browserslist option is no longer supported by Rspack, so configs that relied on it may behave differently. github.com - Signature changed
CircularDependencyRspackPlugin
Was const CircularDependencyRspackPlugin: {new (options: CircularDependencyRspackPluginOptions): {name: BuiltinPluginName; _args: [options: CircularDependencyRspackPluginOptions]; affectedHooks: "done" | "make" | "compile" | "emit" |... npmjs.com
And 6 more in this version.
@rspack/core 1.3.6 breaking changes
- Removed
This release removes the JSCPU and LOGGING support from the CLI. Users relying on these profiling options must stop using them. github.com - Removed
This release removes the otel tracing support. Code or configs that rely on OpenTelemetry tracing must stop using it. github.com
And 7 more in this version.
@rspack/core 1.3.4 breaking changes
- Signature changed
Module
Was export {type Module} from "./Module"; now export {Module} from "./Module". npmjs.com
@rspack/core 1.3.1 breaking changes
- Signature changed
Experiments
Was type Experiments = {cache?: ExperimentCacheOptions; lazyCompilation?: boolean | LazyCompilationOptions; asyncWebAssembly?: boolean; outputModule?: boolean; topLevelAwait?: boolean; css?: boolean; layers?: boolean; incremental?: boolean... npmjs.com - Signature changed
RuleSetLoaderWithOptions
Was type RuleSetLoaderWithOptions = {ident?: string; loader: RuleSetLoader; options?: RuleSetLoaderOptions;}; now type RuleSetLoaderWithOptions = {ident?: string; loader: RuleSetLoader; parallel?: boolean; options?: RuleSetLoaderOptions;}. npmjs.com
@rspack/core 1.3.0 breaking changes
- Removed
externalsType
externalsType was removed in @rspack/core 1.3.0 npmjs.com - Removed
LazyCompilationOptions.backend
LazyCompilationOptions.backend was removed in @rspack/core 1.3.0 npmjs.com
And 46 more in this version.
@rspack/core 1.3.0-beta.1 breaking changes
- Behavior changed
Lazy compilation is now provided as a middleware embedded in a custom dev server instead of a separate server. Custom dev server users must wire the middleware in. github.com
@rspack/core 1.3.0-beta.0 breaking changes
- Removed
The zod export was removed from the package exports, so code importing zod through this package will no longer work. github.com - Behavior changed
The release updates the SWC dependency to 16.5.0 as a breaking change, which may alter transpilation output. github.com
And 2 more in this version.
@rspack/core 1.2.8 breaking changes
- Signature changed
rspackOptions
Was const rspackOptions: z.ZodObject<{name: z.ZodOptional<z.ZodString>; dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; entry: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString... npmjs.com
@rspack/core 1.2.7 breaking changes
- Signature changed
Compilation.updateAsset
Was updateAsset(filename: string, newSourceOrFunction: Source | ((source: Source) => Source), assetInfoUpdateOrFunction?: AssetInfo | ((assetInfo: AssetInfo) => AssetInfo)): void; now updateAsset(filename: string, newSourceOrFunction... npmjs.com - Signature changed
Compiler.run
Was run(callback: liteTapable.Callback<Error, Stats>): void; now run(callback: liteTapable.Callback<Error, Stats>, options?: {modifiedFiles?: ReadonlySet<string>; removedFiles?: ReadonlySet<string>;}): void. npmjs.com
And 5 more in this version.
@rspack/core 1.2.6 breaking changes
- Renamed
CLI flags were changed to camelCase names for consistency. Scripts that pass the old flag names must be updated to the camelCase forms. github.com - Signature changed
LazyCompilationOptions
Was type LazyCompilationOptions = {backend?: LazyCompilationDefaultBackendOptions; imports?: boolean; entries?: boolean; test?: RegExp | ((module: any) => boolean);}; now type LazyCompilationOptions = {backend?... npmjs.com
And 1 more in this version.
@rspack/core 1.2.4 breaking changes
- Signature changed
Compilation.rebuildModule
Was rebuildModule(m: Module, f: (err: Error, m: Module) => void): void; now rebuildModule(m: Module, f: (err: Error | null, m: Module | null) => void): void. npmjs.com - Signature changed
OptimizationSplitChunksCacheGroup
Was type OptimizationSplitChunksCacheGroup = {test?: string | RegExp | ((module: Module) => unknown); priority?: number; enforce?: boolean; filename?: Filename; reuseExistingChunk?: boolean; type?: string | RegExp; idHint?: string; layer?... npmjs.com
And 2 more in this version.
@rspack/core 1.2.3 breaking changes
- Removed
Compilation.__internal__emit_asset_from_loader
Compilation.__internal__emit_asset_from_loader was removed in @rspack/core 1.2.3 npmjs.com - Signature changed
DllReferencePluginOptionsContent.__index
Was [k: string]: {buildMeta?: JsBuildMeta; exports?: string[] | true; id?: string;}; now [k: string]: {buildMeta?: JsBuildMeta; exports?: string[] | true; id?: string | number;}. npmjs.com
And 3 more in this version.
@rspack/core 1.2.0 breaking changes
- Removed
Chunk.__internal__innerUkey
Chunk.__internal__innerUkey was removed in @rspack/core 1.2.0 npmjs.com - Removed
ChunkGroup.__internal__innerCompilation
ChunkGroup.__internal__innerCompilation was removed in @rspack/core 1.2.0 npmjs.com
And 75 more in this version.
@rspack/core 1.2.0-alpha.0 breaking changes
- Behavior changed
Watch mode now skips the node_modules directory by default, which can change rebuild behavior for code that relied on watching it. Symlinked monorepo resources still resolve to their real paths. github.com - Behavior changed
The swc_core crate is now 9.0.2. Users of SWC Wasm plugins must match the swc_core version or face unforeseen issues. github.com
And 4 more in this version.
@rspack/core 1.1.6 breaking changes
- Removed
compilation.built_module
The compilation.built_module property was removed in this release. Code that reads it from the compilation object must stop using it. github.com - Signature changed
Clean
Was type Clean = boolean; now type Clean = boolean | {keep?: string;}. npmjs.com
And 9 more in this version.
@rspack/core 1.1.5 breaking changes
- Removed
OutputNormalized.cssHeadDataCompression
The cssHeadDataCompression configuration option was removed as unused. Configurations that still set it should delete it. npmjs.com - Behavior changed
The CSS loading strategy was refactored, so CSS is no longer assumed to finish loading before JavaScript executes. Code that relied on the old timing may need to be checked. github.com
And 4 more in this version.
@rspack/core 1.1.3 breaking changes
- Removed
SourceMapDevToolPluginOptions.exclude
SourceMapDevToolPluginOptions.exclude was removed in @rspack/core 1.1.3 npmjs.com - Removed
SourceMapDevToolPluginOptions.include
SourceMapDevToolPluginOptions.include was removed in @rspack/core 1.1.3 npmjs.com
And 3 more in this version.
@rspack/core 1.1.2 breaking changes
- Removed
Chunk.__internal_to_path_data_chunk
Chunk.__internal_to_path_data_chunk was removed in @rspack/core 1.1.2 npmjs.com - Renamed
async_run
The internal function async_run was renamed to background_run and sync_run to main_run; user code calling these may need updating. github.com
And 11 more in this version.
@rspack/core 1.1.1 breaking changes
- Signature changed
ExternalItemValue
Was type ExternalItemValue = string | boolean | string[] | {root: string | string[]; commonjs: string | string[]; commonjs2: string | string[]; amd?: string | string[];}; now type ExternalItemValue = string | boolean | string[] |... npmjs.com - Signature changed
rspackOptions
Was const rspackOptions: z.ZodObject<{name: z.ZodOptional<z.ZodString>; dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; entry: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString... npmjs.com
@rspack/core 1.1.0 breaking changes
- Removed
Configuration.experiments.asyncWebAssembly
Configuration.experiments.asyncWebAssembly was removed in @rspack/core 1.1.0 npmjs.com - Removed
Configuration.experiments.css
Configuration.experiments.css was removed in @rspack/core 1.1.0 npmjs.com
And 335 more in this version.
@rspack/core 1.1.0-beta.0 breaking changes
- Default changed
output.hashDigestLength
output.hashDigestLength now defaults to 16 instead of 20. Set it explicitly to 20 if you need the previous file hash length. github.com - Default changed
output.hashFunction
output.hashFunction now defaults to the faster xxhash64. Set it explicitly to md4 if you need the previous hash output. github.com
@rspack/core 1.0.14 breaking changes
- Removed
GeneratorOptionsByModuleTypeKnown.asset.dataUrl
GeneratorOptionsByModuleTypeKnown.asset.dataUrl was removed in @rspack/core 1.0.14 npmjs.com - Removed
GeneratorOptionsByModuleTypeKnown.asset.emit
GeneratorOptionsByModuleTypeKnown.asset.emit was removed in @rspack/core 1.0.14 npmjs.com
And 205 more in this version.
@rspack/core 1.0.13 breaking changes
- Removed
AssetParserOptions.dataUrlCondition.maxSize
AssetParserOptions.dataUrlCondition.maxSize was removed in @rspack/core 1.0.13 npmjs.com - Removed
ParserOptionsByModuleTypeKnown.asset.dataUrlCondition
ParserOptionsByModuleTypeKnown.asset.dataUrlCondition was removed in @rspack/core 1.0.13 npmjs.com
And 192 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.