Skip to content

Upgrade biome 2.5.0#485

Open
jaudiger wants to merge 3 commits into
mainfrom
upgrade-biome-2.5.0
Open

Upgrade biome 2.5.0#485
jaudiger wants to merge 3 commits into
mainfrom
upgrade-biome-2.5.0

Conversation

@jaudiger

@jaudiger jaudiger commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This PR updates the five directly-used biome_* crates from 0.5.7 to 2.5.0, pulling them from the @biomejs/biome@2.5.0 tag.

The new version ships several breaking API changes that required code updates: format_node now takes a third delegate_fmt_embedded_nodes bool, SyntaxNode::text() and text_range() were renamed to text_with_trivia() and text_range_with_trivia(), JsImportClause was split into an AnyJsImportClause union, the source string is now read via as_js_module_source().value_token().text_trimmed() (with manual unquoting), and AnyJsObjectMemberName gained a JsMetavariable variant for Grit support.

The dependabot biome_* exclusion is also dropped so future updates flow through normally.

I didn't try to tweak the new formatter configuration, but this update is a breaking change as is, see brioche-dev/brioche-packages#5055 for the new formatting.

jaudiger added 3 commits June 29, 2026 08:53
Signed-off-by: Jérémy Audiger <jeremy.audiger@icloud.com>
Signed-off-by: Jérémy Audiger <jeremy.audiger@icloud.com>
Signed-off-by: Jérémy Audiger <jeremy.audiger@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant