unstale

npm / rolldown

rolldown

What changed in rolldown 1, from its official release notes, upgrade guides and advisories. Also covers @rolldown/perf-kit. Sources checked 2026-12-04.

20 breaking4 deprecations37 new APIs and options18 performance32 behavior and defaults17 tooling278 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

rolldown 1406 changes

Breaking changes 20

  • A moduleSideEffects rule without test and external is rejected.

    1.3.3release notes

  • Errors from the onLog hook now propagate and fail the build.

    1.3.3release notes

  • A preserved JSX tag importing a non-identifier name now produces an error instead of a panic.

    1.3.3release notes

  • The option was removed after being enabled by default in dev.

    1.3.3release notes

  • Calling this.load() in buildStart is now rejected.

    1.3.3release notes

  • JSON parsing now preserves __proto__ as an own data property.

    1.3.0release notes

  • Module namespace objects now have a null prototype and are non-extensible.

    1.3.0release notes

  • Directory cleanup no longer follows symlinks in the output directory.

    1.3.0release notes

  • Preserved output filenames now retain non-JS extensions in [name], so data.json becomes data.json.js and Comp.vue becomes Comp.vue.js; update libraries' exports paths if needed.

    1.3.0release notes

  • The CLI now rejects combining --input with positional entries. Use positional entries or repeat --input instead.

    1.3.0release notes

  • JSON modules with a non-object root are unwrapped.

    1.2.13release notes

  • Dev mode now rejects non-ESM output formats.

    1.2.12release notes

  • The deprecated watch.notify option was removed.

    1.2.3release notes

  • Circular star reexports now resolve as null.

    1.2.2release notes

  • String id filters are rejected; filters must be a RegExp.

    1.2.1release notes

  • An invalid test regex in a manualCodeSplitting group is now reported as an error.

    1.1.2release notes

  • Auto-discovery no longer applies the outermost ancestor tsconfig to files that no project owns, preventing those files from inheriting aliases.

    1.1.2release notes

  • Project-reference resolution now follows TypeScript: auto-discovery walks upward for a config that owns the file, referenced projects can take precedence over the root, and each project's own allowJs determines JavaScript inclusion.

    1.1.0release notes

  • The defer keyword can now be dropped.

    1.0.3release notes

  • __toESM is no longer inherited across chunks for named-only external imports.

    1.0.2release notes

Deprecations 4

  • pluginTimings is a deprecated alias for checks.bundlerTimings.

    1.2.10release notes

  • Adds the MODULE_LEVEL_DIRECTIVE warning for module-level directives.

    1.2.9release notes

  • Adds a warning for conflicting star re-exports.

    1.2.5release notes

  • Adds a warning for sourcemap issues in renderChunk and transform hooks.

    1.1.0release notes

New APIs and options 37

  • Added an include option to rolldown_plugin_chunk_import_map.

    1.3.3release notes

  • The MagicString constructor accepts a hires option.

    1.3.2release notes

  • Common chunks can be inlined using import.meta.ROLLDOWN_FILE_URL_*.

    1.3.1release notes

  • Setting devtools.mode to report writes Markdown and JSON build reports with timing, chunk, module, package, graph, change, and raw metric data.

    1.3.0release notes

  • Enables experimental import attributes: modules imported with different attributes have distinct identities, and json, text, and bytes types work without a plugin. Off by default.

    1.3.0release notes

  • Plugins can read import attributes in resolveId, resolveDynamicImport, load, and transform; resolveId can change them. this.resolve and this.load also accept attributes.

    1.3.0release notes

  • A new package consumes build-report data and measures page LCP/FCP, server readiness, or Cloudflare Worker startup; it can compare results with a fixed baseline.

    1.3.0release notes

  • Adds a server startup mode for Node and Deno.

    1.2.16release notes

  • Added to choose the browser-external stub format.

    1.2.15release notes

  • Adds an option to configure output character encoding.

    1.2.14release notes

  • Adds the experimental.devMode.hotUpdate option.

    1.2.13release notes

  • Passes watch.exclude to notify as its ignore filter.

    1.2.13release notes

  • Experimental support for inlineCommonChunks lets Rolldown inline common chunks containing import() and deduplicate shared code in lazy chunks.

    1.2.12release notes

  • Adds checks.bundlerTimings for bundler timings, with pluginTimings as a deprecated alias.

    1.2.10release notes

  • Adds a dev option to gate the hotUpdate hook.

    1.2.8release notes

  • The compiler cache is enabled via module.enableCompileCache().

    1.2.6release notes

  • Module graph queries are exposed on the dev engine handle.

    1.2.6release notes

  • Minification now supports property name mangling.

    1.2.6release notes

  • The Vite resolve plugin accepts a top-level tsconfig option.

    1.2.6release notes

  • The Vite transform plugin accepts a tsconfig option.

    1.2.6release notes

  • The transform API accepts a tsconfig option.

    1.2.6release notes

  • Adds support for the armv7 Android target.

    1.2.5release notes

  • Adds an allocation-tracking global allocator behind the tracking_allocator feature.

    1.2.5release notes

  • The dev engine bindings expose disableWatcher.

    1.2.1release notes

  • The dev engine supports the hotUpdate hook.

    1.2.1release notes

  • Support for import.meta.ROLLDOWN_FILE_URL_* allows context to be passed to the resolveFileUrl hook.

    1.2.1release notes

  • User callbacks configured on options are timed, with plugin hook measurements reported from Rust after closeBundle has run.

    1.2.1release notesrelease notes

  • A resolveFileUrl plugin hook is implemented for resolving file URLs.

    1.2.1release notes

  • MagicString supports storeName on overwrite and update.

    1.2.1release notes

  • Adds a FILE_NOT_FOUND error.

    1.2.0release notes

  • Adds the native config loader option.

    1.1.5release notes

  • Adds the sourcemapFileNames option for configuring sourcemap filenames.

    1.1.5release notes

  • Adds support for the caseSensitive option.

    1.1.0release notes

  • Supports configuring includeDependenciesRecursively locally for code-splitting groups.

    1.1.0release notes

  • Dev mode supports the exclude watcher option.

    1.0.2release notes

  • Dev mode supports the include watcher option.

    1.0.2release notes

  • Adds advice on oversized barrel modules.

    1.0.1release notes

Performance 18

  • Makes the cycle check incremental.

    1.2.16release notes

  • Avoids loading consola when importing rolldown.

    1.2.16release notes

  • Deduplicates shared code along known loading paths.

    1.2.13release notes

  • Calls to sourcemapIgnoreList are batched.

    1.2.10release notes

  • Calls to sourcemapPathTransform are batched.

    1.2.10release notes

  • Fetches a lazy route in one request.

    1.2.9release notes

  • Caches getModuleInfo during code splitting.

    1.2.8release notes

  • Calls to codeSplitting group test and name functions are batched.

    1.2.6release notes

  • Finalization uses less memory.

    1.2.3release notes

  • Minified export names are built without allocating, improving chunk-naming performance.

    1.2.3release notes

  • Chunks that never wrap no longer include the runtime import.

    1.2.2release notes

  • Stops order-sensitivity checks once a module is flagged.

    1.1.5release notes

  • Skips side-effect-free modules in per-entry reachability.

    1.1.5release notes

  • ESM evaluation errors are now cached.

    1.1.2release notes

  • Avoids generating unnecessary intermediate sourcemaps.

    1.1.0release notes

  • Importer existence checks are cached.

    1.0.2release notes

  • Deduplicates already-loaded dynamic dependencies.

    1.0.1release notes

  • Inlines optional-chain enum access.

    1.0.1release notes

Behavior and default changes 32

  • Inline chunks that are also loaded by import().

    1.3.3release notes

  • Plugin timings are now shown as a table.

    1.3.3release notes

  • CommonJS modules in Node ESM output receive __dirname and __filename.

    1.3.2release notes

  • In the browser, cwd defaults to /.

    1.3.2release notes

  • Error and warning diagnostics now respect the NO_COLOR environment variable.

    1.3.0release notes

  • Unused imports of side-effect-free externals are now dropped in ESM output.

    1.3.0release notes

  • The option is supported in dev mode.

    1.2.16release notes

  • Prints record factories parenthesized so they compile eagerly.

    1.2.16release notes

  • In dev mode, inlines chunks that use import.meta.hot.

    1.2.16release notes

  • Uses the INVALID_TLA_FORMAT error for Rollup compatibility.

    1.2.16release notes

  • Folds 'key' in ns when namespace imports have statically known exports.

    1.2.16release notes

  • Routes independent ESM re-exports per consumer during code splitting.

    1.2.14release notes

  • Glob imports now follow file creation and deletion via hotUpdate.

    1.2.13release notes

  • Glob imports now watch the directory each glob reads.

    1.2.13release notes

  • Watch reports only file events.

    1.2.11release notes

  • addWatchFile supports directories.

    1.2.10release notes

  • External require handling prefers module.exports over a namespace spread.

    1.2.10release notes

  • Folds already-loaded side-effectful libraries into eager entries.

    1.2.5release notes

  • Namespace extraction is widened for already-loaded merges, affecting code-splitting behavior.

    1.2.4release notes

  • Code-splitting now supports inlining shared dependencies in dynamic entries.

    1.2.2release notes

  • Modules requiring strict execution order are wrapped on demand.

    1.2.1release notes

  • Newly imported top-level modules no longer ship their factories during development.

    1.2.0release notes

  • Bracket-notation ROLLUP_FILE_URL expressions are treated as side-effect free.

    1.2.0release notes

  • Bracket-notation import.meta['url'] is treated as side-effect free and rewritten.

    1.2.0release notes

  • ROLLUP_FILE_URL expressions are treated as side-effect free.

    1.2.0release notes

  • Top-level import-binding reads are detected as execution-order sensitive, affecting how modules are analyzed.

    1.1.5release notes

  • Lazy barrel is disabled by default, so projects must opt in to use it.

    1.1.4release notes

  • The node require helper is now wrapped in a pure IIFE.

    1.1.2release notes

  • No-op init calls are dropped for empty wrapped-ESM modules.

    1.1.1release notes

  • Defaults to true, so Rolldown skips compiling unused re-exported modules when a barrel is recognized as side-effect-free. Set it to false to opt out.

    1.1.0release notes

  • Rolldown emits warnings for invalid pure annotations.

    1.0.2release notes

  • Calls the moduleParsed hook in ParallelJsPlugin.

    1.0.1release notes

Tooling 17

  • Adds a report mode that produces an agent-readable build metrics report.

    1.2.16release notes

  • Adds a check that compares rendered output against the original build.

    1.2.16release notes

  • Adds a browser page-load performance harness for coding agents.

    1.2.16release notes

  • Development mode records a matcher per glob call.

    1.2.13release notes

  • The dev runtime now ships imported bindings for HMR partial accept.

    1.2.12release notes

  • Timing rows for code-splitting groups are reported separately.

    1.2.10release notes

  • The dev server skips an HMR update when a module's rebuilt output is unchanged.

    1.2.1release notes

  • Development mode adds client-side hot module replacement.

    1.2.0release notes

  • Development mode uses a per-client ship map to size HMR patches.

    1.2.0release notes

  • Development mode sends clients a full-reload update when a tsconfig changes.

    1.2.0release notes

  • Build errors are printed on browser refresh after a failed build.

    1.1.2release notes

  • Devtools makes duplicate packages discoverable.

    1.0.2release notes

  • Devtools classifies package dependency types in the package graph.

    1.0.2release notes

  • Devtools emits package metadata.

    1.0.2release notes

  • Devtools maps packages to modules and chunks.

    1.0.2release notes

  • The devtools package graph emits package size when PackageGraphReady occurs.

    1.0.2release notes

  • Devtools marks packages that are used.

    1.0.2release notes

Fixes and other changes 278

  • The dev server recovers from a rebuild that fails in buildEnd.

    1.3.3release notes

  • Data URL modules retain execution order when chunkModulesOrder is 'module-id'.

    1.3.3release notes

  • External imports retain their source order.

    1.3.3release notes

  • Dynamic entries remain the facade of their codeSplitting group chunk.

    1.3.3release notes

  • A CommonJS entry's module.exports is retained in CJS output.

    1.3.3release notes

  • Internal chunk exports are excluded from dynamic import namespaces.

    1.3.3release notes

  • Entry chunks are ordered by their first-executed module.

    1.3.3release notes

  • Corrected the help text for --format.

    1.3.3release notes

  • Modules in unloaded chunks are no longer treated as already run.

    1.3.3release notes

  • A pass value of 0 disables inline-const.

    1.3.3release notes

  • JSON modules preserve lone UTF-16 surrogates.

    1.3.3release notes

  • Class static blocks are not emitted for targets that do not support them.

    1.3.3release notes

  • MagicString.replace and replaceAll support function replacers.

    1.3.3release notes

  • MagicString.replace and replaceAll now support function replacers.

    1.3.3release notes

  • Corrected the help text for --makeAbsoluteExternalsRelative.

    1.3.3release notes

  • Percent-encoded paths in new URL() are decoded.

    1.3.3release notes

  • The asset is emitted when a plugin loads a new URL() target as code.

    1.3.3release notes

  • Option paths in validation warnings are joined with dots.

    1.3.3release notes

  • Unknown output.esModule strings are rejected.

    1.3.3release notes

  • output.exports is honored for non-entry modules under preserveModules.

    1.3.3release notes

  • Plugin module options are reset when modules are fetched again.

    1.3.3release notes

  • Corrected the help text for --polyfillRequire.

    1.3.3release notes

  • Chunks are created in execution order when preserveModules is enabled.

    1.3.3release notes

  • require passed as a call argument is no longer treated as a require() call.

    1.3.3release notes

  • Module ids starting with rolldown: are no longer special-cased.

    1.3.3release notes

  • The resolver cache is cleared on update watch events.

    1.3.3release notes

  • Relative sources in plugin maps are resolved against the module.

    1.3.3release notes

  • Sourcemap comments are included in chunk hashes.

    1.3.3release notes

  • Top-level await in tree-shaken statements is ignored.

    1.3.3release notes

  • UMD dependencies no longer use host AMD loaders.

    1.3.3release notes

  • Plugin errors and warnings now print their url.

    1.3.3release notes

  • WASI calls made after close() no longer crash.

    1.3.3release notes

  • A module without module syntax is treated as CommonJS when it is both imported and required.

    1.3.2release notes

  • Cross-chunk export names no longer depend on module load order.

    1.3.2release notes

  • References in dead branches inside live functions are dropped before chunk linking.

    1.3.2release notes

  • Detection recognizes __esModule set with Object.defineProperty on module.exports.

    1.3.2release notes

  • Options passed to hooks no longer keep a build's plugins alive.

    1.3.2release notes

  • No-op initialization calls are removed from re-exports and imports.

    1.3.2release notes

  • The declaring module of an inlined constant read through a kept barrel is run to preserve strict execution order.

    1.3.2release notes

  • Statements with instanceof that a constant makes pure are tree-shaken.

    1.3.2release notes

  • A module task panic fails the build instead of leaving it hanging.

    1.3.2release notes

  • Module tasks no longer panic after the build is dropped.

    1.3.2release notes

  • new URL() references are no longer treated as execution dependencies.

    1.3.2release notes

  • Re-export targets that no consumer selects are placed to preserve strict execution order.

    1.3.2release notes

  • Emitted chunks are counted when rendering relative-path externals.

    1.3.2release notes

  • A partial rebuild no longer panics when it adds a relative-path external.

    1.3.2release notes

  • Rendering errors are preserved when renderError fails.

    1.3.2release notes

  • Columns are preserved when a hook returns the native MagicString.

    1.3.2release notes

  • Sourcemaps use the map returned by a hook with the native MagicString.

    1.3.2release notes

  • Top-level await in top-level catch blocks is detected.

    1.3.2release notes

  • var declarations in top-level catch blocks of wrapped modules are hoisted.

    1.3.2release notes

  • Destructuring with an assignment default no longer causes a panic in a wrapped module.

    1.3.2release notes

  • var declarations in top-level for-in and for-of heads of wrapped modules are hoisted.

    1.3.2release notes

  • Transform logs and errors now include the code location when the position is 0.

    1.3.1release notes

  • A declaration keeps its name when that name clashes with an external import.

    1.3.1release notes

  • Same-chunk dynamic imports are omitted from dynamicImports.

    1.3.1release notes

  • The CLI applies --environment before loading the binding.

    1.3.1release notes

  • Namespace markers are skipped when an entry has no exports.

    1.3.1release notes

  • Inlining an exported constant no longer drops the module's side effects.

    1.3.1release notes

  • Sticky regexes are matched only at the start of the string.

    1.3.1release notes

  • Custom options are kept separate across overlapping this.resolve calls.

    1.3.1release notes

  • Top-level statements made dead by imported constants are dropped before chunk linking.

    1.3.1release notes

  • Top-level this in a required module without module syntax is treated as its exports.

    1.3.1release notes

  • Watch mode now matches Rollup for BUNDLE_END output and multi-config watch options.

    1.3.0release notes

  • The CLI now preserves entry arguments that follow a double dash.

    1.3.0release notes

  • Tree-shaking now runs a CommonJS module reached only through export *, preserving its execution.

    1.3.0release notes

  • Tree-shaking no longer drops side effects after an exports.x write in the same CommonJS statement, or statements holding a CommonJS top-level return.

    1.3.0release notes

  • Dynamic import variable handling now escapes import specifiers, supports CRLF line breaks in the static import prefix, and awaits the resolver without blocking a runtime worker.

    1.3.0release notes

  • External imports with different attributes remain distinct in output, and legacy assert attributes are rendered as with attributes. Plugins see attributes in the external module id.

    1.3.0release notes

  • Star re-exports from externals in CommonJS output now respect externalLiveBindings.

    1.3.0release notes

  • Negated ** globs are matched from the walk root, and aliased globs resolve without blocking a runtime worker.

    1.3.0release notes

  • JSON named exports no longer shadow JSON.parse.

    1.3.0release notes

  • Rewriting new URL() now preserves its query and fragment.

    1.3.0release notes

  • CommonJS star re-exports from external modules now honor the configured live-binding behavior.

    1.3.0release notes

  • URLs in sourceMappingURL comments are now escaped.

    1.3.0release notes

  • linux-x64-gnu now runs on older CPUs.

    1.2.19release notes

  • Module names are escaped in generated error stubs.

    1.1.7, 1.2.18release notesrelease notes

  • Module sourcemaps keep only traced sources and names.

    1.2.18release notes

  • Treats cwd as a literal path in relative glob filters.

    1.2.16release notes

  • Preserves exported rest bindings from dynamic imports during tree-shaking.

    1.2.16release notes

  • The wasm binding follows directory symlinks.

    1.2.16release notes

  • Awaits bundle.close() and cleans up every generated config file.

    1.2.16release notes

  • Reports tsconfigFilePaths for a tsconfig resolved through TsconfigCache.

    1.2.16release notes

  • Tsconfig is no longer applied when resolving imports from virtual modules.

    1.2.16release notes

  • Transform no longer crashes when the working directory has been deleted.

    1.2.16release notes

  • Keeps common chunk keys unique when inline common chunks are enabled.

    1.2.15release notes

  • Handles external require when ssr.target is webworker.

    1.2.15release notes

  • Wraps eager modules that forward wrapped definers to preserve strict execution order.

    1.2.15release notes

  • Stops this.resolve recursion between plugins when skipSelf: true.

    1.2.15release notes

  • Dynamic imports are wrapped in __vitePreload only when their specifiers are static.

    1.2.15release notes

  • Reports ASSIGN_TO_IMPORT for writes to re-exported namespace members.

    1.2.14release notes

  • Avoids renaming bindings to fixed names that they would capture.

    1.2.14release notes

  • A repeated close() call is now a no-op.

    1.2.14release notes

  • Keeps an external require() local in a CJS module off the top-level names.

    1.2.14release notes

  • Prints a CommonJS module's top-level this as a wrapper parameter rolldown names.

    1.2.14release notes

  • Avoids renaming entry top-level bindings onto their nested bindings.

    1.2.14release notes

  • Keeps generated top-level names off inner bindings.

    1.2.14release notes

  • Keeps files loaded by the HMR stage watched when the same task rebuilds.

    1.2.14release notes

  • Watches lazily compiled files even when a build starts first.

    1.2.14release notes

  • Handles output.charset: 'ascii' when minification is disabled.

    1.2.14release notes

  • Keeps internal bindings out of entry exports.

    1.2.14release notes

  • Shims deep namespace reads through default imports.

    1.2.14release notes

  • Shims missing static namespace members.

    1.2.14release notes

  • Preserves sourcemap boundaries when tracing has no mapping.

    1.2.14release notes

  • Accounts for init imports during code splitting.

    1.2.14release notes

  • Avoids eager loading through mixed re-exports.

    1.2.14release notes

  • Tree-shakes expression statements that coerce known constants.

    1.2.14release notes

  • Preserves initialization of wrapped ESM re-exports during tree-shaking.

    1.2.14release notes

  • Uses computed access for arbitrary import names.

    1.2.13release notes

  • Chunk syntax errors now fail, and export names are escaped once.

    1.2.13release notes

  • Dependency paths are escaped in CJS and UMD output.

    1.2.13release notes

  • Avoids cycles caused by redundant re-export initialization.

    1.2.13release notes

  • Export names are escaped in defineProperty calls.

    1.2.13release notes

  • Devtools now honors devtools.sessionId.

    1.2.13release notes

  • Re-exports of the same external binding are treated as one export.

    1.2.13release notes

  • Imported exports now honor externalLiveBindings.

    1.2.13release notes

  • A late payload no longer replaces newer module code.

    1.2.13release notes

  • Newly imported modules are shipped even if the client never received them.

    1.2.13release notes

  • Reloads the page when an HMR update fails after merging its edit.

    1.2.13release notes

  • Namespace properties are escaped in IIFE and UMD output.

    1.2.13release notes

  • Code splitting no longer moves init calls in front of unwrapped JSON modules.

    1.2.13release notes

  • Ships dependencies of a module that a patch shipped but never ran.

    1.2.13release notes

  • Chunk names are sanitized after resolving the relative path.

    1.2.13release notes

  • Generates valid bindings for shimmed exports.

    1.2.13release notes

  • HMR patches and lazy chunks now read string-named imports correctly.

    1.2.13release notes

  • HMR patches and lazy chunks now keep this undefined when calling an imported function.

    1.2.13release notes

  • The dev module factory is async when top-level await is used.

    1.2.13release notes

  • Bare external imports now retain their with clause.

    1.2.13release notes

  • Dependencies for import.meta.hot.accept are now aligned with Vite.

    1.2.12release notes

  • The resolver cache is cleared when a file is created or deleted.

    1.2.12release notes

  • Unresolved import diagnostics now name the resolved specifier.

    1.2.12release notes

  • The change that fetched a lazy route in one request was reverted.

    1.2.11release notes

  • Names are preserved through collapse_sourcemaps.

    1.2.11release notes

  • Metadata events are mapped by kind, and missing paths are treated as deleted.

    1.2.11release notes

  • Fixes initialization of leaves behind a re-exported namespace import during code-splitting.

    1.2.10release notes

  • Timing rows are labeled and distinguished by position, with group indexes included.

    1.2.10release notes

  • Deconflicts CommonJS locals that shadow a renamed require wrapper.

    1.2.10release notes

  • DevEngine::new now forces an incremental build.

    1.2.10release notes

  • The timing report clarifies callback owners.

    1.2.10release notes

  • Side effects propagate through cycles during tree-shaking.

    1.2.10release notes

  • The fallback records the WASI target.

    1.2.10release notes

  • Preserves annotation comments when output is minified.

    1.2.9release notes

  • Treats module-scope await using as top-level await.

    1.2.9release notes

  • Removes a deleted property from the output bundle proxy target.

    1.2.9release notes

  • Handles CommonJS exports accessed through top-level this.

    1.2.9release notes

  • Preserves plugin attribution in warnings produced while watching.

    1.2.9release notes

  • Cleans stale dynamic entry references after partial scans.

    1.2.8release notes

  • Includes external wildcard re-exports in OutputChunk.imports.

    1.2.8release notes

  • PreRenderedChunk.facadeModuleId is now nullable, matching Rollup.

    1.2.7release notes

  • An error now names the module when a codeSplitting group callback returns a value of the wrong type.

    1.2.6release notes

  • Import bindings are assigned before dependencies are initialized, fixing their ordering in development.

    1.2.6release notes

  • Development rename events are mapped like build watch rename events.

    1.2.6release notes

  • Star re-exports are copied before dependencies are initialized.

    1.2.6release notes

  • In-flight ensureLatestBuildOutput calls are resolved when the dev engine closes.

    1.2.6release notes

  • Hook types use BindingResult instead of the undeclared BindingErrorsOr.

    1.2.6release notes

  • Development registers an empty exports object for modules without exports.

    1.2.6release notes

  • Avoids emitting the ANSI erase-line escape in non-TTY output.

    1.2.5release notes

  • Excludes hash placeholders from case-insensitive filename deconfliction.

    1.2.5release notes

  • Renames nested require, __filename, and __dirname bindings in CJS output.

    1.2.5release notes

  • Flushes re-emitted assets when their content changes during development.

    1.2.5release notes

  • Preserves the Yarn PnP virtual importer during resolution.

    1.2.5release notes

  • Fixes an illegal instruction crash in the binding on Android arm64.

    1.2.4release notes

  • Devtools resolves log paths against the build working directory.

    1.2.4release notes

  • Negated sideEffects globs no longer retain modules.

    1.2.4release notes

  • A failed watch registration no longer aborts the batch.

    1.2.3release notes

  • Browser builds avoid using Node builtin modules.

    1.2.2release notes

  • cleanDir is forced off in dev mode.

    1.2.2release notes

  • External dynamic imports are included in chunk metadata.

    1.2.2release notes

  • Re-exported wrapped ESM modules are initialized at the entry chunk.

    1.2.2release notes

  • Proxy IDs are kept out of user resolveId hooks in dev mode.

    1.2.2release notes

  • The transformer gate skips newer syntax that oxc can lower.

    1.2.2release notes

  • CommonJS that fakes __esModule no longer leaves default undefined.

    1.2.1release notes

  • Re-exports from externals in dev are resolved through a real import.

    1.2.1release notes

  • File names are validated when emitFile is called.

    1.2.1release notes

  • Non-Node CommonJS output now emits an EMPTY_IMPORT_META warning.

    1.2.1release notes

  • The export name is preserved for export * as ns from in dev.

    1.2.1release notes

  • Filename-pattern diagnostics now use wording aligned with Rollup.

    1.2.1release notes

  • A ./foo/bar glob pattern is handled the same as foo/bar.

    1.2.1release notes

  • User plugin hooks are skipped for ?rolldown-lazy proxy modules in dev.

    1.2.1release notes

  • length() returns UTF-16 code units.

    1.2.1release notes

  • output.paths is applied to CommonJS export-star output for external modules.

    1.2.1release notes

  • Missing hook inputs are treated as non-matches instead of causing panics.

    1.2.1release notes

  • Emitted prebuilt-chunk file names are validated.

    1.2.1release notes

  • The resolveFileUrl hook is called in a deterministic order.

    1.2.1release notes

  • Callable builtin plugins now receive resolveId options.kind.

    1.2.1release notes

  • Tree-shaking an importing module no longer removes __toESM when it is needed.

    1.2.1release notes

  • Destructured dynamic import namespace bindings are tree-shaken.

    1.2.0release notes

  • For ESM output, the [format] placeholder in *FileNames options is es instead of esm.

    1.2.0release notes

  • The Vite import-glob plugin supports tsconfig paths with import.meta.glob.

    1.2.0release notes

  • Avoids an incorrect EMPTY_IMPORT_META warning for CJS output.

    1.2.0release notes

  • Rooted drive-less module IDs are treated as absolute when naming preserved modules.

    1.2.0release notes

  • Watch mode rebuilds when tsconfig files change.

    1.2.0release notes

  • A tsconfig change forces a full rebuild.

    1.2.0release notes

  • The binding is built for baseline x86-64 CPUs, improving compatibility on those systems.

    1.0.5, 1.1.8release notesrelease notes

  • Returns an empty object for modules mapped with browser: false.

    1.1.5release notes

  • Tree-shakes unused circular declarators exported via an export list.

    1.1.5release notes

  • Keeps deduplicated asset filenames stable once they can be observed.

    1.1.5release notes

  • Avoids panicking when an HMR rebuild encounters an unresolved import.

    1.1.5release notes

  • Resets word-boundary state on newline in Hires::Boundary sourcemaps.

    1.1.5release notes

  • Updates importer relationships of cached modules in incremental builds.

    1.1.5release notes

  • Improves warnings for invalid annotations.

    1.1.5release notes

  • Emits an async wrapper for top-level-await modules when onDemandWrapping is enabled.

    1.1.5release notes

  • Errors from the output.globals function are propagated.

    1.1.5release notes

  • Adds descriptive metadata to the plugin API.

    1.1.5release notes

  • Gates side effects of sideEffects:false modules on body demand.

    1.1.5release notes

  • Preserves sourcemap mappings for indented lines when a CJS module shares the chunk.

    1.1.5release notes

  • Hashes prepared sourcemap content.

    1.1.5release notes

  • Uses the public option name in sourcemap pattern errors.

    1.1.5release notes

  • Improves the error message for unresolved virtual imports.

    1.1.5release notes

  • Ignores watcher events after close.

    1.1.5release notes

  • Avoids a spurious leading newline in banner, footer, intro, and outro addon hooks.

    1.1.4release notes

  • Renames CJS-wrapped locals that shadow chunk-root bindings.

    1.0.2, 1.1.4release notesrelease notes

  • Deterministically keeps the shortest name for deduplicated assets.

    1.1.4release notes

  • Keeps an entry facade when a shared chunk contains another entry's module.

    1.1.4release notes

  • Handles bailout cases caused by JSON default mutation.

    1.1.4release notes

  • Avoids splitting a JSON default when the object escapes.

    1.1.4release notes

  • Serializes the KeepAssign unused minify option as keep_assign.

    1.1.4release notes

  • Preserves the export keyword on multi-declarator exports when keepNames is enabled.

    1.1.4release notes

  • Lazy barrel is disabled in dev mode.

    1.1.4release notes

  • Initialization errors in lazy-compiled modules can now be caught.

    1.1.4release notes

  • Keeps fragments after the newline fragment in last_line.

    1.1.4release notes

  • Preserves computed-key side effects on namespace member access during treeshaking.

    1.1.4release notes

  • Applies the annotation to cross-chunk namespace calls during treeshaking.

    1.1.4release notes

  • Generated output keeps the full JSON interface when using preserveModules.

    1.1.4release notes

  • Fixes undeclared JSON named exports in generated output when using preserveModules.

    1.1.4release notes

  • Validates replace plugin delimiter lengths instead of panicking.

    1.1.4release notes

  • Await inside a strict-mode function is no longer classified as top-level await.

    1.1.4release notes

  • The groups name function now receives plugin meta.

    1.1.3release notes

  • Fixed a crash on the browser main thread when using defer_drop.

    1.1.3release notes

  • Pending full reloads are canceled when a build errors.

    1.1.3release notes

  • Help output now displays options in camelCase.

    1.1.3release notes

  • The dev server now serves assets emitted during HMR or lazy compilation.

    1.1.3release notes

  • Used re-exports are preserved when preserveModules is enabled.

    1.1.3release notes

  • Closing the watcher is now reentrant in event callbacks.

    1.1.3release notes

  • External star re-exports now preserve their with clause.

    1.1.2release notes

  • The dev server now forces a rebuild after HMR errors.

    1.1.2release notes

  • JSON numbers outside the f64 range no longer cause a panic.

    1.1.2release notes

  • Locally used imports are loaded on a re-exported record.

    1.1.2release notes

  • Providing output.file without a file name no longer causes a panic.

    1.1.2release notes

  • compilerOptions.paths now resolve for importers whose non-TypeScript extension is explicitly listed in a tsconfig include glob.

    1.1.2release notes

  • Decorator transformation now infers strictNullChecks from the tsconfig.

    1.1.2release notes

  • chunk.imports is now ordered by execution order.

    1.1.1release notes

  • Fixes cross-chunk CJS wrappers shadowed by an author-local binding.

    1.1.1release notes

  • Lazy-barrel handling now requests all exports for entry barrels on first encounter.

    1.1.1release notes

  • HMR now reports the full-reload reason for the invalidate-loop case.

    1.1.1release notes

  • An explicit moduleSideEffects value from a hook now takes priority over package.json#sideEffects.

    1.1.1release notes

  • The resolver now honors package.json#type for .jsx and .tsx extensions.

    1.1.1release notes

  • The standalone runtime chunk keeps the rolldown-runtime name.

    1.1.1release notes

  • vite-resolve now preserves slash separators for Sass partial exports.

    1.1.1release notes

  • The finalizer skips init_*() for tree-shaken wrapped ESM owners.

    1.1.1release notes

  • The chunk optimizer now refuses asymmetric merges for cyclic dynamic entries.

    1.1.0release notes

  • Preserves .default access on JSON default imports.

    1.1.0release notes

  • Adds an @__NO_SIDE_EFFECTS__ hint for invalid @__PURE__ annotations before function declarations.

    1.1.0release notes

  • Handles slash-normalized IDs with preserveModulesRoot.

    1.1.0release notes

  • Reports TSCONFIG_ERROR instead of UNHANDLEABLE_ERROR when a tsconfig file is missing.

    1.1.0release notes

  • CommonJS default re-exports now use the export mode of the exporter chunk.

    1.0.3release notes

  • The optimization is skipped for write targets.

    1.0.3release notes

  • onOutput is no longer called twice when the initial build fails.

    1.0.3release notes

  • require() is routed to the CommonJS helper variant.

    1.0.3release notes

  • Decorator transformation now respects the strictNullChecks option.

    1.0.3release notes

  • Labels specified for dropping are applied before scanning.

    1.0.3release notes

  • A redundant initialization call is skipped when a barrel executes in the same chunk.

    1.0.2release notes

  • Chunk file names remain stable when an unrelated entry is added.

    1.0.2release notes

  • Names in codeSplitting.groups are called in deterministic order.

    1.0.2release notes

  • The absorbed dynamic-entry namespace is published across chunks.

    1.0.2release notes

  • Unsafe dynamic-only chunk merges are avoided.

    1.0.2release notes

  • resolve_id is idempotent when the resolved id is already a lazy entry.

    1.0.2release notes

  • Lazy modules added in rebuilds are watched.

    1.0.2release notes

  • Pure annotations propagate through compound expressions.

    1.0.2release notes

  • The watcher does not write output or emit events after close().

    1.0.2release notes

  • Wrapped ESM re-export owners are initialized.

    1.0.2release notes

  • Removes the severity prefix from diagnostic messages.

    1.0.1release notes

  • Enables enum_eval for transformSync and the Vite TypeScript transform.

    1.0.1release notes

  • Fixes exports of lazy requests in lazy chunks.

    1.0.1release notes

  • Uses loadExports for fetched proxies to preserve original export names.

    1.0.1release notes

  • Handles errors in the resolveSubpathImports callback.

    1.0.1release notes

  • HMR now applies __toCommonJS interop when a CommonJS module requires an ES module.

    1.0.0release notes

  • Lazily compiled modules are now watched, so changes to them can be detected during development.

    1.0.0release notes