Packages

rollup

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

Upgrading rollup From 3.7.5 to 3.30.0

63 releases in betweenevery note read

Other targets from 3.7.5Latest4.68.5
  1. 3.7.5yours
  2. 4 releases
  3. 3.10.0breaking
  4. 56 releases
  5. 3.29.5security
  6. 3.30.0target

Before you upgrade

Tick each one off as you go
  • Breaking3.10.0
  • Deprecated3.17.0

Security

Fixes 2 advisories affecting 3.7.5

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

    3.29.5

Release by release

  1. 3.30.0

    22 Feb 20261 new
    • New

      Throw when the generated bundle contains paths that would leave the output directory

  2. 3.29.5

    Security fix21 Sep 20241 fix
    • Security

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

    • Fixed

      Fix DOM Clobbering CVE

  3. 3.29.4

    28 Sep 20231 fix
    • Fixed

      Fix static analysis when an exported function uses callbacks

  4. 3.29.3

    24 Sep 20231 fix
    • Fixed

      Fix a bug where code was wrongly tree-shaken after mutating function parameters

  5. 3.29.2

    15 Sep 20232 fixes
    • Fixed

      Export TreeshakingPreset type

    • Fixed

      Exports TreeshakingPreset

  6. 3.29.1

    10 Sep 20234 fixes
    • Fixed

      Fix time measurement of plugin hooks in watch mode

    • Fixed

      Ensure accessing document.currentScript in import.meta.url returns correct results

    • Fixed

      perf: Avoid superfluous timer wrappings in watch mode

    • Fixed

      Access document.currentScript at the top level

  7. 3.29.0

    6 Sep 20234 new · 1 fix
    • New

      Add output.sourcemapFileNames option

    • New

      Add generic type parameter for api to Plugin type

    • New

      Added option to name sourcemap files, i.e. a output.sourcemapFileName…

    • New

      types: Add generic type for plugin api

    • Fixed

      Ensure mutations of CustomEvent details are tracked

  8. 3.28.1

    22 Aug 20232 fixes
    • Fixed

      Ensure external files with relative import paths outside the target are rendered correctly

    • Fixed

      Fix resolution of relative external files outside target directory

47 other lines we could not sort, mostly version bumps
  • Validate bundle stays within output dir

    3.30.0
  • Deoptimize all parameters when losing track of a function

    3.29.4
  • Fully deoptimize first level path when deoptimizing nested parameter paths

    3.29.3
  • re-enbale repl-artefacts workflow for rollup-swc branch

    3.29.1
  • Deoptimize custom event detail

    3.29.0
  • Revert perf(sourcemap): lazy compute decoded mappings

    3.27.2
  • Safe hasOwnProperty call

    3.26.1
  • Better workflow caching

    3.23.1
  • Properly quit on uncaught exceptions

    3.21.7
  • Keep leading comments on consecutive lines

    3.21.5

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