Change8

v0.25.12

📦 esbuild
3 features🐛 1 fixes🔧 12 symbols

Summary

This release fixes a CSS media query minification regression, adds support for the @view-transition CSS rule, and improves tree-shaking by updating the list of side-effect free JavaScript globals.

✨ New Features

  • Updated internal list of known JavaScript globals (ES2017-ES2025) to improve tree-shaking by marking property access as side-effect free.
  • Added support for parsing, pretty-printing, and minifying the @view-transition CSS rule.
  • The CSS minifier now removes rules with selectors containing empty :is() or :where() blocks that will never match.

🐛 Bug Fixes

  • Fixed a minification regression where CSS media queries with different suffix clauses were incorrectly deduplicated due to a missing equality check.

🔧 Affected Symbols

@media@view-transitionAtomicsSharedArrayBufferBigInt64ArrayBigUint64ArrayFinalizationRegistryWeakRefFloat16ArrayIterator:is():where()