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

## Executive Summary (TL;DR)
Biome @biomejs/biome@2.2.0. Source highlight: The `noRestrictedImports` rule has been enhanced with a new `patterns` option. This option allows for more flexible and powerful import restrictions using gitignore-style patterns.

## New Features
- Added the new rule `useBiomeIgnoreFolder`. Since v2.2, Biome correctly prevents the indexing and crawling of folders.
- Added support for `.graphqls` files. Biome can now format and lint GraphQL files that have the extension `.graphqls`
- Added a new option to Biome's JavaScript formatter, `javascript.formatter.operatorLinebreak`, to configure whether long lines should be broken before or after binary operators.
- Added the new rule `noBiomeFirstException`. This rule prevents the incorrect usage of patterns inside `files.includes`.
- Added Qwik Domain to Biome
- Added the Qwik domain infrastructure to Biome.

## Improvements
- The `noRestrictedImports` rule has been enhanced with a new `patterns` option. This option allows for more flexible and powerful import restrictions using gitignore-style patterns.
- Promoted `noExcessiveLinesPerFunction` to the `complexity` group.
- Promoted `noAwaitInLoops` to the `performance` group.
- Promoted `noUnwantedPolyfillio` to the `performance` group.
- Promoted `useGoogleFontPreconnect` to the `performance` group.
- Promoted `useSolidForComponent` to the `performance` group.

## Bug Fixes
- Fixed minor inconsistencies in how `files.includes` was being handled.
- Fixed #6965: Implemented smarter scanner for project rules.
- Fixed #7152. Now the rule `noDuplicateFontNames` correctly detects font names with spaces e.g. `Liberation Mono`. The diagnostic of the rule now points to the first instances of the repeated font.
- Added a new **experimental option** that allows parsing of `.html` files that contain interpolation syntax.
- Added the rule `useMaxParams`.
- Fixed #7160. Now Biome correctly computes ignored files when using `formatter.includes`, `linter.includes` and `assist.includes` inside nested configurations that use `"extends": "//"`.

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