NewYour coding agent can read the release notes before it upgrades.Set up the MCP server โ
npm, #1894 most downloaded on npm
Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
Latest stable
1.3.2
Last release 11 days ago
11 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
Most releases are documented
notes for 47 of 56 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
628 releases ยท first in 2024
Drag across the ruler to compare, or tap a release to open it.
deprecate output.legalComments (#8450) by @sapphi-red
css_entry_filenames , css_chunk_filenames and related code (#8402) by @hyf0PluginOrder::PinPost (#8417) by @hyf0ModuleType:Copy (#8407) by @hyf0ESTree types from rolldown/utils (#8400) by @sapphi-red.js within "type": "commonjs" as ESM for now (#8470) by @sapphi-red.cjs / .cts / .js within "type": "commonjs" as CommonJS (#8455) by @sapphi-redrender_chunk_meta run after users plugin (#8422) by @hyf0DataUriPlugin (#8418) by @hyf0jsx.preserve should also considering tsconfig json preserve (#8324) by @IWANABETHATGUYdeferred_scan_data.rs "Should have resolved id: NotFound" error (#8379) by @sapphi-red--dir/-d and --file/-o (#8378) by @Copilotrolldown_plugin_data_uri to rolldown_plugin_data_url (#8421) by @hyf0https://rolldown.rs from links in reference docs (#8454) by @sapphi-redoutput.codeSplitting docs (#8452) by @sapphi-redoutput.comments behavior a bit (#8451) by @sapphi-redExported from for values / types exported from subpath exports (#8394) by @sapphi-redsugar_path@2 (#8432) by @hyf0_test.mjs even if executeOutput is false (#8398) by @sapphi-redexpect.assertions() as it is not concurrent test friendly (#8383) by @sapphi-redmockReset option (#8382) by @sapphi-redexpect.assertions in all fixture tests (#8395) by @sapphi-redexpect.assertions in fixture tests (#8387) by @sapphi-red_config.ts files (#8386) by @sapphi-redYour coding agent can read these notes before it upgrades. Set up the MCP server โ
๐ก Smarter entriesAware for Code Splitting
๐ก Smarter entriesAware for Code Splitting
New entriesAware and entriesAwareMergeThreshold options for codeSplitting.groups[] enable entry-reachability-based chunk splitting with automatic small chunk merging.
entriesAware: true splits matched modules by entry reachability โ modules reached by the same set of entries are grouped together, providing the most precise loading behavior with less over-fetchingvendor-entry-a-entry-b.js) instead of opaque hashesentriesAwareMergeThreshold sets a byte-size threshold to merge tiny subgroups into the closest sibling with the fewest extra entries, reducing micro-chunk fragmentation while preserving precisionmaxSize: merge tiny chunks first to reduce request overhead, then cap large chunks to control payload sizecodeSplitting: {
groups: [{
name: 'vendor',
test: /node_modules/,
entriesAware: true,
entriesAwareMergeThreshold: 28000, // bytes
}]
}
Visitor to rolldown/utils (#8373) by @sapphi-redinputFormat property to ModuleInfo (#8329) by @shulaodatreeshake.invalid_import_side_effects to false (#8357) by @sapphi-redIndexBitSet (#8343) by @sapphi-redawait import().then((m) => m.prop) (#8328) by @sapphi-redentriesAwareMergeThreshold (#8312) by @hyf0maxSize will split the oversized chunk with taking file relevance into account (#8277) by @hyf0entriesAware chunks (#8275) by @hyf0entriesAware (#8274) by @hyf0minify.compress: true and minify.mangle: true with minify: true (#8367) by @sapphi-redencode_hash_with_base output to fixed length to prevent slice panics (#8320) by @shulaodaxxhash_with_base skips hashing when input is exactly 16 bytes (#8319) by @shulaodaImportKind::try_from with missing variants and correct url-import to url-token (#8310) by @shulaodaexternal config (#8304) by @IWANABETHATGUYmaxSize should split chunks correctly based on sizes (#8289) by @hyf0RawMangleOptions and RawCompressOptions (#8366) by @sapphi-redapply_manual_code_splitting into ManualSplitter (#8346) by @hyf0ModuleGroupOrigin and ModuleGroupId (#8311) by @hyf0FinalizerMutableState struct (#8303) by @shulaodafinalize_modules (#8302) by @shulaodaapply_transfer_parts_mutation into its own module (#8301) by @shulaodadetermine_export_mode (#8294) by @shulaodawarnings field from GenerateContext (#8293) by @shulaodais_in_node_modules to PathExt trait in rolldown_std_utils (#8286) by @shulaoda\0rolldown/runtime.js (#8234) by @hyf0format JSDoc from 'esm' to 'es' (#8372) by @shulaodainvalidImportSideEffects option mention from lazy barrel optimization doc (#8355) by @sapphi-redminSize constraints (#8279) by @ShroXdreport_compressed_size is disabled (#8321) by @shulaodavi.waitFor and expect.poll instead of custom waitUtil function (#8369) by @sapphi-redThe output.legalComments option is now deprecated and use comments.legal instead
๐ก Granular comments Option
output.comments option provides fine-grained control over comment preservationoutput.legalComments option is now deprecated and use comments.legal insteadRolldownError from RollupError (#8262) by @sapphi-redresolve_tsconfig function for Vite (#8257) by @sapphi-redrolldown_watcher (#8161) by @hyf0comments and legalComments into a single granular comments option (#8229) by @IWANABETHATGUYtransform (#8180) by @sapphi-redother to jsdoc in comments options (#8256) by @IWANABETHATGUYparse and parseSync (#8215) by @sapphi-redparse / minify / transform from rolldown/utils (#8214) by @sapphi-red<script> escape behavior difference note from platform option (#8253) by @sapphi-redRUSTSEC-2025-0141 cargo check error (#8235) by @hyf0โก Remove Unnecessary Default Export Assignment
โก Remove Unnecessary Default Export Assignment
// index.js
var x = 42;
export default x;
// Before
var x = 42;
var entry_default = x;
export { entry_default as default };
// After
var x = 42;
export { x as default };
๐ Avoid Unnecessary Facade Chunks
// main.js (entry module)
import { a } from './lib.js'
console.log(a)
// lib.js
export * from './counter.js'
// counter.js (entry module)
export const a = 100
// Before
dist/
โโโ main.js โ import { a } from './counter-chunk.js'; console.log(a)
โโโ counter.js โ export { a } from './counter-chunk.js' // โ facade chunk
โโโ counter-chunk.js โ export const a = 100
// After
dist/
โโโ main.js โ import { a } from './counter.js'; console.log(a)
โโโ counter.js โ export const a = 100
RUNTIME_MODULE_ID constant for plugin authors (#8199) by @shulaodapreserveValueImports and importsNotUsedAsValues in tsconfig.json (#8169) by @sapphi-redinputMap option to minify / minifySync functions (#8138) by @sapphi-redthis.addWatchFile (#8198) by @hyf0RuntimeModuleTask after build_start to avoid race condition (#8182) by @shulaoda\0rolldown/runtime.js will go through transform hook and add test (#8093) by @hyf0[name] in assetFileNames does not include the directory part (#8098) by @IWANABETHATGUYUnknown resolve error error message (#8111) by @sapphi-rednot(feature = "experimental") (#8110) by @coolreader18VERSION to constants directory (#8200) by @shulaodaSymbolFlags (#8193) by @shulaodaremove instead of contains_key + remove (#8123) by @shulaodaget_barrel_normal_module (#8122) by @shulaodaresolveDynamicImport hook (#8137) by @sapphi-redthis.addWatchFile dependency should be preserved after reload (#8165) by @sapphi-redtransform_runtime_module test as ignored (#8178) by @Copilottransform_runtime_module test shouldn't panic inside (#8151) by @hyf0output.dynamicImportInCjs tests as passed (#8125) by @shulaodaHashMap::new and HashSet::new by clippy (#8135) by @sapphi-redSkips compilation of unused re-export modules in side-effect-free barrel modules
โก Lazy Barrel Optimization
For large component libraries like Ant Design, when you import just one component:
import { Button } from 'antd';
Button;
| Metric | Without lazy barrel | With lazy barrel |
|---|---|---|
| Modules compiled | 2986 | 250 |
| Build time (macOS) | ~65ms | ~28ms |
| Build time (Windows) | ~210ms | ~50ms |
By enabling lazy barrel, Rolldown reduces the number of compiled modules by 90% and speeds up the build by 2-4x.
Enable it in your config:
export default {
experimental: {
lazyBarrel: true,
},
};
For more details, see the https://rolldown.rs/in-depth/lazy-barrel-optimization
\0rolldown/runtime in transform hook (#8068) by @hyf0rolldown:runtime to \0rolldown/runtime.js (#8067) by @hyf0this.emitFile with type: 'prebuilt-chunk' (#8062) by @sapphi-rednew URL error diagnostic (#8043) by @valadaptivenew URL imports (#8035) by @valadaptiveChunk#id to Chunk#chunk_id (#8040) by @hyf0__exportAll parameter logic to reduce default output size (#8036) by @Copilot</script tag search should be case insensitive (#8033) by @IWANABETHATGUY. (#8029) by @Copilotthis to undefined (#8020) by @hyf0output.generatedCode.preset: 'es2015' was not set by default (#8026) by @sapphi-redoutput.strictExecutionOrder by the option validator (#8022) by @sapphi-redthis from on / off methods of RolldownWatcher (#8015) by @sapphi-reduse_built_ins and use_spread from internal JSX options (#8079) by @sapphi-redexperimental.transformHiresSourcemap (#8055) by @Copilotis_data_url more consistently (#8042) by @valadaptiveFxIndexMap to store EntryPoint (#8032) by @IWANABETHATGUY{@include ./foo.md} from d.ts files (#8056) by @sapphi-redadd codeSplitting: boolean and deprecate inlineDynamicImports (#7870) by @hyf0
experimental.lazyBarrel option (#7908) by @shulaodainvalidImportSideEffects option (#7958) by @shulaodastrictExecutionOrder and move to output.strictExecutionOrder from experimental.strictExecutionOrder (#7901) by @sapphi-redcodeSplitting: boolean and deprecate inlineDynamicImports (#7870) by @hyf0/@vite/lazy from /lazy (#7884) by @sapphi-red</script> to escape template literals (#7987) by @IWANABETHATGUYkind from this.resolve (#7981) by @sapphi-red@vite-ignore to lazy compilation proxy module import (#7883) by @sapphi-red.parse (#7966) by @sapphi-redImportRecordMeta::IsPlainImport (#7948) by @shulaodatry_spawn_with_cache (#7920) by @shulaodaImportStatus::NoMatch to unit variant (#7909) by @shulaodadevEngine.compileEntry does not return null (#7882) by @sapphi-redclientId property to DevRuntime base class (#7880) by @sapphi-redvitepress-plugin-group-icons (#7947) by @yuyinwsbuild() API as experimental (#7954) by @sapphi-redwith_scope_tree_child_ids(true) for SemanticBuilder (#7995) by @DunqingModuleTaskOwner construction until needed (#7921) by @shulaodarename_non_root_symbol pass (#7867) by @Dunqingtagged_template_transform uncondionally (#7975) by @IWANABETHATGUYcollect_depended_symbols (#7888) by @shulaodaNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per month.