Packages

rollup

4.68.5 · 17 Nov 2026MIT170.6M / weekRepositoryHomepagenpmAtom feed

Upgrading rollup From 1.29.1 to 4.68.5

504 releases in betweennotes for 499

Other targets from 1.29.1Newest 1.x1.32.1Clears its 2 advisories2.80.0
  1. 1.29.1yours
  2. 6 releases
  3. 2.0.0major
  4. 216 releases
  5. 3.0.0major
  6. 82 releases
  7. 4.0.0major
  8. 61 releases
  9. 4.22.4security
  10. 53 releases
  11. 4.45.3security
  12. 40 releases
  13. 4.60.4security
  14. 39 releases
  15. 4.68.5target
  16. 36 pre
94+
changes to make
2
advisories fixed
510+
new
820+
fixes

Counted from 499 of 504 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0

Security

Fixes 2 advisories affecting 1.29.1

  • Resolve vulnerabilities

    4.60.4
  • Update eslint-plugin-unicorn to resolve vulnerability

    4.45.3
  • Fix a vulnerability in generated code that affects IIFE, UMD and CJS bundles when run in a browser context

    4.22.4

Release by release

  1. 4.68.5

    17 Nov 20262 fixes
    • Fixed

      Improve handling of repeated file updates in watch mode for Linux and Windows

    • Fixed

      Properly handle this in JSX member expressions

  2. 4.68.4

    16 Nov 20263 fixes
    • Fixed

      Ensure that mutations of arguments to certain global methods are respected in analysis

    • Fixed

      Ensure dynamic imports resolution via plugin is handled equivalently to regular dynamic imports

    • Fixed

      Fix resolution info for dynamic imports resolved by plugins (@TrickyPi, @lukastaegert)

  3. 4.68.3

    13 Nov 20263 fixes
    • Fixed

      Fix generated code in non-ESM formats for assignments and exported declarations in loops and single-statement bodies

    • Fixed

      Ensure rollup does not make assumptions about the contents of an array where the length has been reassigned

    • Fixed

      Fix system format updates for destructuring and for-loop assignments (@rome-xi, @lukastaegert)

  4. 4.68.2

    9 Nov 20261 fix
    • Fixed

      Fail if generated file names would write outside the target directory using Windows drive-relative paths

  5. 4.68.1

    9 Nov 20264 fixes
    • Fixed

      Improve namespace object generation in cyclic imports

    • Fixed

      Warn about deleting or reassigning namespace members but make those operations catchable runtime errors

    • Fixed

      Do not generate invalid code for non-esm output when exporting destructing declarations with defaults

    • Fixed

      Fix invalid output for exported destructuring declarations with defaults (@trleo, @lukastaegert)

  6. 4.68.0

    6 Nov 20263 new · 3 fixes
    • New

      Use the directory name instead of "index" for dynamic chunks of index.js files

    • New

      Support tree-shaking of namespace members through default exports

    • New

      Use cached sourcemaps if available when reading cached files

    • Fixed

      No longer confuse import names starting with a literal "*" with internal namespace import placeholders

    • Fixed

      Resolve a situation where a shared module accessed through different dynamic imports was wrongly merged into the first

    • Fixed

      Do not decode cached sourcemaps again when reusing cached modules (@Ice-Hazymoon, @lukastaegert)

  7. 4.67.5

    4 Nov 20264 fixes
    • Fixed

      Do not ignore output.sourcemapFile when the output.file option is not used

    • Fixed

      Change chunk hash when debug IDs are enabled/disabled

    • Fixed

      Avoid an unnecessary optional dependency on Linux system

    • Fixed

      Do not publish the build-only @napi-rs/lzma-linux-x64-gnu optional dependency (@christophehurpeau, @lukastaegert)

  8. 4.67.4

    1 Nov 20261 fix
    • Fixed

      Make rollup work again on older Xeon processors

487 other lines we could not sort, mostly version bumps
  • Rebuild with the latest content when a watched file changes in quick succession (@privatenumber, @lukastaegert)

    4.68.5
  • Keep this in JSX member expressions (@luantaraschi, @lukastaegert)

    4.68.5
  • Migrate Renovate config

    4.68.5
  • Deoptimize arguments that known globals expose via their return value

    4.68.4
  • Document base URL caveats for emitted file URLs

    4.68.4
  • Deoptimize array elements when the length is assigned (@waw666waw666, @lukastaegert)

    4.68.3
  • Update minor/patch updates

    4.68.3
  • Update minor/patch updates (@renovate[bot], @lukastaegert)

    4.68.3
  • Reject Windows drive-relative output file names

    4.68.2
  • List --interop modes in CLI help instead of --no-interop (@ZainnQureshii, @lukastaegert)

    4.68.1

500 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.