rollup
4.68.5 · 17 Nov 2026MIT170.6M / weekRepositoryHomepagenpmAtom feed
Upgrading rollup From 1.32.1 to 4.67.5
492 releases in betweennotes for 487
Counted from 487 of 492 release notes. Advisories are counted from the advisory database, in full.
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
Fixes 2 advisories affecting 1.32.1
- DOM Clobbering Gadget found in rollup bundled scripts that leads to XSShigh · GHSA-gcx4-mw62-g8wm
- Rollup 4 has Arbitrary File Write via Path Traversalhigh · GHSA-mw96-cpmx-2vgc
- 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
464 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
492 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.