Releases: rollup/rollup
Releases · rollup/rollup
v4.46.2
4.46.2
2025-07-29
Bug Fixes
- Fix in-operator handling for external namespace and when the left side cannot be analyzed (#6041)
Pull Requests
- #6041: Correct the logic of include in BinaryExpression and don't optimize external references away (@TrickyPi, @cyyynthia, @lukastaegert)
v4.46.1
v4.46.0
4.46.0
2025-07-27
Features
- Optimize
in
checks on namespaces to keep them treeshake-able (#6029)
Pull Requests
- #5991: feat: update linux-loongarch64-gnu (@wojiushixiaobai, @lukastaegert)
- #6029: feat: optimize
in
checks on namespaces to keep them treeshake-able (@cyyynthia, @lukastaegert) - #6033: fix(deps): update swc monorepo (major) (@renovate[bot], @lukastaegert)
v4.45.3
4.45.3
2025-07-26
Bug Fixes
- Do not fail build if a const is reassigned but warn instead (#6020)
- Fail with a helpful error message if an exported binding is not defined (#6023)
Pull Requests
- #6014: chore(deps): update dependency @vue/language-server to v3 (@renovate[bot])
- #6015: chore(deps): update dependency vue-tsc to v3 (@renovate[bot], @lukastaegert)
- #6016: fix(deps): update swc monorepo (major) (@renovate[bot], @lukastaegert)
- #6017: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #6020: Make const reassignments only a warning (@lukastaegert)
- #6023: Throw descriptive error message for used export is not defined (@TrickyPi)
- #6027: feat: upgrade to NAPI-RS 3 stable (@Brooooooklyn)
- #6028: Update eslint-plugin-unicorn to resolve vulnerability (@lukastaegert)
- #6034: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
v4.45.1
v4.45.0
4.45.0
2025-07-12
Features
- Improve tree-shaking when both branches of a conditional expression return the same boolean value (#6000)
- In environments that support both CJS and ESM, prefer the ESM build of Rollup (#6005)
Bug Fixes
- Ensure static blocks do not prevent tree-shaking if they access
this
(#6001)
Pull Requests
- #6000: feat: improve get literal value for conditional expression (@ahabhgk, @lukastaegert)
- #6001: Correct the parent scope for static blocks (@TrickyPi, @lukastaegert)
- #6005: fix: export field order prefer esm (@DylanPiercey)
v4.44.2
4.44.2
2025-07-04
Bug Fixes
- Correctly handle
@__PURE__
annotations afternew
keyword (#5998) - Generate correct source mapping for closing braces of block statements (#5999)
Pull Requests
- #5998: Support
@__PURE__
when nested after new in constructor invocations (@TrickyPi) - #5999: Add location info for closing brace of block statement (@TrickyPi)
- #6002: chore(deps): update dependency vite to v7 (@renovate[bot], @lukastaegert)
- #6004: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
v4.44.1
4.44.1
2025-06-26
Bug Fixes
- Reinstate maxParallelFileOps limit of 1000 to resolve the issue for some (#5992)
Pull Requests
- #5988: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5992: Set maxParallelFileOps to 1000 (@lukastaegert)
v4.44.0
4.44.0
2025-06-19
Features
- Remove limit on
maxParallelFileOps
as this could break watch mode with the commonjs plugin (#5986)
Bug Fixes
- Provide better source mappings when coarse intermediate maps are used (#5985)
Pull Requests
- #5984: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5985: Improve approximation of coarse sourcemap segments (@TrickyPi)
- #5986: Remove limit on max parallel file ops (@lukastaegert)
v4.43.0
4.43.0
2025-06-11
Features
- Provide new
fs
option andthis.fs
API to replace file system (#5944)
Pull Requests
- #5944: feat(options): Add an option for overriding the file system module in the JS API (@EggDice, @lukastaegert)