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

## Executive Summary (TL;DR)
Biome @biomejs/biome@2.2.2. Source highlight: Fixed an issue where Biome got stuck when analyzing some files. This is usually caused by a bug in the inference engine. Now Biome has some guards in place in case the number of types grows too much, and if that happens, a diagnostic is emitted and the inference is halted.

## New Features
- feat(linter): auto add Svelte globals for .svelte.test/spec files
- feat(grit): add JSX node name mappings for GritQL patterns

## Improvements
- perf: determine folders more efficiently
- docs(lint): improve noUndeclaredDependencies

## Bug Fixes
- Fixed an issue where Biome got stuck when analyzing some files. This is usually caused by a bug in the inference engine. Now Biome has some guards in place in case the number of types grows too much, and if that happens, a diagnostic is emitted and the inference is halted.
- Fixed an issue where the function `scanProject` wouldn't work as expected.
- Partially fixed #6782: JSX node kinds are now supported in GritQL AST nodes.
- Fixed #748, where Biome Language Server didn't show the unsafe fixes when requesting the quick fixes. Now all LSP editors will show also opt-in, unsafe fixes.
- Fixed #7020: Resolved an issue with analysing types of static member expressions involving unions. If the object type was a union that referenced nested unions, it would trigger an infinite loop as it tried to keep expanding nested unions, and the set of types would grow indefinitely.
- Resolved an overcorrection in `useImportExtensions` when importing explicit index files.

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