# Biome @biomejs/biome@2.5.1 — Release & Upgrade Intelligence
- **Product:** Biome (https://biomejs.dev)
- **Version:** @biomejs/biome@2.5.1
- **Released:** Jun 23, 2026
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/biome/updates/biomejs-biome-2.5.1/

## Executive Summary (TL;DR)
Biome @biomejs/biome@2.5.1. Source highlight: Fixed CSS formatter output for comments between import media queries.

## New Features
- refactor(core): add `biome_languages` crate
- chore(biome_configuration): add allowTrailingCommas to json-schema to make VSCode happy
- feat(css_formatter): format import media comments inline

## Improvements
- docs(useValidAnchor): enhance lint rule explainer
- refactor(useFlatMap): improve docs and diagnostics
- perf(core): save Settings via Arc

## Bug Fixes
- Fixed CSS formatter output for comments between import media queries.
- Fixed #9899: the `json` and `json-pretty` reporters now escape backslashes in a diagnostic's `location.path`. Previously, paths containing backslashes (such as Windows-style paths) were emitted unescaped, producing invalid JSON.
- "path": "src\account\setup-passkey.tsx",
- Fixed #10625: `biome migrate` no longer emits an invalid trailing comma when a renamed rule (such as `noConsoleLog` → `noConsole`) is the last member of its rule group. Previously this produced malformed output that aborted the migration of a strict-JSON `biome.json` with a parsing error.
- Fixed a false positive in `noUnusedVariables` for Svelte files where variables referenced inside `{@html expr}` blocks were incorrectly reported as unused.
- The `biome init` command has been updated to include a more up-to-date URL to the first-party extensions page.

## Upgrade Command
```bash
npm install --save-dev --save-exact @biomejs/biome@2.5.1
```
