Packages

esbuild

0.28.2 · 8 Aug 2026MIT443.2M / weekRepositoryHomepagenpmAtom feed

Upgrading esbuild From 0.16.17 to 0.25.0

70 releases in betweenevery note read

Other targets from 0.16.17Newest 0.x, Latest0.28.2
  1. 0.16.17yours
  2. 0.17.0major
  3. 19 releases
  4. 0.18.0major
  5. 20 releases
  6. 0.19.0major
  7. 12 releases
  8. 0.20.0major
  9. 2 releases
  10. 0.21.0major
  11. 5 releases
  12. 0.22.0major
  13. 0.23.0major
  14. 1 release
  15. 0.24.0major
  16. 2 releases
  17. 0.25.0target

Before you upgrade

Tick each one off as you go
  • Breaking0.24.0
  • Breaking0.22.0
  • Breaking0.21.0
  • Breaking0.20.0
  • Breaking0.20.0
  • Breaking0.19.7
  • Breaking0.18.0
  • Breaking0.18.0
  • Breaking0.17.6
  • Breaking0.17.0

Security

Fixes 1 advisory affecting 0.16.17

  • Restrict access to esbuild's development server (GHSA-67mh-4wv8-2f99)

    0.25.0
  • It may remove certain reports from vulnerability scanners that detect which version of the Go compiler esbuild uses.

    0.25.0

Release by release

  1. 0.25.0

    Security fix8 Feb 20252 new · 6 fixes
    • Security

      Restrict access to esbuild's development server (GHSA-67mh-4wv8-2f99)

    • Security

      It may remove certain reports from vulnerability scanners that detect which version of the Go compiler esbuild uses.

    • New

      Allow BigInt literals as define values

    • New

      Allow passing a port of 0 to the development server

  2. 0.24.2

    20 Dec 20241 fix
  3. 0.24.1

    20 Dec 20243 new · 1 fix
    • New

      Allow es2024 as a target in tsconfig.json

    • New

      Allow automatic semicolon insertion after get/set

    • New

      Allow quoted property names in --define and --pure

    • Fixed

      Avoid using the parent directory name for determinism

  4. 0.24.0

    Migration needed22 Sep 20243 fixes
    • Breaking

      Drop support for older platforms

    • Fixed

      Fix class field decorators in TypeScript if useDefineForClassFields is false

    • Fixed

      Avoid incorrect cycle warning with tsconfig.json multiple inheritance

    • Fixed

      Handle Yarn Plug'n'Play stack overflow with tsconfig.json

  5. 0.23.1

    16 Aug 20241 new · 3 fixes
    • New

      Allow using the node: import prefix with es* targets

    • Fixed

      Fix a panic when using the CLI with invalid build flags if --analyze is present

    • Fixed

      Fix incorrect location of certain error messages

    • Fixed

      Fix a memory leak with pluginData

  6. 0.23.0

    2 Jul 20241 fix
    • Fixed

      Fix preserving collapsed JSX whitespace

  7. 0.22.0

    Migration needed30 Jun 20242 new
    • Breaking

      This breaking change is an experiment.

    • New

      Allow es2024 as a target environment

    • New

      Add a new Go API for running the CLI with plugins

  8. 0.21.5

    9 Jun 20243 new · 2 fixes
    • New

      Allow unknown import attributes to be used with the copy loader

    • New

      Support import attributes with glob-style imports

    • New

      Support ${configDir} in tsconfig.json files

    • Fixed

      Fix Symbol.metadata on classes without a class decorator

    • Fixed

      Fix internal error with --supported:object-accessors=false

111 other lines we could not sort, mostly version bumps
  • Delete output files when a build fails in watch mode

    0.25.0
  • Transform BigInt values into constructor calls when unsupported

    0.25.0
  • Change how console API dropping works

    0.25.0
  • Better minification of statically-determined switch cases

    0.25.0
  • Emit /* @__KEY__ */ for string literals derived from property names

    0.25.0
  • The text loader now strips the UTF-8 BOM if present

    0.25.0
  • Omit legal comment output files when empty

    0.25.0
  • Update Go from 1.23.1 to 1.23.5 (#4056, #4057)

    0.25.0
  • Minification now avoids inlining constants with direct eval

    0.25.0
  • Minify empty try/catch/finally blocks

    0.24.1

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