# biome/release
Biome @biomejs/biome@2.5.12
Biome CLI v2.5.12
importance: mediumfeature
This release focuses on fixing parsing and formatting issues in Astro expressions, improving support for JSX and TypeScript syntax, and adding new linting rules. Several bugs related to Astro attribute expressions, HTML comments, and template literals were resolved.
affected
Developers using Biome with Astro, JSX, or TypeScript syntax are primarily affected by these changes.
action
Update to version 2.5.12 to benefit from bug fixes and new linting rules.
release_signals
+Added support for template literal attribute values inside Astro expressions.
+Added the nursery rule `useFlatMathMinMax` to flatten unnecessary nested calls to `Math.min()` and `Math.max()`.
+Added the nursery rule `noThisOutsideOfClass` to report `this` outside class members and TypeScript functions with an explicit `this` parameter.
code_snippet
```astro
{cond && <style>a { color: red }</style>}
{cond && <script>let x = {a: 1};</script>}
```# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.