Skip to content

build(deps): bump github.com/odvcencio/gotreesitter from 0.16.0 to 0.19.1 - #38

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/odvcencio/gotreesitter-0.19.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/odvcencio/gotreesitter-0.19.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 29, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/odvcencio/gotreesitter from 0.16.0 to 0.19.1.

Release notes

Sourced from github.com/odvcencio/gotreesitter's releases.

v0.19.1

Kotlin compatibility patch for recoverable source-file parses.\n\n- Return recoverable Kotlin top-level parse roots as source_file while preserving child error state.\n- Recover fragmented top-level fun declarations with the fun keyword, name, and parameter list so downstream source_file-rooted queries keep matching.\n- Intended to unblock Aspect/Gazelle gotreesitter drop-in testing without changing public Orion AXL queries.

v0.19.0

[0.19.0] - 2026-05-23

GLR materialization, query parity, and parser hot-path release.

Added

  • Reduce-chain hint metadata is now attached to embedded grammars and used by the parser to classify hot reduction chains without re-deriving them at run time. Rust carries a targeted reduce-chain hint in this release.
  • Parser and harness attribution now expose reduce-chain timing, action dispatch/apply/lookup timing, GLR merge and cull timing, result-tree materialization timing, lazy-child materialization cost, and GLR equivalence hot-spot counters.
  • Real-corpus benchmark and parse-gap reporting tools now surface top parse gaps, parser phase timing, result attribution, symbol names, active reduce-chain hints, and compiled-test-binary RSS lanes for CI.

Changed

  • Final tree construction now keeps compact/lazy final child references deeper into parser result assembly, tree traversal, cursor movement, query matching, descendant lookup, sibling scans, and edit paths. Public nodes are materialized on demand instead of eagerly for every reduction result.
  • Parser hot paths cache action classes, lex-mode rows, visible symbol lookups, JS/TS normalization traits, reduce-chain signatures, and language metadata needed for full parses.
  • Full-parse scratch allocation is capped and tuned for medium sources so large files do not preallocate excessive entry storage.
  • JavaScript, TypeScript, TSX, Python, Rust, Go, C, and Java compatibility normalization now routes more work through dense/lazy child accessors and source-gated fast paths.
  • The default reduce-chain hint path is enabled while the explicit reduce-chain experiment knob was removed.

Fixed

  • Query matching now preserves tree-sitter-compatible behavior for nested repeated children, namedness-sensitive candidates, field matching through parent links, and lazy final child refs. This fixes downstream public queries such as nested Kotlin source_file -> import_list -> import_header patterns without requiring query rewrites.
  • #lua-match? predicate parity and query predicate stack storage now match expected tree-sitter semantics more closely.
  • GLR materialization preserves pending direct fields, hidden-child field metadata, compact leaf parents, lazy final child refs through edits, and sidecar child counts across tree operations.
  • Incremental reuse handles lazy child refs, no-op edits, top-level reuse, and external-scanner checkpoint rebuilds without forcing broad materialization.
  • Parser compatibility repairs restore or preserve tree shapes for Go,

... (truncated)

Changelog

Sourced from github.com/odvcencio/gotreesitter's changelog.

[0.19.1] - 2026-05-23

Kotlin source-file query compatibility patch.

Fixed

  • Kotlin recovered parse roots that contain top-level package/import/class nodes are now returned as source_file roots instead of ERROR roots, while preserving child error state for diagnostics.
  • Fragmented top-level Kotlin fun declarations recovered under an error root now expose function_declaration shape with the fun keyword, name, and parameter list, while retaining error state. This preserves downstream Aspect/Gazelle Orion queries without AXL rewrites on files with recoverable syntax errors.

[0.19.0] - 2026-05-23

GLR materialization, query parity, and parser hot-path release.

Added

  • Reduce-chain hint metadata is now attached to embedded grammars and used by the parser to classify hot reduction chains without re-deriving them at run time. Rust carries a targeted reduce-chain hint in this release.
  • Parser and harness attribution now expose reduce-chain timing, action dispatch/apply/lookup timing, GLR merge and cull timing, result-tree materialization timing, lazy-child materialization cost, and GLR equivalence hot-spot counters.
  • Real-corpus benchmark and parse-gap reporting tools now surface top parse gaps, parser phase timing, result attribution, symbol names, active reduce-chain hints, and compiled-test-binary RSS lanes for CI.

Changed

  • Final tree construction now keeps compact/lazy final child references deeper into parser result assembly, tree traversal, cursor movement, query matching, descendant lookup, sibling scans, and edit paths. Public nodes are materialized on demand instead of eagerly for every reduction result.
  • Parser hot paths cache action classes, lex-mode rows, visible symbol lookups, JS/TS normalization traits, reduce-chain signatures, and language metadata needed for full parses.
  • Full-parse scratch allocation is capped and tuned for medium sources so large files do not preallocate excessive entry storage.
  • JavaScript, TypeScript, TSX, Python, Rust, Go, C, and Java compatibility normalization now routes more work through dense/lazy child accessors and source-gated fast paths.
  • The default reduce-chain hint path is enabled while the explicit reduce-chain experiment knob was removed.

Fixed

  • Query matching now preserves tree-sitter-compatible behavior for nested repeated children, namedness-sensitive candidates, field matching through parent links, and lazy final child refs. This fixes downstream public queries

... (truncated)

Commits
  • 8f875c1 fix(kotlin): Preserve recovered Kotlin function query shape
  • 01860f3 fix(kotlin): Preserve recovered Kotlin source_file roots
  • 8507cb2 update: Document v0.19.0 and add query regression
  • 66f7097 Merge pull request #83 from odvcencio/glr-materialization-v2
  • 05ca6e3 ci(github-actions): Use compiled test binaries for RSS benchmarks
  • 98dd6e2 fix(parser): Cap full entry scratch prealloc at 64KiB
  • 6f49da3 optimize(parser): Tune parser arena sizing for medium sources
  • a46e11e remove(parser): Require explicit reduce-chain hint opt-in
  • eb6ff4e optimize(parser): Lower scratch prealloc cap
  • fd6c365 optimize(parser): Enable default reduce-chain hints
  • 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 [github.com/odvcencio/gotreesitter](https://github.com/odvcencio/gotreesitter) from 0.16.0 to 0.19.1.
- [Release notes](https://github.com/odvcencio/gotreesitter/releases)
- [Changelog](https://github.com/odvcencio/gotreesitter/blob/main/CHANGELOG.md)
- [Commits](odvcencio/gotreesitter@v0.16.0...v0.19.1)

---
updated-dependencies:
- dependency-name: github.com/odvcencio/gotreesitter
  dependency-version: 0.19.1
  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 go Pull requests that update go code labels May 29, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #39.

@dependabot dependabot Bot closed this Jun 5, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/odvcencio/gotreesitter-0.19.1 branch June 5, 2026 06:44
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 go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants