@biomejs/biome
2.6.8 · 15 Nov 2026MIT OR Apache-2.030.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @biomejs/biome From 2.3.15 to 2.4.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 49
- new
- 25
- fixes
Before you upgrade
Tick each one off as you go- Deprecated2.4.0
Release by release
- Deprecated
useDeprecatedDate. The rule enforces use of GraphQL@deprecateddirective with date. The default rule severity is set towarn. - New
Added
ignoreoption to theuseHookAtTopLevelrule. - New
Added the rule
useAnchorContentfor HTML to enforce that anchor elements have accessible content for screen readers. The rule flags empty anchors, anchors with only whitespace, and anchors where all content is hidden witharia-hidden. Anchors witharia-labelortitleattributes providing a non-empty accessible name are considered valid. - New
Added the rule
useMediaCaptionto the HTML language. Enforces thataudioandvideoelements have atrackelement withkind="captions"for accessibility. Muted videos are allowed without captions.
- Deprecated
28 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.