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

## Executive Summary (TL;DR)
Biome @biomejs/js-api@6.1.0. Source highlight: Added `spanInBytesToSpanInCodeUnits` helper function in subpath exports of `@biomejs/js-api`.

## New Features
- Added `spanInBytesToSpanInCodeUnits` helper function in subpath exports of `@biomejs/js-api`.
- Added GritQL search to `@biomejs/js-api`. Parse a pattern with `parsePattern()`, search content with `searchContent()`, and release the pattern with `dropPattern()`. Matches are returned as UTF-8 byte offsets; use `spanInBytesToSpanInCodeUnits()` to convert them before slicing the content.
- feat(js-api): add spanInBytesToSpanInCodeUnits in subpath exports
- feat(useSortedAttributes): add sortFirst option
- feat(plugins): add resolutionKind for object-syntax plugin entries
- feat(cli): output files information via biome rage by default

## Improvements
- perf(noUnknownAttribute): use binary searches instead of linear scans
- chore: improve docs skill
- docs: improve lint rules and code actions
- docs: improve docs for useButtonType
- perf(service): skip re-parsing formatted code without syntax diagnostics
- perf(formatter): skip comment-free subtrees when collecting comments

## Bug Fixes
- Updated dependencies []:
- @biomejs/wasm-bundler@2.6.0
- @biomejs/wasm-nodejs@2.6.0
- @biomejs/wasm-web@2.6.0
- fix(cli): inspect plugins
- fix(grit): backtrack into contains when later conditions fail
