Skip to content

Update tree-sitter Rust grammar#1133

Merged
joshka merged 1 commit intomainfrom
joshka/update-tree-sitter-rust
Apr 27, 2026
Merged

Update tree-sitter Rust grammar#1133
joshka merged 1 commit intomainfrom
joshka/update-tree-sitter-rust

Conversation

@joshka
Copy link
Copy Markdown
Member

@joshka joshka commented Apr 27, 2026

Summary

  • updates tree-sitter-rust from 0.23.3 to 0.24.0
  • keeps tree-sitter pinned to 0.22.1

Why only the Rust grammar?

The tree-sitter-rust 0.24.0 release is small: upstream regenerated the grammar with the latest ABI and published the release. It still declares a peer dependency compatible with tree-sitter@^0.22.1, so this can move independently.

The tree-sitter runtime latest is 0.25.0, but that release currently has upstream Node 24 packaging issues:

Keeping the runtime pinned avoids taking a known-broken native package update while still refreshing the Rust grammar.

Validation

  • removed node_modules
  • mise exec -- corepack pnpm install --frozen-lockfile
  • mise exec -- corepack pnpm test -- --run
  • mise exec -- corepack pnpm format:check
  • mise run build

Update the Rust grammar package while keeping the node-tree-sitter
runtime on the current supported release. The runtime 0.25.0 release has
known Node 24 install issues and should remain separate.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying ratatui with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4b0b865
Status: ✅  Deploy successful!
Preview URL: https://e4d89d17.ratatui.pages.dev
Branch Preview URL: https://joshka-update-tree-sitter-ru.ratatui.pages.dev

View logs

@joshka joshka merged commit 34c3ce3 into main Apr 27, 2026
8 checks passed
@joshka joshka deleted the joshka/update-tree-sitter-rust branch April 27, 2026 01:35
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