rollup
4.68.5 · 17 Nov 2026MIT170.6M / weekRepositoryHomepagenpmAtom feed
Upgrading rollup From 3.30.0 to 4.67.5
192 releases in betweenevery note read
- 29
- changes to make
- 0
- advisories fixed
- 157
- new
- 328
- fixes
Before you upgrade
Tick each one off as you go- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
Security
- 4.60.4
Resolve vulnerabilities
- 4.45.3
Update eslint-plugin-unicorn to resolve vulnerability
- 4.22.4
Fix a vulnerability in generated code that affects IIFE, UMD and CJS bundles when run in a browser context
Release by release
- Fixed
Do not ignore
output.sourcemapFilewhen theoutput.fileoption is not used - Fixed
Change chunk hash when debug IDs are enabled/disabled
- Fixed
Avoid an unnecessary optional dependency on Linux system
- Fixed
Do not publish the build-only @napi-rs/lzma-linux-x64-gnu optional dependency (@christophehurpeau, @lukastaegert)
- Fixed
- Fixed
Make rollup work again on older Xeon processors
- Fixed
- Fixed
Ensure line breaks in module ids are handled correctly in imports
- Fixed
- New
Support X64 Android
- New
Add android-x64 native build (@x-labb, @lukastaegert)
- New
- New
Support
nullsources in plugin-generated sourcemaps - New
Support plugin-generated "index" sourcemaps
- Fixed
Preserve rendering errors when the
rendereErrorhook fails
- New
- Fixed
Ensure tree-shaking also respect
Symbol.disposefor async disposal - Fixed
Fix tree-shaking of disposable resources (@TrickyPi, @lukastaegert)
- Fixed
- New
Support synthetic named exports in namespaces when preserving modules
- Fixed
Fix a situation where unaligned sourcemaps resulted in a wrong segment
- Fixed
Forward startup errors on native module load when starting rollup
- New
- Fixed
Allow generating logs from transform hooks at position 0
- Fixed
Properly handle global or sticky regular expressions for file names
- Fixed
Fix transform diagnostics at position zero
- Fixed
165 other lines we could not sort, mostly version bumps
- 4.67.5
Honor
output.sourcemapFilewhenoutput.fileis not set - 4.67.5
Include debug ID comments in chunk hashes (@clean99, @lukastaegert)
- 4.67.4
Build linux-x64-gnu C code for baseline x86-64 CPUs
- 4.67.3
Preserve line terminators in module ids (@clean99, @lukastaegert)
- 4.67.2
Install libatomic1 for Node 26 in smoke test containers
- 4.67.2
Update minor/patch updates (@renovate[bot], @lukastaegert)
- 4.67.2
Update estree dependency
- 4.66.0
Treat null sources in plugin sourcemaps as unmapped (@wleeaf, @lukastaegert)
- 4.66.0
Flatten index sourcemaps returned by plugins (@wleeaf, @lukastaegert)
- 4.66.0
Preserve rendering errors when renderError fails
384 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.