Changelog

biomejs/biome · · 6 commits

React compiler rule lands; inference and fixes

Adds a new React Compiler lint rule, improves promise type inference performance, and fixes a JSX fragment autofix panic.

New nursery rule useReactCompiler for React Compiler lint mode (dyc30a0fbc1)

Biome now ships a nursery lint rule that reports diagnostics from React Compiler lint mode. The change also wires the rule into configuration, docs, generated rule metadata, and test coverage, making it available for users to opt into immediately.

Improve noMisusedPromises inference performance (ematipicobd0b68d)

This optimizes type inference for async class methods that call other methods through this, reducing the work needed to analyze those promise flows. That matters for large TypeScript codebases where this rule can otherwise become expensive.

Fix noUselessFragments unsafe autofix panic on JSX attributes (saberoueslati4a0bc5c)

Biome no longer panics when the unsafe fix removes a fragment used as a JSX attribute value. The fix preserves the shape of the attribute expression, preventing a crash during check --write --unsafe.

Other misc changes

  • CI updates for Windows long paths and build reliability (3 commits)
  • Codspeed benchmark crate version bumps (1 commit)