Skip to content

chore(deps): bump tree-sitter-dart to 0.2.0 (with grammar migration) - #174

Merged
runonthespot merged 1 commit into
mainfrom
fix/tree-sitter-dart-0.2
Jul 9, 2026
Merged

chore(deps): bump tree-sitter-dart to 0.2.0 (with grammar migration)#174
runonthespot merged 1 commit into
mainfrom
fix/tree-sitter-dart-0.2

Conversation

@runonthespot

Copy link
Copy Markdown
Contributor

Supersedes #144. The dependabot bump alone fails CI because 0.2.0 is a breaking release.

Changes

  • Bump tree-sitter-dart 0.0.4 → 0.2.0
  • Drop the legacy language() factory; use the LANGUAGE constant like the other modern bindings
  • Update ck-chunk's Dart tree-sitter query for renamed grammar nodes (class_definitionclass_declaration, class_member_definitionmethod_declaration, local_variable_declarationtop_level_variable_declaration, plus function/constructor captures)

Validation

  • 53/53 ck-chunk tests pass (incl. dart_queries_capture_core_constructs)
  • fmt + clippy clean

🤖 Generated with Claude Code

The 0.2.0 release drops the legacy `language()` factory (use the
`LANGUAGE` constant like the other modern bindings) and renames grammar
nodes. Update ck-chunk's Dart tree-sitter query accordingly:
class_definition -> class_declaration, class_member_definition ->
method_declaration, local_variable_declaration ->
top_level_variable_declaration, plus function/constructor captures.

Supersedes dependabot PR #144.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@runonthespot
runonthespot merged commit accc1bd into main Jul 9, 2026
14 checks passed
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