Skip to content

Bump github.com/odvcencio/gotreesitter from 0.21.0 to 0.36.0#18

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

Bump github.com/odvcencio/gotreesitter from 0.21.0 to 0.36.0#18
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/odvcencio/gotreesitter-0.33.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 20, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/odvcencio/gotreesitter from 0.21.0 to 0.36.0.

Release notes

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

v0.36.0 — recovery performance and browser analysis

Corrected cumulative release from the current main line. This release supersedes v0.35.0, whose tag was published from incomplete ancestry; all three browser-runtime changes from that tag are reconciled here without rewriting the published Go module version.

Highlights:

  • linearizes C-recovery elections and replaces retained memo clearing with generation invalidation, reducing recurring recovery time and allocation
  • tightens accepted-tree retry selection and generated Go, Regex, and Swift grammar provenance
  • banks certified Meson and Enforce retry reductions plus HTML range and fleet-reducer fixes
  • adds persistent UTF-16 browser documents with incremental parsing, queries, highlights, and tags
  • adds reproducible selected-language browser bundles for Go and TinyGo with compiler-matched bootstrap files and SHA-256 manifests
  • preserves the 206-grammar curated structural-parity milestone and separate correctness/performance gates

Attached Go-language TinyGo bundle:

  • archive SHA-256: ded4dc4c37e0232ec8cfb5cbaf4245bf55974ac80fe165a4eb9664e08fdf3145
  • WASM: 5,687,848 bytes
  • WASM SHA-256: cd2399ec5fcccdb56299dae15f034cc41d4579d5d737f6585d2438545dfe9728
  • built with TinyGo 0.40.1 under a 4 GiB container limit; all manifest asset digests verified

See CHANGELOG.md for complete measurements and validation scope.

v0.34.0 — forest routing and compatibility hygiene

Forest-routing performance and compatibility-hygiene release.

Highlights:

  • avoids discarded automatic forest attempts for Beancount, Org, Vimdoc, Fish, and Racket while retaining explicit and certified recovery paths
  • brings the locked Racket witnesses from roughly 25-27x C to 1.21-1.26x C and removes similarly large Fish, Beancount, Org, and Vimdoc penalties
  • removes full-corpus-confirmed dead compatibility passes from C, C++, and Rust
  • preserves the 206-grammar curated parity milestone and the project correctness/performance gate split

See the changelog for the complete measured receipts.

v0.33.0 — parser performance and runtime hygiene

v0.33.0 banks the accumulated recurring-parser, recovery-allocation, certified C# compatibility, arena-retention, browser-WASM lifecycle, and compatibility-cleanup work. Highlights include stable forest-decline memoization, removal of CSV failed default forest speculation, and a 28.4% C++ recovery-witness speedup with 79.9% fewer allocated bytes. Full evidence and compatibility notes are in CHANGELOG.md.

What's Changed

Full Changelog: odvcencio/gotreesitter@v0.32.0...v0.33.0

v0.32.0 — browser runtime and clean-parse recovery

v0.32.0 extends the browser-focused WebAssembly runtime with structured parsing

... (truncated)

Changelog

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

[0.36.0] - 2026-07-13

Parser recovery, recurring-work, grammar-contract, and browser-runtime release. C-recovery elections and retained memo invalidation reduce fixed overhead; retry selection and generated-language provenance are stricter; and the browser runtime gains persistent incremental documents plus reproducible selected- language bundles for Go and TinyGo.

This release supersedes v0.35.0. That tag was published from incomplete ancestry; its browser-runtime changes have been reconciled here with every change on the current main line. The v0.35.0 tag remains immutable so existing Go module downloads continue to identify one source revision.

Added

  • The browser runtime now supports persistent UTF-16 documents through open, update, close, and queryDocument. Updates compute a surrogate-safe minimal edit, reuse the prior parse tree, and run highlights, tags, and bounded queries over the same retained tree while leaving the existing stateless parse, query, and highlight APIs intact.
  • cmd/wasmassets now emits reproducible single-language browser bundles for either the Go or TinyGo WebAssembly compiler. Bundles contain the external grammar blob, highlight and optional tags queries, the matching compiler bootstrap, and a manifest with compiler identity and SHA-256 digests; the runtime build is restricted to the selected grammar's tables, registry, and scanner support instead of embedding the full grammar fleet.

Performance

  • Linearized C-recovery strategy-1 elections with reusable cursor and dedupe scratch. Against exact current main on the pinned quiet core, KDL recovery improved 19.26% with 29.39% fewer bytes and 30.83% fewer allocations, while the tiny-clean control remained statistically unchanged.
  • Reused C-recovery node memos now use generation invalidation instead of clearing a retained 16K-entry cache on every parse. On the pinned quiet host, recovery-primed KDL tiny-clean parses fell from 31.98 microseconds to 13.46 microseconds (57.93%), while alternating error/clean parses improved by 3.06%, with unchanged bytes and allocations per operation.
  • The exact built-in Meson grammar now skips the redundant accepted-error retry ladder only for sources of at least 2 KiB. A locked 1,549-file corpus certification preserved complete and structural trees across all 28 eligible error-bearing files and cut their aggregate one-pass parse time by 78.04% (1.410s to 0.310s). Smaller inputs keep the generic retry ladder, including seven witnesses where retrying changes the selected tree.
  • The exact built-in Enforce grammar now reuses a certified complete accepted-error widened result instead of repeating it with recovery enabled on sources of at least 128 KiB. Locked full-tree, structural, and semantic runtime checks remained exact; count-10 runs cut playerbase time by 28.01% and itembase time by 7.31%, with corresponding allocation reductions and an unchanged clean control.

... (truncated)

Commits
  • a015ee6 release: release v0.36.0 (#323)
  • d7518f8 feat(wasm): add persistent browser analysis bundles (#322)
  • a873c51 optimize(recovery): Optimize C-recovery election with linearized cursor itera...
  • 5c0c3d4 fix(parser): harden recovery selection and generated grammar contracts (#320)
  • 1f0b071 optimize(parser, recovery): Replace memo cache clearing with generation inval...
  • acf307a fix(cgo_harness): Fix fleet reduction authentication and canonicalize gate fi...
  • 4a065d5 optimize(parser, grammars): Optimize accepted-error retry for meson, enforce ...
  • 2387599 Merge pull request #316 from odvcencio/codex/release-v0.34.0
  • fe35b01 chore(release): prepare v0.34.0
  • 4649208 Merge pull request #315 from odvcencio/codex/fish-racket-forest-defaults
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Jul 20, 2026
@andrew

andrew commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Holding this. v0.22.0+ regresses TypeScript parsing: const f = (a: A): B => { ... } (arrow function with a return-type annotation) now produces ERROR nodes, so those declarations drop out of .ts outlines entirely. Reproduced locally; TestOutlineTypescript catches it.

Filed upstream: odvcencio/gotreesitter#402

@andrew

andrew commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Fixed upstream in v0.45.0 (odvcencio/gotreesitter#402).

@dependabot recreate

Bumps [github.com/odvcencio/gotreesitter](https://github.com/odvcencio/gotreesitter) from 0.21.0 to 0.36.0.
- [Release notes](https://github.com/odvcencio/gotreesitter/releases)
- [Changelog](https://github.com/odvcencio/gotreesitter/blob/main/CHANGELOG.md)
- [Commits](odvcencio/gotreesitter@v0.21.0...v0.36.0)

---
updated-dependencies:
- dependency-name: github.com/odvcencio/gotreesitter
  dependency-version: 0.33.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump github.com/odvcencio/gotreesitter from 0.21.0 to 0.33.0 Bump github.com/odvcencio/gotreesitter from 0.21.0 to 0.36.0 Jul 21, 2026
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/odvcencio/gotreesitter-0.33.0 branch from 2282330 to d6479ff Compare July 21, 2026 10:12
andrew added a commit that referenced this pull request Jul 21, 2026
Manual bump ahead of dependabot's 7-day cooldown. v0.22.0 through
v0.44.x mis-parse TypeScript arrow functions with return-type
annotations (const f = (a: A): B => {...}), which drops those
declarations from .ts outlines. Fixed in v0.45.0 via
odvcencio/gotreesitter#402.

Supersedes #18.
@andrew andrew closed this Jul 21, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/odvcencio/gotreesitter-0.33.0 branch July 21, 2026 10:24
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.

1 participant