Changelog

biomejs/biome · · 3 commits

Astro shorthand parsing and disposable types

Astro embedded shorthand attrs now lint correctly, disposable global types were migrated, and temp-dir redaction got a boundary fix.

Astro embedded shorthand attributes are parsed correctly (Netail93d8e53)

Biome now recognizes Astro shorthand attributes inside embedded nodes, which fixes linting coverage for cases like {accesskey} and {autofocus}. This unblocks correct a11y analysis and other JS/HTML rules on Astro templates where embedded shorthand syntax was previously missed.

Disposable global types were migrated to the new codegen flow (minseong0324ef9076a)

The JS type-info/global-types pipeline was updated to generate and resolve disposable-related globals through the newer codegen path. This matters because it keeps Biome aligned with the evolving Disposable/AsyncDisposable type surface and preserves correctness for rules like useDisposables.

Temp-dir snapshot redaction now respects path boundaries (JamBalaya565623f9e3c9)

Snapshot redaction was tightened so a temp directory is only masked when it appears at a real path boundary, not when it is merely a substring inside globs or other text. That avoids corrupting legitimate output like **/build while still redacting actual temp paths.

Other misc changes

  • Snapshot/test updates for the Astro and disposable changes
  • Changeset and test fixture additions
  • Internal refactors in codegen/type-info support files