Change8

v0.28.0

Breaking Changes
📦 esbuildView on GitHub →
1 breaking2 features

Summary

This release introduces support for the TC39 Import Text proposal syntax and adds integrity checks to the npm fallback installation process. It also upgrades the internal Go compiler to 1.26.1, bringing associated runtime and compilation changes.

⚠️ Breaking Changes

  • The integrity check for fallback binary downloads is now enforced. If the downloaded binary hash does not match the expected hash, the installation may fail. Users should ensure their network environment allows for clean downloads or use specific npm flags if installation issues persist.

Migration Steps

  1. If you rely on the fallback download mechanism during npm installation and encounter failures, consult the esbuild documentation regarding additional npm flags for installation.

✨ New Features

  • Added support for `import string from './example.txt' with { type: 'text' }` syntax, aligning with the TC39 Import Text proposal (Stage 3).
  • Implemented integrity checks for the fallback binary download path during npm installation.