Changelog

biomejs/biome · · 24 commits

Astro semantic model lands; parser bugs fixed

Major Astro semantic-analysis work shipped alongside markdown parser fixes, HTML/Svelte formatter improvements, and a Tailwind SIMD speedup.

Astro semantic model foundation and cross-language analysis (ematipico64bffda, ematipico5f0eb32, ematipico041fca8, ematipico01ce2dd, ematipico4ea9690, ematipico8bdb36c, ematipicoa5aa4f2)

Biome added a new Astro semantic model and then rapidly extended it to cover frontmatter, client scripts, define:vars, and cross-language references. That unlocked more accurate linting and safer rename/unused-import behavior across Astro templates, scripts, and styles, while also introducing the plumbing to run file-level rules once per host document.

Astro now gets dedicated lint rules and rule fixes (ematipicoe2a8e85, ematipicoef2d71a, ematipico6981d43)

A new Astro-specific noAstroComponentDefaultExport rule ships, and existing HTML/CSS analysis now understands dynamic Astro attribute values and <style define:vars> custom-property declarations. These changes reduce false positives and make Astro lint results match real template behavior much more closely.

Markdown blockquotes no longer hang on whitespace-only quote lines (jfmcdowella0acfd5)

Biome fixed a Markdown parser hang when a quoted line contains only spaces after >, especially inside list items. The formatter and parser now handle blank quote lines and quote-boundary trimming correctly, preventing an infinite-loop class bug on valid Markdown input.

HTML/Svelte formatting preserves touching blocks and embedded content (garysassano70d6154, ematipico5d4d474, ematipico2ec6bbe, ematipico0c0dfe2, ematipico89b89df, ematipico11027d4)

Formatting and parsing for HTML/Svelte were tightened to keep {#if}/{#each} blocks attached to siblings, preserve failed or unsupported Astro embeds, and correctly format class/style attributes and style-attribute quotes. Astro doctypes after top-level elements are now parsed and rewritten without errors, which fixes a real formatting stability edge case.

Tailwind parser gets NEON byte classification (dyc38455a95)

The Tailwind lexer now uses NEON-based byte classification on aarch64, a targeted performance improvement for ARM users. This should make parsing faster on supported hardware with no behavior change.

Other misc changes

  • Dependency/security advisory update (Cargo.lock) (dyc32c4a0f1)
  • Rowan token-walk refactor (ematipico37f53da)
  • Test and snapshot updates for Astro/HTML/Markdown behavior (multiple commits)
  • Baseline data refresh for useBaseline CSS rules (abe482c)