rolldown breaking changes
Updated December 4, 2026
On this page
Latest version 1.4.0, released December 2, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
rolldown 1.4.0 breaking changes
- Removed
BuildOptions.experimental.nativeMagicString
BuildOptions.experimental.nativeMagicString was removed in rolldown 1.4.0 npmjs.com - Removed
experimental.nativeMagicString
Native MagicString is now always enabled, so the option is removed. Remove it from your config to avoid the invalid option warning. github.com - Removed
InputOptions.experimental.nativeMagicString
InputOptions.experimental.nativeMagicString was removed in rolldown 1.4.0 npmjs.com - Removed
RolldownOptions.experimental.nativeMagicString
RolldownOptions.experimental.nativeMagicString was removed in rolldown 1.4.0 npmjs.com - Removed
WatchOptions.experimental.nativeMagicString
WatchOptions.experimental.nativeMagicString was removed in rolldown 1.4.0 npmjs.com - Behavior changed
A built-in plugin created by a different rolldown version used to be silently ignored; now it throws BUILTIN_PLUGIN_VERSION_MISMATCH. Make sure only one version of rolldown is installed. github.com - Behavior changed
require
Repeated require() calls to the same bundled ES module now return the same object, matching Node.js, instead of a new object each call. github.com - Signature changed
BuildOptions.experimental
Was experimental?: {viteMode?: boolean; resolveNewUrlToAsset?: boolean; devMode?: DevModeOptions; chunkModulesOrder?: ChunkModulesOrder; attachDebugInfo?: AttachDebugOptions; chunkImportMap?: boolean | {baseUrl?: string; fileName?: string... npmjs.com - Signature changed
FunctionPluginHooks.transform
Was [DEFINED_HOOK_NAMES.transform]: (this: TransformPluginContext, code: string, id: string, meta: BindingTransformHookExtraArgs & {moduleType: ModuleType; magicString?: RolldownMagicString; ast?: Program; rawId: string; attributes... npmjs.com - Signature changed
InputOptions.experimental
Was experimental?: {viteMode?: boolean; resolveNewUrlToAsset?: boolean; devMode?: DevModeOptions; chunkModulesOrder?: ChunkModulesOrder; attachDebugInfo?: AttachDebugOptions; chunkImportMap?: boolean | {baseUrl?: string; fileName?: string... npmjs.com - Signature changed
OutputBundle.__index
Was [fileName: string]: OutputAsset | OutputChunk; now [fileName: string]: Mutable<OutputAsset> | Mutable<OutputChunk>. npmjs.com - Signature changed
Plugin.transform
Was [DEFINED_HOOK_NAMES.transform]: (this: TransformPluginContext, code: string, id: string, meta: BindingTransformHookExtraArgs & {moduleType: ModuleType; magicString?: RolldownMagicString; ast?: Program; rawId: string; attributes... npmjs.com - Signature changed
utils:VisitorObject.Property
Was Property?: (node: ESTree.ObjectProperty | ESTree.AssignmentTargetProperty | ESTree.AssignmentTargetPropertyProperty | ESTree.BindingProperty) => void; now Property?: (node: ESTree.ObjectProperty | ESTree.ObjectMethodProperty |... npmjs.com - Signature changed
utils:VisitorObject.Property:exit
Was "Property:exit"?: (node: ESTree.ObjectProperty | ESTree.AssignmentTargetProperty | ESTree.AssignmentTargetPropertyProperty | ESTree.BindingProperty) => void; now "Property:exit"?: (node: ESTree.ObjectProperty |... npmjs.com
rolldown 1.3.4 breaking changes
- Removed
Parallel plugin support has been removed from Rolldown. Plugins that depended on running in parallel need another approach. github.com - Removed
DefineParallelPluginResult
DefineParallelPluginResult was removed in rolldown 1.3.4 npmjs.com - Removed
experimental:defineParallelPlugin
defineParallelPlugin was removed in rolldown 1.3.4 npmjs.com - Removed
experimental:freeExternalMemory
freeExternalMemory was removed in rolldown 1.3.4 npmjs.com - Removed
freeExternalMemory
The experimental freeExternalMemory option is gone. Code that sets it must stop using it. github.com - Removed
ModuleOptions.invalidate
ModuleOptions.invalidate was removed in rolldown 1.3.4 npmjs.com - Removed
OutputAsset.__rolldown_external_memory_handle__
OutputAsset.__rolldown_external_memory_handle__ was removed in rolldown 1.3.4 npmjs.com - Removed
OutputChunk.__rolldown_external_memory_handle__
OutputChunk.__rolldown_external_memory_handle__ was removed in rolldown 1.3.4 npmjs.com - Removed
parallelPlugin:Context
Context was removed in rolldown 1.3.4 npmjs.com - Removed
parallelPlugin:defineParallelPluginImplementation
defineParallelPluginImplementation was removed in rolldown 1.3.4 npmjs.com
And 15 more in this version. Sign up to see every change
rolldown 1.3.3 breaking changes
- Removed
skipCommonRuntimeInjection
The skipCommonRuntimeInjection option is removed and its behavior is now always on. Remove any use of the option from your config. github.com - Behavior changed
moduleSideEffects
A moduleSideEffects rule that has neither test nor external is now an error. Add one of these fields to such rules. github.com - Behavior changed
onLog
Errors from onLog hooks are no longer ignored and now make the build fail. Make sure onLog handlers do not throw unexpectedly. github.com - Behavior changed
output.esModule
An unrecognized string passed to output.esModule now fails the build instead of being accepted. Use a supported value. github.com - Behavior changed
output.exports
With preserveModules, output.exports is now honored for non-entry modules, which can change their generated exports. Check output for affected modules. github.com - Behavior changed
this.load
Plugins that call this.load() from the buildStart hook will now get an error. Move such calls to a later hook. github.com - Signature changed
BuildOptions.experimental
Was experimental?: {viteMode?: boolean; resolveNewUrlToAsset?: boolean; devMode?: DevModeOptions; chunkModulesOrder?: ChunkModulesOrder; attachDebugInfo?: AttachDebugOptions; chunkImportMap?: boolean | {baseUrl?: string; fileName?... npmjs.com - Signature changed
BuildOptions.experimental.chunkImportMap
Was chunkImportMap?: boolean | {baseUrl?: string; fileName?: string;}; now chunkImportMap?: boolean | {baseUrl?: string; fileName?: string; include?: StringOrRegExp | StringOrRegExp[];}. npmjs.com - Signature changed
InputOptions.experimental
Was experimental?: {viteMode?: boolean; resolveNewUrlToAsset?: boolean; devMode?: DevModeOptions; chunkModulesOrder?: ChunkModulesOrder; attachDebugInfo?: AttachDebugOptions; chunkImportMap?: boolean | {baseUrl?: string; fileName?... npmjs.com - Signature changed
InputOptions.experimental.chunkImportMap
Was chunkImportMap?: boolean | {baseUrl?: string; fileName?: string;}; now chunkImportMap?: boolean | {baseUrl?: string; fileName?: string; include?: StringOrRegExp | StringOrRegExp[];}. npmjs.com
And 5 more in this version. Sign up to see every change
rolldown 1.3.2 breaking changes
- Behavior changed
Export names shared between output chunks are now generated independently of module load order, so they may differ from earlier builds. Check any code that depends on generated chunk export names. github.com - Default changed
cwd
The browser default for cwd is now /. Set cwd explicitly if your code relied on the previous default. github.com
rolldown 1.3.0 breaking changes
- Removed
experimental:DevWatchOptions.compareContentsForPolling
DevWatchOptions.compareContentsForPolling was removed in rolldown 1.3.0 npmjs.com - Removed
experimental:DevWatchOptions.debounceDuration
DevWatchOptions.debounceDuration was removed in rolldown 1.3.0 npmjs.com - Removed
experimental:DevWatchOptions.debounceTickRate
DevWatchOptions.debounceTickRate was removed in rolldown 1.3.0 npmjs.com - Removed
experimental:DevWatchOptions.pollInterval
DevWatchOptions.pollInterval was removed in rolldown 1.3.0 npmjs.com - Removed
experimental:DevWatchOptions.useDebounce
DevWatchOptions.useDebounce was removed in rolldown 1.3.0 npmjs.com - Removed
experimental:DevWatchOptions.usePolling
DevWatchOptions.usePolling was removed in rolldown 1.3.0 npmjs.com - Removed
experimental/runtime-types:DevRuntime.__toDynamicImportESM
DevRuntime.__toDynamicImportESM was removed in rolldown 1.3.0 npmjs.com - Behavior changed
Module namespace objects are created with a null prototype and cannot be extended, which can affect code that inspects or modifies them. github.com - Behavior changed
--input
Passing --input together with positional entry files now fails. Pass the entries as positional arguments or repeat --input. github.com - Behavior changed
externalLiveBindings
The externalLiveBindings option is now respected for star re-exports from external modules in CJS output, which can change generated exports. github.com
And 17 more in this version. Sign up to see every change
rolldown 1.2.16 breaking changes
- Behavior changed
Relative glob filters no longer treat the working directory path as a glob pattern, so filters that relied on glob syntax in cwd may match differently. github.com - Behavior changed
Chunk import map keys no longer depend on the build folder, so code that relied on the previous keys must be updated. github.com - Behavior changed
INVALID_TLA_FORMAT
Code that matches the error code for invalid top-level await format must now expect INVALID_TLA_FORMAT, which matches Rollup. github.com - Signature changed
BuildOptions.devtools
Was devtools?: {sessionId?: string;}; now devtools?: {sessionId?: string; mode?: "full" | "report";}. npmjs.com - Signature changed
InputOptions.devtools
Was devtools?: {sessionId?: string;}; now devtools?: {sessionId?: string; mode?: "full" | "report";}. npmjs.com
Older versions
22 older versions, each with its first changes. Sign up to see every change
Show 22 older versions
rolldown 1.2.15 breaking changes
- Signature changed
experimental/runtime-types:ModuleGraphDelta
Was type ModuleGraphDelta = {ids: string[]; localCount: number; edges: number[][]; bindings?: Record<number, (string[] | null)[]>; dynamicEdges?: Record<number, number[]>; stamps?: Record<number, number>;}; now type ModuleGraphDelta =... npmjs.com
rolldown 1.2.13 breaking changes
- Behavior changed
watch.exclude
The watch.exclude option is now handed to the notify watcher as its ignore filter, so the set of watched files may change for existing configs. github.com - Signature changed
experimental/runtime-types:DevRuntime.registerFactory
Was registerFactory(id: string, fn: (id: string) => void): void; now registerFactory(id: string, fn: (id: string) => void, stamp?: number): void. npmjs.com
And 1 more in this version.
rolldown 1.2.12 breaking changes
- Behavior changed
Dev mode now errors on output formats other than ESM. Use an ESM output format when running in dev mode. github.com - Behavior changed
import.meta.hot.accept
import.meta.hot.accept dependency handling now matches Vite. Check accept calls that relied on the previous dependency behavior. github.com
And 4 more in this version.
rolldown 1.2.11 breaking changes
- Removed
experimental/runtime-types:DevRuntime.lazyRequests
DevRuntime.lazyRequests was removed in rolldown 1.2.11 npmjs.com - Removed
experimental/runtime-types:DevRuntime.requestLazy
DevRuntime.requestLazy was removed in rolldown 1.2.11 npmjs.com
rolldown 1.2.10 breaking changes
- Signature changed
CodeSplittingGroup
Was type CodeSplittingGroup = {name: string | CodeSplittingNameFunction; test?: StringOrRegExp | CodeSplittingTestFunction; priority?: number; minSize?: number; minShareCount?: number; maxSize?: number; maxModuleSize?: number... npmjs.com - Signature changed
experimental/runtime-types:DevRuntime.factories
Was factories: Map<string, {kind: "esm" | "cjs"; fn: (id: string) => void;}>; now factories: Map<string, (id: string) => void>. npmjs.com
And 1 more in this version.
rolldown 1.2.7 breaking changes
- Behavior changed
PreRenderedChunk.facadeModuleId
PreRenderedChunk.facadeModuleId is now nullable, so code that assumes a string must handle null. github.com - Signature changed
PreRenderedChunk.facadeModuleId
Was facadeModuleId?: string; now facadeModuleId: string | null. npmjs.com
rolldown 1.2.6 breaking changes
- Signature changed
experimental:TransformOptions.tsconfig
Was tsconfig?: boolean | BindingTsconfigRawOptions; now tsconfig?: boolean | string | BindingTsconfigRawOptions. npmjs.com - Signature changed
experimental/runtime-types:DevRuntime.registerModule
Was registerModule(id: string, exportsHolder: {exports: any;}): void; now registerModule(id: string, exportsHolder?: {exports: any;}): void. npmjs.com
And 2 more in this version.
rolldown 1.2.5 breaking changes
- Signature changed
MinifyOptions
Was type MinifyOptions = Omit<MinifyOptions$1, "module" | "sourcemap">; now type MinifyOptions = Omit<MinifyOptions$1, "module" | "sourcemap" | "mangleProps">. npmjs.com
rolldown 1.2.3 breaking changes
- Removed
WatcherOptions.notify
The deprecated watch.notify option has been removed. Code that sets it must stop passing it. npmjs.com
rolldown 1.2.2 breaking changes
- Configuration changed
cleanDir
In dev mode, the cleanDir option is forced off, so existing output is no longer cleaned when running dev builds. github.com
rolldown 1.2.1 breaking changes
- Removed
RolldownBuild.asyncRuntimeShutdown
RolldownBuild.asyncRuntimeShutdown was removed in rolldown 1.2.1 npmjs.com - Behavior changed
emitFile
Invalid emitted file names are now rejected when emitFile is called rather than later; plugins emitting such names must be fixed. github.com
And 10 more in this version.
rolldown 1.2.0 breaking changes
- Removed
experimental:BindingRebuildStrategy.Auto
BindingRebuildStrategy.Auto was removed in rolldown 1.2.0 npmjs.com - Removed
experimental:DevEngine.invalidate
DevEngine.invalidate was removed in rolldown 1.2.0 npmjs.com
And 16 more in this version.
rolldown 1.1.5 breaking changes
- Signature changed
config:loadConfig
Was function loadConfig(configPath: string): Promise<ConfigExport>; now function loadConfig(configPath: string, options?: LoadConfigOptions): Promise<ConfigExport>. npmjs.com
rolldown 1.1.4 breaking changes
- Default changed
experimental.lazyBarrel
The experimental.lazyBarrel option is now off by default. If you relied on it being on, you must enable it explicitly. github.com
rolldown 1.1.2 breaking changes
- Removed
experimental:viteWasmFallbackPlugin
viteWasmFallbackPlugin was removed in rolldown 1.1.2 npmjs.com - Removed
TransformOptions.reactCompiler
TransformOptions.reactCompiler was removed in rolldown 1.1.2 npmjs.com
And 2 more in this version.
rolldown 1.1.1 breaking changes
- Behavior changed
Files with .jsx or .tsx extensions are now resolved according to the package.json#type field. Projects whose module type setting differs from the file extension may see different module handling. github.com - Behavior changed
chunk.imports
The imports array of each chunk is now sorted by execution order rather than the previous order. Code that depends on the ordering of chunk.imports may need updating. github.com
And 1 more in this version.
rolldown 1.1.0 breaking changes
- Behavior changed
tsconfig
In auto-discovery mode Rolldown searches upward for the first tsconfig.json that owns the file, falling back to the topmost one found instead of the nearest. Check solution-style configs and align paths and allowJs with the referenced... github.com - Default changed
experimental.lazyBarrel
Barrel modules recognized as side-effect-free now skip unused re-exported modules. To keep the old behavior, set experimental.lazyBarrel to false in your config. github.com
And 1 more in this version.
rolldown 1.0.3 breaking changes
- Removed
defer
The defer keyword is no longer supported, so code that uses it must remove it. github.com - Behavior changed
transform
A transform hook returning map: null is now treated differently from map: undefined, so plugins relying on the old handling may behave differently. github.com
rolldown 1.0.2 breaking changes
- Signature changed
experimental:ParseResult.program
Was program: _$_oxc_project_types0.Program; now program: any. npmjs.com
rolldown 1.0.1 breaking changes
- Signature changed
BuildOptions.experimental
Was experimental?: {viteMode?: boolean; resolveNewUrlToAsset?: boolean; devMode?: DevModeOptions; chunkModulesOrder?: ChunkModulesOrder; attachDebugInfo?: AttachDebugOptions; chunkImportMap?: boolean | {baseUrl?: string; fileName?... npmjs.com - Signature changed
BuildOptions.experimental.chunkOptimization
Was chunkOptimization?: boolean; now chunkOptimization?: boolean | ChunkOptimizationOptions. npmjs.com
And 4 more in this version.
rolldown 1.0.0 breaking changes
- Default changed
optimization.inlineConst
Users who pass inlineConst as a partial object without mode will see different bundle output. Set mode: 'all' explicitly to keep the previous behavior. github.com - Signature changed
ExistingRawSourceMap.sourcesContent
Was sourcesContent?: (string | null)[]; now sourcesContent?: (string | null | undefined)[]. npmjs.com
And 2 more in this version.
rolldown 1.0.0-rc.18 breaking changes
- Default changed
optimization.inlineConst.mode
A partial inlineConst config without a mode field now uses smart instead of all, which can change bundle output. Set mode: 'all' explicitly to keep the previous behavior. github.com
Related packages
- @rolldown/binding-linux-x64-musl
- @rolldown/binding-linux-arm64-musl
- @rolldown/binding-freebsd-x64
- @rolldown/binding-android-arm64
- @rolldown/binding-linux-x64-gnu
- @rolldown/binding-linux-ppc64-gnu
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.