rollup
4.68.5 · 17 Nov 2026MIT170.6M / weekRepositoryHomepagenpmAtom feed
Upgrading rollup From 1.31.1 to 2.80.0
219 releases in betweennotes for 214
Counted from 214 of 219 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
Security
Fixes 2 advisories affecting 1.31.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
- 2.79.2
Fix a vulnerability in generated code that affects IIFE, UMD and CJS bundles when run in a browser context
Release by release
2.80.0no release note
- Security
Fix a vulnerability in generated code that affects IIFE, UMD and CJS bundles when run in a browser context
- Fixed
Fix DOM Clobbering CVE
- Security
- Fixed
Avoid massive performance degradation when creating thousands of chunks
- Fixed
- New
Add
amd.forceJsExtensionForImportsto enforce using.jsextensions for relative AMD imports - New
Add option to keep extensions for amd
- New
- Fixed
Avoid inferring "arguments" as name for a default export placeholder variable
- Fixed
Prevent using arguments for generated variable names
- Fixed
- New
Support writing plugin hooks as objects with a "handler" property
- New
Allow changing execution order per plugin hook
- New
Add flag to execute plugins in async parallel hooks sequentially
- New
Allow using objects as hooks to change execution order
- New
- Fixed
Correctly resolve preserveModulesRoot in Vite
- Fixed
Resolve currentPath
- Fixed
- Fixed
Avoid a rendering failure when mixing outputs with inlined and non-inlined dynamic imports
- Fixed
Handle generating non-inlined imports after inlined ones
- Fixed
213 other lines we could not sort, mostly version bumps
- 2.79.1
Update type definition of resolveId
- 2.79.1
Improve performance of chunk naming collision check
- 2.77.1
Broken link removed
- 2.77.1
Documentation clarity and syntax improvements
- 2.77.1
Use var for IIFE
- 2.77.0
Document more ways to read package.json in ESM
- 2.76.0
Adapt Node versions on CI to prepare for v3
- 2.76.0
Improve error message for invalid patterns
- 2.75.6
Refactor side effect handling for property interactions
- 2.75.5
Try to make logical expression deoptimization more robust
59 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.