Skip to content

chore(deps): bump tree-sitter-dart from 0.2.0 to 0.3.0 - #56

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

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 2, 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 2, 2026
styayur added a commit that referenced this pull request Nov 3, 2026
Integrate the compatible dependency requests #53, #54, #55 and #56, with runtime fixes found during acceptance.

- Preserve the declared Rust 1.90 MSRV and Safari 13 / Chrome 105 build targets. Vite 8 uses its native Oxc minifier rather than the incompatible previous esbuild configuration. Refresh the reviewed Rust/frontend groups and Dart grammar 0.3.
- Bind source and diff viewers to installed, audited Monaco 0.57 and DOMPurify 3.4.17 with local language workers. The loader previously defaulted to an external Monaco version blocked by the unchanged desktop CSP. No CSP or source-upload permission is broadened.
- Correct Monaco diff model disposal when navigating or changing theme, and use the existing theme foreground token for readable light settings.
- Ship byte-identical upstream Monaco and DOMPurify notices with a source/hash/build-copy verification gate. The existing document's broader distribution-notice limitations remain explicit.

Validation: frozen frontend installation, lint/typecheck/production build, production dependency audit, engine library tests, actual Dart AST/UTF-8/malformed-input recovery tests, and real Chromium acceptance of built React/source/diff/theme rendering under the exact desktop CSP. The self-authored synthetic IPC fixture attempts no patch application or user-file access; it records zero remote requests, CSP violations and page errors. Screenshots and machine-readable evidence are CI artifacts on both Linux and Windows. Browser tool requirements have no known pip-audit vulnerabilities.

Native workspace tests, desktop compilation, Security and Rust 1.90 checks remain required CI gates. This browser fixture does not claim native source analysis or packaged application acceptance. No formal release, tag, signed asset or existing user data is changed. Original requests will be closed only after this integration is merged and default-branch validation passes.
@dependabot @github

dependabot Bot commented on behalf of github Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

Looks like tree-sitter-dart is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Nov 3, 2026
@dependabot
dependabot Bot deleted the dependabot/cargo/tree-sitter-dart-0.3.0 branch November 3, 2026 05:29
@styayur

styayur commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Superseded by the reviewed integration PR #57: #57 . Its merge commit is verified on main, and the unchanged default-branch validation/security workflows pass: https://github.com/styayur/codeforge-engine/actions/runs/41583975557, https://github.com/styayur/codeforge-engine/actions/runs/41583975563. The requested compatible changes are included with their required adaptation and lock-bound dependency records. No safety gate or support-floor test was removed; no release/tag or signed asset was published.

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.

1 participant