Native bindings for Rollup
Last release 2 days ago
25 Aug 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
216 releases · first in 2023
Release timeline
216 releases since 2023Releases
- 4.45.115 Jul 2025
Release notes
Open source →4.45.1
2025-07-15
Bug Fixes
- Resolve crash when using certain conditional expressions (#6009)
Pull Requests
- #6009: Add hasDeoptimizedCache flag for ConditionalExpression (@TrickyPi)
Additional notes
Open source →2025-07-15
Bug Fixes
- Resolve crash when using certain conditional expressions (#6009)
Pull Requests
- #6009: Add hasDeoptimizedCache flag for ConditionalExpression (@TrickyPi)
- 4.45.012 Jul 2025
Release notes
Open source →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
Additional notes
Open source →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
- 4.44.24 Jul 2025
Release notes
Open source →4.44.2
2025-07-04
Bug Fixes
- Correctly handle
@__PURE__annotations afternewkeyword (#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)
Additional notes
Open source →2025-07-04
Bug Fixes
- Correctly handle
@__PURE__annotations afternewkeyword (#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)
- Correctly handle
- 4.44.126 Jun 2025
Release notes
Open source →4.44.1
2025-06-26
Bug Fixes
- Reinstate maxParallelFileOps limit of 1000 to resolve the issue for some (#5992)
Pull Requests
Additional notes
Open source →2025-06-26
Bug Fixes
- Reinstate maxParallelFileOps limit of 1000 to resolve the issue for some (#5992)
Pull Requests
- 4.44.019 Jun 2025
Release notes
Open source →4.44.0
2025-06-19
Features
- Remove limit on
maxParallelFileOpsas 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
Additional notes
Open source →2025-06-19
Features
- Remove limit on
maxParallelFileOpsas 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
- Remove limit on
- 4.43.011 Jun 2025
Release notes
Open source →4.43.0
2025-06-11
Features
- Provide new
fsoption andthis.fsAPI 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)
Additional notes
Open source →2025-06-11
Features
- Provide new
fsoption andthis.fsAPI 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)
- Provide new
- 4.42.06 Jun 2025
Release notes
Open source →4.42.0
2025-06-06
Features
- Add option to allow the input to be located in the output in watch mode (#5966)
Pull Requests
- #5966: feat: watch mode add
allowInputInsideOutputPathoption (@btea, @lukastaegert)
Additional notes
Open source →2025-06-06
Features
- Add option to allow the input to be located in the output in watch mode (#5966)
Pull Requests
- #5966: feat: watch mode add
allowInputInsideOutputPathoption (@btea, @lukastaegert)
- 4.41.26 Jun 2025
Release notes
Open source →4.41.2
2025-06-06
Bug Fixes
- Detect named export usages in dynamic imports with
thenand non-arrow function expressions (#5977) - Do not replace usages of constant variables with their values for readability (#5968)
Pull Requests
- #5968: fix: preserve constant identifiers in unary expressions instead of magic numbers (@OmkarJ13, @lukastaegert)
- #5969: chore(deps): update dependency yargs-parser to v22 (@renovate[bot], @lukastaegert)
- #5970: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5971: chore(deps): lock file maintenance (@renovate[bot])
- #5976: Update README.md (@ftlno, @lukastaegert)
- #5977: fix: consider function expression in thenable when tree-shaking dynamic imports (@TrickyPi)
- #5981: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5982: Debug/fix watch pipeline (@lukastaegert)
Additional notes
Open source →2025-06-06
Bug Fixes
- Detect named export usages in dynamic imports with
thenand non-arrow function expressions (#5977) - Do not replace usages of constant variables with their values for readability (#5968)
Pull Requests
- #5968: fix: preserve constant identifiers in unary expressions instead of magic numbers (@OmkarJ13, @lukastaegert)
- #5969: chore(deps): update dependency yargs-parser to v22 (@renovate[bot], @lukastaegert)
- #5970: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5971: chore(deps): lock file maintenance (@renovate[bot])
- #5976: Update README.md (@ftlno, @lukastaegert)
- #5977: fix: consider function expression in thenable when tree-shaking dynamic imports (@TrickyPi)
- #5981: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5982: Debug/fix watch pipeline (@lukastaegert)
- Detect named export usages in dynamic imports with
- 4.41.124 May 2025
Release notes
Open source →4.41.1
2025-05-24
Bug Fixes
- If a plugin calls
this.resolvewithskipSelf: true, subsequent calls when handling this by the same plugin with same parameters will returnnullto avoid infinite recursions (#5945)
Pull Requests
Additional notes
Open source →2025-05-24
Bug Fixes
- If a plugin calls
this.resolvewithskipSelf: true, subsequent calls when handling this by the same plugin with same parameters will returnnullto avoid infinite recursions (#5945)
Pull Requests
- If a plugin calls
- 4.41.018 May 2025
Release notes
Open source →4.41.0
2025-05-18
Features
- Detect named exports in more dynamic import scenarios (#5954)
Pull Requests
- #5949: ci: use node 24 (@btea, @lukastaegert)
- #5951: chore(deps): update dependency pretty-bytes to v7 (@renovate[bot])
- #5952: fix(deps): update swc monorepo (major) (@renovate[bot], @lukastaegert)
- #5953: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5954: enhance tree-shaking for dynamic imports (@TrickyPi, @renovate[bot], @lukastaegert)
- #5957: chore(deps): update dependency lint-staged to v16 (@renovate[bot], @lukastaegert)
- #5958: fix(deps): update rust crate swc_compiler_base to v20 (@renovate[bot], @lukastaegert)
- #5959: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5960: Use spawn to run CLI tests (@lukastaegert)
Additional notes
Open source →2025-05-18
Features
- Detect named exports in more dynamic import scenarios (#5954)
Pull Requests
- #5949: ci: use node 24 (@btea, @lukastaegert)
- #5951: chore(deps): update dependency pretty-bytes to v7 (@renovate[bot])
- #5952: fix(deps): update swc monorepo (major) (@renovate[bot], @lukastaegert)
- #5953: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5954: enhance tree-shaking for dynamic imports (@TrickyPi, @renovate[bot], @lukastaegert)
- #5957: chore(deps): update dependency lint-staged to v16 (@renovate[bot], @lukastaegert)
- #5958: fix(deps): update rust crate swc_compiler_base to v20 (@renovate[bot], @lukastaegert)
- #5959: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5960: Use spawn to run CLI tests (@lukastaegert)
- 4.40.26 May 2025
Release notes
Open source →4.40.2
2025-05-06
Bug Fixes
- Create correct IIFE/AMD/UMD bundles when using a mutable default export (#5934)
- Fix execution order when using top-level await for dynamic imports with inlineDynamicImports (#5937)
- Throw when the output is watched in watch mode (#5939)
Pull Requests
- #5934: fix(exports): avoid "exports is not defined"
ReferenceError(@dasa) - #5937: consider TLA imports have higher execution priority (@TrickyPi)
- #5939: fix: watch mode input should not be an output subpath (@btea)
- #5940: chore(deps): update dependency vite to v6.3.4 [security] (@renovate[bot])
- #5941: chore(deps): update dependency eslint-plugin-unicorn to v59 (@renovate[bot])
- #5942: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5943: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
Additional notes
Open source →2025-05-06
Bug Fixes
- Create correct IIFE/AMD/UMD bundles when using a mutable default export (#5934)
- Fix execution order when using top-level await for dynamic imports with inlineDynamicImports (#5937)
- Throw when the output is watched in watch mode (#5939)
Pull Requests
- #5934: fix(exports): avoid "exports is not defined"
ReferenceError(@dasa) - #5937: consider TLA imports have higher execution priority (@TrickyPi)
- #5939: fix: watch mode input should not be an output subpath (@btea)
- #5940: chore(deps): update dependency vite to v6.3.4 [security] (@renovate[bot])
- #5941: chore(deps): update dependency eslint-plugin-unicorn to v59 (@renovate[bot])
- #5942: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5943: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- 4.40.128 Apr 2025
Release notes
Open source →4.40.1
2025-04-28
Bug Fixes
- Limit hash size for asset file names to the supported 21 (#5921)
- Do not inline user-defined entry chunks or chunks with explicit file name (#5923)
- Avoid top-level-await cycles when non-entry chunks use top-level await (#5930)
- Expose package.json via exports (#5931)
Pull Requests
- #5921: fix(assetFileNames): reduce max hash size to 21 (@shulaoda)
- #5923: fix: generate the separate chunk for the entry module with explicated chunk filename or name (@TrickyPi)
- #5926: fix(deps): update rust crate swc_compiler_base to v18 (@renovate[bot])
- #5927: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5928: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5930: Avoid chunks TLA dynamic import circular when TLA dynamic import used in non-entry modules (@TrickyPi)
- #5931: chore: add new
./package.jsonentry (@JounQin, @lukastaegert) - #5936: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
Additional notes
Open source →2025-04-28
Bug Fixes
- Limit hash size for asset file names to the supported 21 (#5921)
- Do not inline user-defined entry chunks or chunks with explicit file name (#5923)
- Avoid top-level-await cycles when non-entry chunks use top-level await (#5930)
- Expose package.json via exports (#5931)
Pull Requests
- #5921: fix(assetFileNames): reduce max hash size to 21 (@shulaoda)
- #5923: fix: generate the separate chunk for the entry module with explicated chunk filename or name (@TrickyPi)
- #5926: fix(deps): update rust crate swc_compiler_base to v18 (@renovate[bot])
- #5927: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5928: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5930: Avoid chunks TLA dynamic import circular when TLA dynamic import used in non-entry modules (@TrickyPi)
- #5931: chore: add new
./package.jsonentry (@JounQin, @lukastaegert) - #5936: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- 4.40.012 Apr 2025
Release notes
Open source →4.40.0
2025-04-12
Features
- Only show
evalwarnings on first render and only when the call is not tree-shaken (#5892) - Tree-shake non-included dynamic import members when the handler just maps to one named export (#5898)
Bug Fixes
- Consider dynamic imports nested within top-level-awaited dynamic import expressions to be awaited as well (#5900)
- Fix namespace rendering when tree-shaking is disabled (#5908)
- When using multiple transform hook filters, all of them need to be satisfied together (#5909)
Pull Requests
- #5892: Warn when eval or namespace calls are rendered, not when they are parsed (@SunsetFi, @lukastaegert)
- #5898: feat: treeshake dynamic import chained member expression (@privatenumber, @lukastaegert)
- #5900: consider the dynamic import within a TLA call expression as a TLA import (@TrickyPi)
- #5904: fix(deps): update swc monorepo (major) (@renovate[bot])
- #5905: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5908: Fix
treeshake: falsebreaking destructured namespace imports (@Skn0tt) - #5909: Correct the behavior when multiple transform filter options are specified (@sapphi-red)
- #5915: chore(deps): update dependency @types/picomatch to v4 (@renovate[bot])
- #5916: fix(deps): update rust crate swc_compiler_base to v17 (@renovate[bot])
- #5917: chore(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5918: chore(deps): update dependency vite to v6.2.6 [security] (@renovate[bot], @lukastaegert)
Additional notes
Open source →2025-04-12
Features
- Only show
evalwarnings on first render and only when the call is not tree-shaken (#5892) - Tree-shake non-included dynamic import members when the handler just maps to one named export (#5898)
Bug Fixes
- Consider dynamic imports nested within top-level-awaited dynamic import expressions to be awaited as well (#5900)
- Fix namespace rendering when tree-shaking is disabled (#5908)
- When using multiple transform hook filters, all of them need to be satisfied together (#5909)
Pull Requests
- #5892: Warn when eval or namespace calls are rendered, not when they are parsed (@SunsetFi, @lukastaegert)
- #5898: feat: treeshake dynamic import chained member expression (@privatenumber, @lukastaegert)
- #5900: consider the dynamic import within a TLA call expression as a TLA import (@TrickyPi)
- #5904: fix(deps): update swc monorepo (major) (@renovate[bot])
- #5905: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5908: Fix
treeshake: falsebreaking destructured namespace imports (@Skn0tt) - #5909: Correct the behavior when multiple transform filter options are specified (@sapphi-red)
- #5915: chore(deps): update dependency @types/picomatch to v4 (@renovate[bot])
- #5916: fix(deps): update rust crate swc_compiler_base to v17 (@renovate[bot])
- #5917: chore(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5918: chore(deps): update dependency vite to v6.2.6 [security] (@renovate[bot], @lukastaegert)
- Only show
- 4.39.02 Apr 2025
Release notes
Open source →4.39.0
2025-04-02
Features
- Do not create separate facade chunks if a chunk would contain several entry modules that allow export extension if there are no export name conflicts (#5891)
Bug Fixes
- Mark the
idproperty as optional in the filter for theresolveIdhook (#5896)
Pull Requests
Additional notes
Open source →2025-04-02
Features
- Do not create separate facade chunks if a chunk would contain several entry modules that allow export extension if there are no export name conflicts (#5891)
Bug Fixes
- Mark the
idproperty as optional in the filter for theresolveIdhook (#5896)
Pull Requests
- 4.38.029 Mar 2025
Release notes
Open source →4.38.0
2025-03-29
Features
- Support
.filteroption inresolveId,loadandtransformhooks (#5882)
Pull Requests
Additional notes
Open source →2025-03-29
Features
- Support
.filteroption inresolveId,loadandtransformhooks (#5882)
Pull Requests
- Support
- 4.37.023 Mar 2025
Release notes
Open source →4.37.0
2025-03-23
Features
- Support Musl Linux on Riscv64 architectures (#5726)
- Handles class decorators placed before the
exportkeyword (#5871)
Bug Fixes
- Log Rust panic messages to the console when using the WASM build (#5875)
Pull Requests
- #5726: Add support for linux riscv64 musl (@fossdd, @leso-kn)
- #5871: feat: support decorators before or after export (@TrickyPi)
- #5875: capture Rust panic messages and output them to the console. (@luyahan, @lukastaegert)
- #5883: Pin digest of 3rd party actions (@re-taro)
- #5885: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
Additional notes
Open source →2025-03-23
Features
- Support Musl Linux on Riscv64 architectures (#5726)
- Handles class decorators placed before the
exportkeyword (#5871)
Bug Fixes
- Log Rust panic messages to the console when using the WASM build (#5875)
Pull Requests
- #5726: Add support for linux riscv64 musl (@fossdd, @leso-kn)
- #5871: feat: support decorators before or after export (@TrickyPi)
- #5875: capture Rust panic messages and output them to the console. (@luyahan, @lukastaegert)
- #5883: Pin digest of 3rd party actions (@re-taro)
- #5885: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- 4.36.017 Mar 2025
Release notes
Open source →4.36.0
2025-03-17
Features
- Extend
renderDynamicImporthook to provide information about static dependencies of the imported module (#5870) - Export several additional types used by Vite (#5879)
Bug Fixes
- Do not merge chunks if that would create a top-level await cycle between chunks (#5843)
Pull Requests
- #5843: avoiding top level await circular (@TrickyPi, @lukastaegert)
- #5870: draft for extended renderDynamicImport hook (@iczero, @lukastaegert)
- #5876: Update axios overrides to 1.8.2 (@vadym-khodak)
- #5877: chore(deps): update dependency eslint-plugin-vue to v10 (@renovate[bot])
- #5878: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5879: fix: export types (@sxzz)
Additional notes
Open source →2025-03-17
Features
- Extend
renderDynamicImporthook to provide information about static dependencies of the imported module (#5870) - Export several additional types used by Vite (#5879)
Bug Fixes
- Do not merge chunks if that would create a top-level await cycle between chunks (#5843)
Pull Requests
- #5843: avoiding top level await circular (@TrickyPi, @lukastaegert)
- #5870: draft for extended renderDynamicImport hook (@iczero, @lukastaegert)
- #5876: Update axios overrides to 1.8.2 (@vadym-khodak)
- #5877: chore(deps): update dependency eslint-plugin-vue to v10 (@renovate[bot])
- #5878: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5879: fix: export types (@sxzz)
- Extend
- 4.35.08 Mar 2025
Release notes
Open source →4.35.0
2025-03-08
Features
- Pass build errors to the closeBundle hook (#5867)
Pull Requests
- #5852: chore(deps): update dependency eslint-plugin-unicorn to v57 (@renovate[bot], @lukastaegert)
- #5862: fix(deps): update swc monorepo (major) (@renovate[bot], @lukastaegert)
- #5867: feat(5858): make closeBundle hook receive the last error (@GauBen)
- #5872: chore(deps): update dependency builtin-modules to v5 (@renovate[bot])
- #5873: chore(deps): update uraimo/run-on-arch-action action to v3 (@renovate[bot])
- #5874: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
Additional notes
Open source →2025-03-08
Features
- Pass build errors to the closeBundle hook (#5867)
Pull Requests
- #5852: chore(deps): update dependency eslint-plugin-unicorn to v57 (@renovate[bot], @lukastaegert)
- #5862: fix(deps): update swc monorepo (major) (@renovate[bot], @lukastaegert)
- #5867: feat(5858): make closeBundle hook receive the last error (@GauBen)
- #5872: chore(deps): update dependency builtin-modules to v5 (@renovate[bot])
- #5873: chore(deps): update uraimo/run-on-arch-action action to v3 (@renovate[bot])
- #5874: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- 4.34.91 Mar 2025
Release notes
Open source →4.34.9
2025-03-01
Bug Fixes
- Support JSX modes in WASM (#5866)
- Allow the CustomPluginOptions to be extended (#5850)
Pull Requests
- #5850: Revert CustomPluginOptions to be an interface (@sapphi-red, @lukastaegert)
- #5851: Javascript to JavaScript (@dasa, @lukastaegert)
- #5853: chore(deps): update dependency pinia to v3 (@renovate[bot])
- #5854: fix(deps): update swc monorepo (major) (@renovate[bot])
- #5855: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5860: chore(deps): update dependency @shikijs/vitepress-twoslash to v3 (@renovate[bot])
- #5861: chore(deps): update dependency globals to v16 (@renovate[bot])
- #5863: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5864: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5866: Add jsx parameter to parseAsync in native.wasm.js (@TrickyPi)
Additional notes
Open source →2025-03-01
Bug Fixes
- Support JSX modes in WASM (#5866)
- Allow the CustomPluginOptions to be extended (#5850)
Pull Requests
- #5850: Revert CustomPluginOptions to be an interface (@sapphi-red, @lukastaegert)
- #5851: Javascript to JavaScript (@dasa, @lukastaegert)
- #5853: chore(deps): update dependency pinia to v3 (@renovate[bot])
- #5854: fix(deps): update swc monorepo (major) (@renovate[bot])
- #5855: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5860: chore(deps): update dependency @shikijs/vitepress-twoslash to v3 (@renovate[bot])
- #5861: chore(deps): update dependency globals to v16 (@renovate[bot])
- #5863: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5864: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5866: Add jsx parameter to parseAsync in native.wasm.js (@TrickyPi)
- 4.34.817 Feb 2025
Release notes
Open source →4.34.8
2025-02-17
Bug Fixes
- Do not make assumptions about the value of nested paths in logical expressions if the expression cannot be simplified (#5846)
Pull Requests
- #5846: return UnknownValue if the usedbranch is unkown and the path is not empty (@TrickyPi)
Additional notes
Open source →2025-02-17
Bug Fixes
- Do not make assumptions about the value of nested paths in logical expressions if the expression cannot be simplified (#5846)
Pull Requests
- #5846: return UnknownValue if the usedbranch is unkown and the path is not empty (@TrickyPi)
- 4.34.714 Feb 2025
Release notes
Open source →4.34.7
2025-02-14
Bug Fixes
- Ensure that calls to parameters are included correctly when using try-catch deoptimization (#5842)
Pull Requests
Additional notes
Open source →2025-02-14
Bug Fixes
- Ensure that calls to parameters are included correctly when using try-catch deoptimization (#5842)
Pull Requests
- 4.34.67 Feb 2025
Release notes
Open source →4.34.6
2025-02-07
Bug Fixes
- Retain "void 0" in the output for smaller output and fewer surprises (#5838)
Pull Requests
Additional notes
Open source →2025-02-07
Bug Fixes
- Retain "void 0" in the output for smaller output and fewer surprises (#5838)
Pull Requests
- 4.34.57 Feb 2025
Release notes
Open source →4.34.5
2025-02-07
Bug Fixes
- Ensure namespace reexports always include all properties of all exports (#5837)
Pull Requests
Additional notes
Open source →2025-02-07
Bug Fixes
- Ensure namespace reexports always include all properties of all exports (#5837)
Pull Requests
- 4.34.45 Feb 2025
Release notes
Open source →4.34.4
2025-02-05
Bug Fixes
- Do not tree-shake properties if a rest element is used in destructuring (#5833)
Pull Requests
- #5833: include all properties if a rest element is destructed (@TrickyPi)
Additional notes
Open source →2025-02-05
Bug Fixes
- Do not tree-shake properties if a rest element is used in destructuring (#5833)
Pull Requests
- #5833: include all properties if a rest element is destructed (@TrickyPi)
- 4.34.35 Feb 2025
Release notes
Open source →4.34.3
2025-02-05
Bug Fixes
- Ensure properties of "this" are included in getters (#5831)
Pull Requests
- #5831: include the properties that accessed by this (@TrickyPi)
Additional notes
Open source →2025-02-05
Bug Fixes
- Ensure properties of "this" are included in getters (#5831)
Pull Requests
- #5831: include the properties that accessed by this (@TrickyPi)
- 4.34.24 Feb 2025
Release notes
Open source →4.34.2
2025-02-04
Bug Fixes
- Fix an issue where not all usages of a function were properly detected (#5827)
Pull Requests
- #5827: Ensure that functions provided to a constructor are properly deoptimized (@lukastaegert)
Additional notes
Open source →2025-02-04
Bug Fixes
- Fix an issue where not all usages of a function were properly detected (#5827)
Pull Requests
- #5827: Ensure that functions provided to a constructor are properly deoptimized (@lukastaegert)
- 4.34.13 Feb 2025
Release notes
Open source →4.34.1
2025-02-03
Bug Fixes
- Ensure throwing objects includes the entire object (#5825)
Pull Requests
- #5825: Ensure that all properties of throw statements are included (@lukastaegert)
Additional notes
Open source →2025-02-03
Bug Fixes
- Ensure throwing objects includes the entire object (#5825)
Pull Requests
- #5825: Ensure that all properties of throw statements are included (@lukastaegert)
- 4.34.01 Feb 2025
Release notes
Open source →4.34.0
2025-02-01
Features
- Tree-shake unused properties in object literals (re-implements #5420) (#5737)
Pull Requests
- #5737: Reapply object tree-shaking (@lukastaegert, @TrickyPi)
Additional notes
Open source →2025-02-01
Features
- Tree-shake unused properties in object literals (re-implements #5420) (#5737)
Pull Requests
- #5737: Reapply object tree-shaking (@lukastaegert, @TrickyPi)
- 4.33.01 Feb 2025
Release notes
Open source →4.33.0
2025-02-01
Features
- Correctly detect literal value of more negated expressions (#5812)
Bug Fixes
- Use the correct with/assert attribute key in dynamic imports (#5818)
- Fix an issue where logical expressions were considered to have the wrong value (#5819)
Pull Requests
- #5812: feat: optimize the literal value of unary expressions (@TrickyPi)
- #5816: fix(deps): update swc monorepo (major) (@renovate[bot], @lukastaegert)
- #5817: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5818: support for changing the attributes key for dynamic imports (@TrickyPi)
- #5819: Return UnknownValue if getLiteralValueAtPath is called recursively within logical expressions (@TrickyPi)
- #5820: return null (@kingma-sbw)
Additional notes
Open source →2025-02-01
Features
- Correctly detect literal value of more negated expressions (#5812)
Bug Fixes
- Use the correct with/assert attribute key in dynamic imports (#5818)
- Fix an issue where logical expressions were considered to have the wrong value (#5819)
Pull Requests
- #5812: feat: optimize the literal value of unary expressions (@TrickyPi)
- #5816: fix(deps): update swc monorepo (major) (@renovate[bot], @lukastaegert)
- #5817: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5818: support for changing the attributes key for dynamic imports (@TrickyPi)
- #5819: Return UnknownValue if getLiteralValueAtPath is called recursively within logical expressions (@TrickyPi)
- #5820: return null (@kingma-sbw)
- 4.33.0-028 Jan 2025pre-release
Nothing published for this version
- 4.32.128 Jan 2025
Release notes
Open source →4.32.1
2025-01-28
Bug Fixes
- Fix possible crash when optimizing logical expressions (#5804)
Pull Requests
Additional notes
Open source →2025-01-28
Bug Fixes
- Fix possible crash when optimizing logical expressions (#5804)
Pull Requests
- 4.32.024 Jan 2025
Release notes
Open source →4.32.0
2025-01-24
Features
- Add watch.onInvalidate option to trigger actions immediately when a file is changed (#5799)
Bug Fixes
- Fix incorrect urls in CLI warnings (#5809)
Pull Requests
- #5799: Feature/watch on invalidate (@drebrez, @lukastaegert)
- #5808: chore(deps): update dependency vite to v6.0.9 [security] (@renovate[bot])
- #5809: fix: avoid duplicate rollupjs.org prefix (@GauBen, @lukastaegert)
- #5810: chore(deps): update dependency @shikijs/vitepress-twoslash to v2 (@renovate[bot])
- #5811: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
Additional notes
Open source →2025-01-24
Features
- Add watch.onInvalidate option to trigger actions immediately when a file is changed (#5799)
Bug Fixes
- Fix incorrect urls in CLI warnings (#5809)
Pull Requests
- #5799: Feature/watch on invalidate (@drebrez, @lukastaegert)
- #5808: chore(deps): update dependency vite to v6.0.9 [security] (@renovate[bot])
- #5809: fix: avoid duplicate rollupjs.org prefix (@GauBen, @lukastaegert)
- #5810: chore(deps): update dependency @shikijs/vitepress-twoslash to v2 (@renovate[bot])
- #5811: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- 4.31.019 Jan 2025
Release notes
Open source →4.31.0
2025-01-19
Features
- Do not immediately quit when trying to use watch mode from within non-TTY environments (#5803)
Bug Fixes
- Handle files with more than one UTF-8 BOM header (#5806)
Pull Requests
- #5792: fix(deps): update rust crate swc_compiler_base to v8 (@renovate[bot])
- #5793: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5794: chore(deps): lock file maintenance (@renovate[bot])
- #5801: chore(deps): update dependency eslint-config-prettier to v10 (@renovate[bot])
- #5802: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5803: Support watch mode in yarn, gradle and containers (@lukastaegert)
- #5806: fix: strip all BOMs (@TrickyPi)
Additional notes
Open source →2025-01-19
Features
- Do not immediately quit when trying to use watch mode from within non-TTY environments (#5803)
Bug Fixes
- Handle files with more than one UTF-8 BOM header (#5806)
Pull Requests
- #5792: fix(deps): update rust crate swc_compiler_base to v8 (@renovate[bot])
- #5793: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5794: chore(deps): lock file maintenance (@renovate[bot])
- #5801: chore(deps): update dependency eslint-config-prettier to v10 (@renovate[bot])
- #5802: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5803: Support watch mode in yarn, gradle and containers (@lukastaegert)
- #5806: fix: strip all BOMs (@TrickyPi)
- 4.31.0-014 Jan 2025pre-release
Nothing published for this version
- 4.30.17 Jan 2025
Release notes
Open source →4.30.1
2025-01-07
Bug Fixes
- Prevent invalid code when simplifying unary expressions in switch cases (#5786)
Pull Requests
- #5786: fix: consider that literals cannot following switch case. (@TrickyPi)
Additional notes
Open source →2025-01-07
Bug Fixes
- Prevent invalid code when simplifying unary expressions in switch cases (#5786)
Pull Requests
- #5786: fix: consider that literals cannot following switch case. (@TrickyPi)
- 4.30.06 Jan 2025
Release notes
Open source →4.30.0
2025-01-06
Features
- Inline values of resolvable unary expressions for improved tree-shaking (#5775)
Pull Requests
Additional notes
Open source →2025-01-06
Features
- Inline values of resolvable unary expressions for improved tree-shaking (#5775)
Pull Requests
- 4.30.0-130 Dec 2024pre-release
Nothing published for this version
- 4.30.0-021 Dec 2024pre-release
Nothing published for this version
- 4.29.25 Jan 2025
Release notes
Open source →4.29.2
2025-01-05
Bug Fixes
- Keep import attributes when using dynamic ESM
import()expressions from CommonJS (#5781)
Pull Requests
Additional notes
Open source →2025-01-05
Bug Fixes
- Keep import attributes when using dynamic ESM
import()expressions from CommonJS (#5781)
Pull Requests
- Keep import attributes when using dynamic ESM
- 4.29.121 Dec 2024
Release notes
Open source →4.29.1
2024-12-21
Bug Fixes
- Fix crash from deoptimized logical expressions (#5771)
Pull Requests
Additional notes
Open source →2024-12-21
Bug Fixes
- Fix crash from deoptimized logical expressions (#5771)
Pull Requests
- 4.29.020 Dec 2024
Release notes
Open source →4.29.0
2024-12-20
Features
- Treat objects as truthy and always check second argument to better simplify logical expressions (#5763)
Pull Requests
- #5759: docs: add utf-8 encoding to JSON file reading (@chouchouji)
- #5760: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5763: fix: introduce UnknownFalsyValue for enhancing if statement tree-shaking (@TrickyPi)
- #5766: chore(deps): update dependency @rollup/plugin-node-resolve to v16 (@renovate[bot])
- #5767: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
Additional notes
Open source →2024-12-20
Features
- Treat objects as truthy and always check second argument to better simplify logical expressions (#5763)
Pull Requests
- #5759: docs: add utf-8 encoding to JSON file reading (@chouchouji)
- #5760: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5763: fix: introduce UnknownFalsyValue for enhancing if statement tree-shaking (@TrickyPi)
- #5766: chore(deps): update dependency @rollup/plugin-node-resolve to v16 (@renovate[bot])
- #5767: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- 4.29.0-220 Dec 2024pre-release
Nothing published for this version
- 4.29.0-119 Dec 2024pre-release
Nothing published for this version
- 4.29.0-016 Dec 2024pre-release
Nothing published for this version
- 4.28.16 Dec 2024
Release notes
Open source →4.28.1
2024-12-06
Bug Fixes
- Support running Rollup natively on LoongArch (#5749)
- Add optional
debugIdtoSourceMaptypes (#5751)
Pull Requests
- #5749: feat: add support for LoongArch (@darkyzhou)
- #5751: feat: Add
debugIdtoSourceMaptypes (@timfish, @lukastaegert) - #5752: chore(deps): update dependency mocha to v11 (@renovate[bot])
- #5753: chore(deps): update dependency vite to v6 (@renovate[bot])
- #5754: fix(deps): update swc monorepo (major) (@renovate[bot])
- #5755: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5756: Test if saving the Cargo cache can speed up FreeBSD (@lukastaegert)
Additional notes
Open source →2024-12-06
Bug Fixes
- Support running Rollup natively on LoongArch (#5749)
- Add optional
debugIdtoSourceMaptypes (#5751)
Pull Requests
- #5749: feat: add support for LoongArch (@darkyzhou)
- #5751: feat: Add
debugIdtoSourceMaptypes (@timfish, @lukastaegert) - #5752: chore(deps): update dependency mocha to v11 (@renovate[bot])
- #5753: chore(deps): update dependency vite to v6 (@renovate[bot])
- #5754: fix(deps): update swc monorepo (major) (@renovate[bot])
- #5755: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5756: Test if saving the Cargo cache can speed up FreeBSD (@lukastaegert)
- 4.28.030 Nov 2024
Release notes
Open source →4.28.0
2024-11-30
Features
- Allow to specify how to handle import attributes when transpiling Rollup config files (#5743)
Pull Requests
Additional notes
Open source →2024-11-30
Features
- Allow to specify how to handle import attributes when transpiling Rollup config files (#5743)
Pull Requests
- 4.27.423 Nov 2024
Release notes
Open source →4.27.4
2024-11-23
Bug Fixes
- Update bundled magic-string to support sourcemap debug ids (#5740)
Pull Requests
- #5740: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
Additional notes
Open source →2024-11-23
Bug Fixes
- Update bundled magic-string to support sourcemap debug ids (#5740)
Pull Requests
- #5740: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- 4.27.318 Nov 2024
Release notes
Open source →4.27.3
2024-11-18
Bug Fixes
- Revert object property tree-shaking for now (#5736)
Pull Requests
- #5736: Revert object tree-shaking until some issues have been resolved (@lukastaegert)
Additional notes
Open source →2024-11-18
Bug Fixes
- Revert object property tree-shaking for now (#5736)
Pull Requests
- #5736: Revert object tree-shaking until some issues have been resolved (@lukastaegert)
- 4.27.215 Nov 2024
Release notes
Open source →4.27.2
2024-11-15
Bug Fixes
- Ensure unused variables in patterns are always deconflicted if rendered (#5728)
Pull Requests
- #5728: Fix more variable deconflicting issues (@lukastaegert)
Additional notes
Open source →2024-11-15
Bug Fixes
- Ensure unused variables in patterns are always deconflicted if rendered (#5728)
Pull Requests
- #5728: Fix more variable deconflicting issues (@lukastaegert)
- 4.27.115 Nov 2024
Release notes
Open source →4.27.1
2024-11-15
Bug Fixes
- Fix some situations where parameter declarations could put Rollup into an infinite loop (#5727)
Pull Requests
- #5727: Debug out-of-memory issues with Rollup v4.27.0 (@lukastaegert)
Additional notes
Open source →2024-11-15
Bug Fixes
- Fix some situations where parameter declarations could put Rollup into an infinite loop (#5727)
Pull Requests
- #5727: Debug out-of-memory issues with Rollup v4.27.0 (@lukastaegert)
- 4.27.1-115 Nov 2024pre-release
Nothing published for this version
- 4.27.1-015 Nov 2024pre-release
Nothing published for this version
- 4.27.015 Nov 2024
Release notes
Open source →4.27.0
2024-11-15
Features
- Tree-shake unused properties in object literals (#5420)
Bug Fixes
- Change hash length limit to 21 to avoid inconsistent hash length (#5423)
Pull Requests
Additional notes
Open source →2024-11-15
Features
- Tree-shake unused properties in object literals (#5420)
Bug Fixes
- Change hash length limit to 21 to avoid inconsistent hash length (#5423)
Pull Requests
- 4.27.0-114 Nov 2024pre-release
Nothing published for this version
- 4.27.0-013 Nov 2024pre-release
Nothing published for this version
- 4.26.013 Nov 2024
Release notes
Open source →4.26.0
2024-11-13
Features
- Allow to avoid
await bundle.close()via explicit resource management in TypeScript (#5721)
Pull Requests
- #5721: feat: support
usingforRollupBuild(@shulaoda)
Additional notes
Open source →2024-11-13
Features
- Allow to avoid
await bundle.close()via explicit resource management in TypeScript (#5721)
Pull Requests
- #5721: feat: support
usingforRollupBuild(@shulaoda)
- Allow to avoid
- 4.25.09 Nov 2024
Release notes
Open source →4.25.0
2024-11-09
Features
- Add
output.sourcemapDebugIdsoption to add matching debug ids to sourcemaps and code for tools like Sentry or Rollbar (#5712)
Bug Fixes
- Make it easier to manually reproduce base16 hashes by using a more standard base16 conversion algorithm (#5719)
Pull Requests
Additional notes
Open source →2024-11-09
Features
- Add
output.sourcemapDebugIdsoption to add matching debug ids to sourcemaps and code for tools like Sentry or Rollbar (#5712)
Bug Fixes
- Make it easier to manually reproduce base16 hashes by using a more standard base16 conversion algorithm (#5719)
Pull Requests
- Add
- 4.25.0-029 Oct 2024pre-release
Nothing published for this version
- 4.24.44 Nov 2024
Release notes
Open source →4.24.4
2024-11-04
Bug Fixes
- Ensure mutations by handlers in Proxy definitions are always respected when tree-shaking (#5713)
Pull Requests
Additional notes
Open source →2024-11-04
Bug Fixes
- Ensure mutations by handlers in Proxy definitions are always respected when tree-shaking (#5713)
Pull Requests
- 4.24.329 Oct 2024
Release notes
Open source →4.24.3
2024-10-29
Bug Fixes
- Slightly reduce memory consumption by specifying fixed array sizes where possible (#5703)
Pull Requests
- #5703: perf: use pre-allocated arrays for known result sizes (@GalacticHypernova)
Additional notes
Open source →2024-10-29
Bug Fixes
- Slightly reduce memory consumption by specifying fixed array sizes where possible (#5703)
Pull Requests
- #5703: perf: use pre-allocated arrays for known result sizes (@GalacticHypernova)