esbuild
0.28.2 · 8 Aug 2026MIT443.2M / weekRepositoryHomepagenpmAtom feed
Upgrading esbuild From 0.19.4 to 0.25.0
24 releases in betweenevery note read
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
Security
Fixes 1 advisory affecting 0.19.4
- esbuild enables any website to send any requests to the development server and read the responsemoderate · GHSA-67mh-4wv8-2f99
- 0.25.0
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.
Release by release
- 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
definevalues - New
Allow passing a port of 0 to the development server
- Security
- New
Allow
es2024as a target intsconfig.json - New
Allow automatic semicolon insertion after
get/set - New
Allow quoted property names in
--defineand--pure - Fixed
Avoid using the parent directory name for determinism
- New
- Breaking
Drop support for older platforms
- Fixed
Fix class field decorators in TypeScript if
useDefineForClassFieldsisfalse - Fixed
Avoid incorrect cycle warning with
tsconfig.jsonmultiple inheritance - Fixed
Handle Yarn Plug'n'Play stack overflow with
tsconfig.json
- Breaking
- New
Allow using the
node:import prefix withes*targets - Fixed
Fix a panic when using the CLI with invalid build flags if
--analyzeis present - Fixed
Fix incorrect location of certain error messages
- Fixed
Fix a memory leak with
pluginData
- New
- Fixed
Fix preserving collapsed JSX whitespace
- Fixed
- Breaking
This breaking change is an experiment.
- New
Allow
es2024as a target environment - New
Add a new Go API for running the CLI with plugins
- Breaking
- New
Allow unknown import attributes to be used with the
copyloader - New
Support import attributes with glob-style imports
- New
Support
${configDir}intsconfig.jsonfiles - Fixed
Fix
Symbol.metadataon classes without a class decorator - Fixed
Fix internal error with
--supported:object-accessors=false
- New
48 other lines we could not sort, mostly version bumps
- 0.25.0
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
consoleAPI dropping works - 0.25.0
Better minification of statically-determined
switchcases - 0.25.0
Emit
/* @__KEY__ */for string literals derived from property names - 0.25.0
The
textloader now strips the UTF-8 BOM if present - 0.25.0
Omit legal comment output files when empty
- 0.25.0
- 0.25.0
Minification now avoids inlining constants with direct
eval - 0.24.1
Minify empty
try/catch/finallyblocks
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.