Packages

rollup

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

Upgrading rollup From 4.54.0 to 4.68.5

54 releases in betweenevery note read

Other targets from 4.54.0Newest 4.x4.68.8Clears its advisory4.59.0
  1. 4.54.0yours
  2. 13 releases
  3. 4.60.4security
  4. 39 releases
  5. 4.68.5target

Before you upgrade

Tick each one off as you go
  • Deprecated4.57.0

Security

Fixes 1 advisory affecting 4.54.0

  • Resolve vulnerabilities

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

77 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

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