esbuild breaking changes

npm

7 curated breaking changes across major versions of esbuild. Use this as a migration checklist before bumping dependencies.

7
changes
Breaking changes by transition
  • 0.27.7 \u2192 0.28.0breaking

    Add support for `with { type: 'text' }` imports ([#4435](https://github.com/evanw/esbuild/issues/4435))

  • 0.27.7 \u2192 0.28.0breaking

    Add integrity checks to fallback download path ([#4343](https://github.com/evanw/esbuild/issues/4343))

  • 0.27.7 \u2192 0.28.0breaking

    Update the Go compiler from 1.25.7 to 1.26.1

  • 0.27.7 \u2192 0.28.0breaking

    It now uses the [new garbage collector](https://go.dev/doc/go1.26#new-garbage-collector) that comes with Go 1.26.

  • 0.27.7 \u2192 0.28.0breaking

    The Go compiler is now more aggressive with allocating memory on the stack.

  • 0.27.7 \u2192 0.28.0breaking

    The executable format that the Go linker uses has undergone several changes.

  • 0.27.7 \u2192 0.28.0breaking

    The WebAssembly build now unconditionally makes use of the sign extension and non-trapping floating-point to integer conversion instructions.

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/npm/esbuild
esbuild breaking changes — npm migration guide | DepScope