Skip to content

Releases: rollup/rollup

v4.46.2

29 Jul 19:46
Compare
Choose a tag to compare

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

v4.46.1

28 Jul 04:49
Compare
Choose a tag to compare

4.46.1

2025-07-28

Bug Fixes

  • Do not fail when using the in operator on external namespaces (#6036)

Pull Requests

  • #6036: disables optimization for external namespace when using the in operator (@TrickyPi)

v4.46.0

27 Jul 06:53
Compare
Choose a tag to compare

4.46.0

2025-07-27

Features

  • Optimize in checks on namespaces to keep them treeshake-able (#6029)

Pull Requests

v4.45.3

26 Jul 13:42
Compare
Choose a tag to compare

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

v4.45.1

15 Jul 13:10
Compare
Choose a tag to compare

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)

v4.45.0

12 Jul 05:54
Compare
Choose a tag to compare

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

v4.44.2

04 Jul 12:57
Compare
Choose a tag to compare

4.44.2

2025-07-04

Bug Fixes

  • Correctly handle @__PURE__ annotations after new keyword (#5998)
  • Generate correct source mapping for closing braces of block statements (#5999)

Pull Requests

v4.44.1

26 Jun 04:35
Compare
Choose a tag to compare

4.44.1

2025-06-26

Bug Fixes

  • Reinstate maxParallelFileOps limit of 1000 to resolve the issue for some (#5992)

Pull Requests

v4.44.0

19 Jun 06:23
Compare
Choose a tag to compare

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

v4.43.0

11 Jun 05:23
Compare
Choose a tag to compare

4.43.0

2025-06-11

Features

  • Provide new fs option and this.fs API to replace file system (#5944)

Pull Requests