Skip to content

build(deps): Update tree-sitter to 0.26.3 and related dependencies#1207

Merged
marco-c merged 3 commits intomozilla:masterfrom
marlon-costa-dc:deps/tree-sitter-0.26
Jan 20, 2026
Merged

build(deps): Update tree-sitter to 0.26.3 and related dependencies#1207
marco-c merged 3 commits intomozilla:masterfrom
marlon-costa-dc:deps/tree-sitter-0.26

Conversation

@marlon-costa-dc
Copy link
Copy Markdown
Contributor

Summary

Update major dependencies to their latest versions:

  • tree-sitter: 0.25.3 → 0.26.3
  • tree-sitter-javascript: 0.23.1 → 0.25.0
  • tree-sitter-python: 0.23.6 → 0.25.0
  • tree-sitter-rust: 0.23.2 → 0.24.0
  • askama: 0.14 → 0.15

Also updates tree-sitter version in all subcrates (tree-sitter-preproc, tree-sitter-ccomment, tree-sitter-mozcpp, tree-sitter-mozjs).

Changes

  1. Cargo.toml updates - Main crate and enums crate dependencies
  2. Subcrate Cargo.toml updates - dev-dependencies for tree-sitter
  3. Regenerated language enums - Using updated tree-sitter grammars
  4. API adaptation - Node.child() now takes u32 instead of usize in tree-sitter 0.26
  5. Clippy fixes - Fixed collapsible_if and lifetime elision warnings

Testing

  • cargo check passes
  • cargo clippy -- -D warnings passes
  • ✅ All tests pass

This PR is part of splitting #1206 into separate focused PRs as requested.

Loading
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.

4 participants