Repository navigation
Releases
Releases · rollup/rollup
v4.68.8
Immutable
release. Only release title and notes can be modified.
4.68.8
2026-11-21
Bug Fixes
- Hoist namespace objects if necessary to avoid broken output (#6672)
- Do not try to auto-install source-map-support as it was causing some issues (#6682)
Pull Requests
- #6672: Create namespace objects early when a cycle can read them before their module runs (@waw666waw666)
- #6673: docs: explain why async methods are preferred in plugins (@CharoenwitKunna, @lukastaegert)
- #6674: docs: document warning and error properties (@CharoenwitKunna, @lukastaegert)
- #6675: docs: document dynamic expressions in import() (@CharoenwitKunna, @lukastaegert)
- #6676: docs: clarify that --perf omits asynchronous plugin hook time (@CharoenwitKunna, @lukastaegert)
- #6678: Update dtolnay/rust-toolchain digest to 3900882 (@renovate[bot], @lukastaegert)
- #6679: Update minor/patch updates (@renovate[bot])
- #6680: Update dependency eslint-plugin-unicorn to v80 (@renovate[bot])
- #6681: Lock file maintenance (@renovate[bot])
- #6682: fix(cli): stop installing source-map-support (@lukastaegert)
v4.68.7
Immutable
release. Only release title and notes can be modified.
4.68.7
2026-11-18
Bug Fixes
- Revert previous fix as it was breaking bundling in certain cases (#6671)
Pull Requests
- #6671: Revert previous fix to fail with a parse error instead of exhausting the native stack (@lukastaegert)
v4.68.6
Immutable
release. Only release title and notes can be modified.
4.68.6
2026-11-18
Bug Fixes
- Fail the build with a parse error instead of a native stack overflow for deeply nested expressions (#6669)
Pull Requests
- #6669: fix: fail with a parse error instead of exhausting the native stack (@lukastaegert)
v4.68.5
Immutable
release. Only release title and notes can be modified.
4.68.5
2026-11-17
Bug Fixes
- Improve handling of repeated file updates in watch mode for Linux and Windows (#6637)
- Properly handle
thisin JSX member expressions (#6654)
Pull Requests
- #6637: Rebuild with the latest content when a watched file changes in quick succession (@privatenumber, @lukastaegert)
- #6654: Keep
thisin JSX member expressions (@luantaraschi, @lukastaegert) - #6667: Migrate Renovate config (@renovate[bot])
v4.68.4
Immutable
release. Only release title and notes can be modified.
4.68.4
2026-11-16
Bug Fixes
- Ensure that mutations of arguments to certain global methods are respected in analysis (#6661)
- Ensure dynamic imports resolution via plugin is handled equivalently to regular dynamic imports (#6665)
Pull Requests
- #6661: Deoptimize arguments that known globals expose via their return value (@waw666waw666)
- #6665: Fix resolution info for dynamic imports resolved by plugins (@TrickyPi, @lukastaegert)
- #6666: Document base URL caveats for emitted file URLs (@lukastaegert)
v4.68.3
Immutable
release. Only release title and notes can be modified.
4.68.3
2026-11-13
Bug Fixes
- Fix generated code in non-ESM formats for assignments and exported declarations in loops and single-statement bodies (#6651)
- Ensure rollup does not make assumptions about the contents of an array where the length has been reassigned (#6655)
Pull Requests
- #6651: Fix system format updates for destructuring and for-loop assignments (@rome-xi, @lukastaegert)
- #6655: Deoptimize array elements when the length is assigned (@waw666waw666, @lukastaegert)
- #6657: docs: remove the dead repl.it reproduction option from the bug report template (@abd1rahmane, @lukastaegert)
- #6658: Update minor/patch updates (@renovate[bot])
- #6659: Lock file maintenance (@renovate[bot])
- #6660: Lock file maintenance (@renovate[bot])
- #6662: Update minor/patch updates (@renovate[bot], @lukastaegert)
- #6663: Lock file maintenance (@renovate[bot])
v4.68.2
Immutable
release. Only release title and notes can be modified.
4.68.2
2026-11-09
Bug Fixes
- Fail if generated file names would write outside the target directory using Windows drive-relative paths (#6652)
Pull Requests
- #6652: Reject Windows drive-relative output file names (@lukastaegert)
v4.68.1
Immutable
release. Only release title and notes can be modified.
4.68.1
2026-11-09
Bug Fixes
- Improve namespace object generation in cyclic imports (#6644)
- Warn about deleting or reassigning namespace members but make those operations catchable runtime errors (#6645)
- Do not generate invalid code for non-esm output when exporting destructing declarations with defaults (#6648)
Pull Requests
- #6638: docs: add missing options to the config file example (@Aryapatel-007, @lukastaegert)
- #6639: List --interop modes in CLI help instead of --no-interop (@ZainnQureshii, @lukastaegert)
- #6643: docs: update the ES modules sentence in the introduction (@vigohan95)
- #6644: Defer namespace bindings initialized later in a cycle (@mayankdhingra02)
- #6645: Preserve namespace property references in delete expressions (@mayankdhingra02, @lukastaegert)
- #6648: Fix invalid output for exported destructuring declarations with defaults (@trleo, @lukastaegert)
v4.68.0
Immutable
release. Only release title and notes can be modified.
4.68.0
2026-11-06
Features
- Use the directory name instead of "index" for dynamic chunks of
index.jsfiles (#6630) - Support tree-shaking of namespace members through default exports (#6631)
- Use cached sourcemaps if available when reading cached files (#6636)
Bug Fixes
- No longer confuse import names starting with a literal "*" with internal namespace import placeholders (#6628)
- Resolve a situation where a shared module accessed through different dynamic imports was wrongly merged into the first (#6632)
Pull Requests
- #6628: Preserve import and export names starting with "*" (@clean99, @lukastaegert)
- #6630: Name dynamic chunks of index files after their directory (@clean99, @lukastaegert)
- #6631: Tree-shake namespace members accessed through a default export (@thelastbackspace)
- #6632: Record live dynamic import edges for chunk assignment (@mayankdhingra02, @lukastaegert)
- #6633: Update minor/patch updates (@renovate[bot], @lukastaegert)
- #6634: Update swc monorepo (major) (@renovate[bot], @lukastaegert)
- #6635: Lock file maintenance (@renovate[bot], @lukastaegert)
- #6636: Do not decode cached sourcemaps again when reusing cached modules (@Ice-Hazymoon, @lukastaegert)
v4.67.5
Immutable
release. Only release title and notes can be modified.
4.67.5
2026-11-04
Bug Fixes
- Do not ignore
output.sourcemapFilewhen theoutput.fileoption is not used (#6623) - Change chunk hash when debug IDs are enabled/disabled (#6625)
- Avoid an unnecessary optional dependency on Linux system (#6627)
Pull Requests
- #6623: Honor
output.sourcemapFilewhenoutput.fileis not set (@simpleqt) - #6625: Include debug ID comments in chunk hashes (@clean99, @lukastaegert)
- #6627: Do not publish the build-only @napi-rs/lzma-linux-x64-gnu optional dependency (@christophehurpeau, @lukastaegert)