Skip to content

Bump tree-sitter-dart from 0.2.0 to 0.3.0 - #20

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/tree-sitter-dart-0.3.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/tree-sitter-dart-0.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 3, 2026

Copy link
Copy Markdown
Contributor

Bumps tree-sitter-dart from 0.2.0 to 0.3.0.

Changelog

Sourced from tree-sitter-dart's changelog.

[0.3.0] - 2026-10-25

Dart 3.12 and 3.13 support, and node names taken from the Dart specification. Breaking: nine nodes are renamed and several trees change shape. The README describes the naming contract.

Added

  • Dart 3.13 primary constructors, a preview in 3.12 behind primary-constructors:
    • the header form on classes and enums, as primary_constructor: class User(final String name);
    • the this : initializers { body } member, as primary_constructor_body_signature
    • abbreviated new(), new name() and factory constructors in the body
    • ; as an empty body on class, mixin, enum, extension and extension type declarations
    • final on extension type representation variables
  • Dart 3.12 private named parameters ({required this._x}). They already parsed, and tests now pin them.
  • The 33 reserved words are an ABI 15 reserved set, so var x = for + 0; is an ERROR. Built-in identifiers (get, set, required, mixin, ...) remain usable as identifiers.
  • await and yield parse as identifiers where the keyword form cannot, as the analyzer allows outside async and generator bodies.
  • documentation_comment for /// lines and /** */ blocks.
  • Supertypes _expression and _binary_expression.
  • A cascade node holding the receiver and its cascade_sections.
  • Named operator nodes under an operator: field: additive_operator, multiplicative_operator, shift_operator, equality_operator, bitwise_operator and increment_operator, next to the existing relational_operator.
  • Fields: condition: on if_statement, guard: on when guards, default_value: on parameter defaults, name: on function-typed, this. and super. parameters, type: on on clauses.
  • Highlights for extension type representations, record and pattern field names, pattern variables, dot shorthands and for-in variables. rethrow is a keyword.
  • Tags: @reference.call for cascade and dot-shorthand calls, @reference.class for new, const and generic constructor invocations, @reference.implementation for implemented interfaces, and operator methods by their operator.
  • Tooling, described in the README and tools/corpus/README.md:
    • npm run parse -- file.dart parses with this checkout's grammar.
    • tools/analyzer_ast compares trees with the Dart analyzer's AST (dump, compare, crossings, recovery).
    • The corpus gate counts analyzer-valid files only, requires failures to match known_failures.txt, fails on AST crossings not listed in known_ast_crossings.txt, and flags zero-width recovery nodes.

... (truncated)

Commits
  • 4928e18 chore(release): Bump versions to 0.3.0
  • f5d1adb docs: Rewrite the README for 0.3.0
  • 44817ee test: Assert the known limitations with expectFailure
  • e51d0da ci: Run CI on Node 26
  • d65c5e6 build: Pin the language submodule at 6183fcd
  • 4ecbdfd test(corpus): Pin the primary constructor spec 1.16 syntax
  • b89427b feat(tools): Add a recovery subcommand to analyzer_ast
  • ef6b1f6 refactor(grammar): Drop dynamic precedences the > check makes redundant
  • 0f44311 fix(scanner,grammar): Decide type arguments by the token after >
  • 50d1977 test(corpus): Pin code at tree-sitter's parse version limit
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [tree-sitter-dart](https://github.com/nielsenko/tree-sitter-dart) from 0.2.0 to 0.3.0.
- [Changelog](https://github.com/nielsenko/tree-sitter-dart/blob/main/CHANGELOG.md)
- [Commits](nielsenko/tree-sitter-dart@v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: tree-sitter-dart
  dependency-version: 0.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants