NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #3282 most downloaded on npm
Native bindings for Rollup
Latest stable
4.68.8
Last release today
21 Nov 2026
Ships fairly regularly
a new release about every 1 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
255 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
Retain "void 0" in the output for smaller output and fewer surprises
Ensure namespace reexports always include all properties of all exports
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Do not tree-shake properties if a rest element is used in destructuring
2025-02-05
Ensure properties of "this" are included in getters
2025-02-05
Fix an issue where not all usages of a function were properly detected
2025-02-04
Ensure throwing objects includes the entire object
2025-02-03
Tree-shake unused properties in object literals (re-implements #5420)
2025-02-01
Correctly detect literal value of more negated expressions
2025-02-01
Nothing published for this version
Fix possible crash when optimizing logical expressions
Add watch.onInvalidate option to trigger actions immediately when a file is changed
2025-01-24
Do not immediately quit when trying to use watch mode from within non-TTY environments
2025-01-19
Nothing published for this version
Prevent invalid code when simplifying unary expressions in switch cases
2025-01-07
Inline values of resolvable unary expressions for improved tree-shaking
Nothing published for this version
Nothing published for this version
Keep import attributes when using dynamic ESM import() expressions from CommonJS
2025-01-05
import() expressions from CommonJS (#5781)Fix crash from deoptimized logical expressions
Treat objects as truthy and always check second argument to better simplify logical expressions
2024-12-20
Nothing published for this version
Nothing published for this version
Nothing published for this version
Support running Rollup natively on LoongArch
2024-12-06
debugId to SourceMap types (#5751)debugId to SourceMap types (@timfish, @lukastaegert)Allow to specify how to handle import attributes when transpiling Rollup config files
2024-11-30
Update bundled magic-string to support sourcemap debug ids
2024-11-23
Revert object property tree-shaking for now
2024-11-18
Ensure unused variables in patterns are always deconflicted if rendered
2024-11-15
Fix some situations where parameter declarations could put Rollup into an infinite loop
2024-11-15
Nothing published for this version
Nothing published for this version
Tree-shake unused properties in object literals
2024-11-15
Nothing published for this version
Nothing published for this version
Allow to avoid await bundle.close() via explicit resource management in TypeScript
2024-11-13
await bundle.close() via explicit resource management in TypeScript (#5721)using for RollupBuild (@shulaoda)Add output.sourcemapDebugIds option to add matching debug ids to sourcemaps and code for tools like Sentry or Rollbar
2024-11-09
output.sourcemapDebugIds option to add matching debug ids to sourcemaps and code for tools like Sentry or Rollbar (#5712)Nothing published for this version
Ensure mutations by handlers in Proxy definitions are always respected when tree-shaking
2024-11-04
Slightly reduce memory consumption by specifying fixed array sizes where possible
2024-10-29
## 4.24.2 _2024-10-27_ ### Bug Fixes - Add missing build dependency (#5705) ### Pull Requests - #5705: Fix "Couldn't find package" error when installi
2024-10-27
Support running Rollup natively on FreeBSD
2024-10-27
Support preserving and transpiling JSX syntax
2024-10-02
Collect all emitted names and originalFileNames for assets
2024-10-01
Allow parsing of certain unicode characters again
2024-09-27
Fix a vulnerability in generated code that affects IIFE, UMD and CJS bundles when run in a browser context
Ensure that mutations in modules without side effects are observed while properly handling transitive dependencies
2024-09-21
Nothing published for this version
Revert fix for side effect free modules until other issues are investigated
2024-09-20
Revert #5644 "stable chunk hashes" while issues are being investigated
2024-09-20
Add additional known global values to avoid access side effects
2024-09-19
AggregateError, FinalizationRegistry, WeakRef to knownGlobals (@re-taro)Always respect side effects in left-hand side of optional chain
2024-09-12
Handle IIFE/UMD namespace definitions conflicting with a builtin property
2024-08-30
Ensure closeWatcher hook is called when watch mode is aborted via Ctrl+C
2024-08-26
closeWatcher hook is called when watch mode is aborted via Ctrl+C (#5618)import.meta.url in compact mode (#5624)Add option to configure directory for virtual modules when preserving modules
2024-08-18
noConflict option in REPL. (@7086cmd)Allow plugins to specify the original file name when emitting assets
2024-08-03
Avoid "cannot get value of null" error when using optional chaining with namespaces
2024-08-01
Do not remove parantheses when tree-shaking logical expressions
2024-07-27
Implement support for decorators
2024-07-20
Prevent "%" in generated file names to ensure imports resolve
2024-07-08
% if URI malformed (@baseballyama, @lukastaegert)Resolve import.meta.filename and .dirname in transpiled plugins
2024-05-22
One column per quarter.