# Biome 2.5.10 — Biome CLI v2.5.10 - Product: Biome (https://whatsnew.fyi/product/biome) - Vendor: Biome - Date: 2026-08-21 - Version: 2.5.10 - Original notes: https://github.com/biomejs/biome/releases/tag/%40biomejs/biome%402.5.10 - Permalink: https://whatsnew.fyi/product/biome/releases/2.5.10 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **fixed** — Fixed Astro rejecting JavaScript comments between attributes - **fixed** — Fixed a bare `<` in Astro text being treated as the start of a tag - **fixed** — Fixed an Astro expression holding only a comment being reported as a parse error - **fixed** — Fixed an empty Astro expression such as `
{}
` failing to parse - **fixed** — Fixed Astro expressions containing a comment failing to parse - **added** — Added support for Astro's fragment shorthand - **fixed** — Fixed an Astro frontmatter block being cut short by a closing tag inside a string or comment - **fixed** — Fixed `---` being read as an Astro frontmatter fence when markup precedes it - **fixed** — Fixed an Astro frontmatter block ending early on a line that merely starts with a dash - **fixed** — Fixed the children of an Astro element carrying `is:raw` being parsed as markup instead of raw text - **fixed** — Fixed Astro rejecting attribute names that start with a colon - **fixed** — Fixed the Astro parser failing to recover from a malformed closing tag - **fixed** — Fixed `{` inside an Astro `` element opening an expression - **fixed** — Fixed `{{` at the start of an Astro expression being read as an interpolation ##### 2.5.10 ###### Patch Changes - [#11403](https://github.com/biomejs/biome/pull/11403) [`8f7786f`](https://github.com/biomejs/biome/commit/8f7786ff62aef61cf75a91e1604cd380456a60f4) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fixed Astro rejecting JavaScript comments between attributes. ```astro
``` - [#11403](https://github.com/biomejs/biome/pull/11403) [`8f7786f`](https://github.com/biomejs/biome/commit/8f7786ff62aef61cf75a91e1604cd380456a60f4) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fixed a bare `<` in Astro text being treated as the start of a tag, such as `

5 < 6 and 7 > 6

`. As in HTML, a `<` that cannot open a tag is text and needs no escaping. - [#11438](https://github.com/biomejs/biome/pull/11438) [`3133ffa`](https://github.com/biomejs/biome/commit/3133ffa9ae6beaa3c4464edac60de47d5c6f6426) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fixed [#8294](https://github.com/biomejs/biome/issues/8294): an Astro expression holding only a comment is no longer reported as a parse error, which also stopped the whole file from being formatted. ```astro
{/* a note */}
x
``` - [#11403](https://github.com/biomejs/biome/pull/11403) [`8f7786f`](https://github.com/biomejs/biome/commit/8f7786ff62aef61cf75a91e1604cd380456a60f4) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fixed [#9165](https://github.com/biomejs/biome/issues/9165): an empty Astro expression such as `
{}
` no longer fails to parse. Astro renders `{}` as nothing. - [#11403](https://github.com/biomejs/biome/pull/11403) [`8f7786f`](https://github.com/biomejs/biome/commit/8f7786ff62aef61cf75a91e1604cd380456a60f4) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fixed Astro expressions containing a comment failing to parse. ```astro
{/* block comment */ x}
{/* only a comment */}
``` - [#11403](https://github.com/biomejs/biome/pull/11403) [`8f7786f`](https://github.com/biomejs/biome/commit/8f7786ff62aef61cf75a91e1604cd380456a60f4) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Added support for Astro's fragment shorthand. ```astro <>

a

``` - [#11403](https://github.com/biomejs/biome/pull/11403) [`8f7786f`](https://github.com/biomejs/biome/commit/8f7786ff62aef61cf75a91e1604cd380456a60f4) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fixed an Astro frontmatter block being cut short by a closing tag inside a string or comment. ```astro --- const a = ""; // in a comment --- ``` - [#11403](https://github.com/biomejs/biome/pull/11403) [`8f7786f`](https://github.com/biomejs/biome/commit/8f7786ff62aef61cf75a91e1604cd380456a60f4) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fixed `---` being read as an Astro frontmatter fence when markup precedes it. Astro only recognizes frontmatter at the very start of a file, so a file opening with a comment now has no frontmatter, and its `---` lines are content. ```astro --- this is text, not frontmatter --- ``` - [#11403](https://github.com/biomejs/biome/pull/11403) [`8f7786f`](https://github.com/biomejs/biome/commit/8f7786ff62aef61cf75a91e1604cd380456a60f4) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fixed an Astro frontmatter block ending early on a line that merely starts with a dash. ```astro --- --count; --- ``` - [#11403](https://github.com/biomejs/biome/pull/11403) [`8f7786f`](https://github.com/biomejs/biome/commit/8f7786ff62aef61cf75a91e1604cd380456a60f4) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fixed the children of an Astro element carrying `is:raw` being parsed as markup instead of raw text. This now also covers `