Skip to content

Bump github.com/odvcencio/gotreesitter from 0.9.2 to 0.12.1#326

Merged
kindermax merged 1 commit intomasterfrom
dependabot/go_modules/github.com/odvcencio/gotreesitter-0.12.1
Apr 2, 2026
Merged

Bump github.com/odvcencio/gotreesitter from 0.9.2 to 0.12.1#326
kindermax merged 1 commit intomasterfrom
dependabot/go_modules/github.com/odvcencio/gotreesitter-0.12.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 29, 2026

Bumps github.com/odvcencio/gotreesitter from 0.9.2 to 0.12.1.

Release notes

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

v0.12.1

Full Changelog: odvcencio/gotreesitter@v0.11.2...v0.12.1

v0.11.2 keeps the recent grammargen parity work moving without reopening the heavy generator lanes.

Highlights

  • restore DFA lex-mode parity at whitespace boundaries for CSS and JavaScript corpus cases
  • extend COBOL imported-grammar parity with safer external-scanner adaptation and transitive passthrough normalization
  • add focused TypeScript, TSX, and COBOL snippet parity coverage and include CSS in the isolated focus-target harness
  • backfill CHANGELOG history through v0.11.1 so the released version record matches the shipped tags

Validation

  • GitHub Actions ci passed on main at 13e0a6d (build, freshness, parity-cgo)
  • isolated Docker real-corpus runs passed for css, javascript, typescript, tsx, and cobol with 25/25 no-error, sexpr parity, and deep parity in each lane

v0.11.1 rolls up the parser and grammargen parity work that just landed on main via PR #16.

Highlights

  • Restores CSS real-corpus parity to 25/25 no-error, sexpr parity, and deep parity.
  • Skips grammargen conflict diagnostics/provenance on the plain GenerateLanguage fast path.
  • Fixes parser regressions around after-whitespace lex modes, unary reduction collapse, and Python pass-statement normalization.
  • Carries forward broader parity fixes across C/C++, JavaScript/TypeScript/TSX, COBOL, and the focused Docker parity harness.

Validation

  • Merged from PR #16 after build, freshness, parity-cgo, and perf-regression all passed.

v0.10.0

Highlights

  • add grammargen.GenerateLanguageAndBlob and GenerateLanguageAndBlobWithContext so callers can obtain both the compiled language and serialized blob from one generation pass
  • restore parser normalization and grammargen helper behavior needed by downstream grammar-extension work
  • split parity validation into fast smoke mode and explicit exhaustive mode so required CI and local iteration stay practical

Included fixes

  • parser result normalization for invisible wrappers, C cast handling, and C# tuple pattern shape
  • LR/repetition and extra-chain handling updates in grammargen
  • Python external scanner incremental reuse disabled until its state reuse is correct
  • race fix in grammars/gateway_test.go progress bookkeeping
  • calc grammar precedence cleanup for the built-in test grammar

Validation

  • smoke parity gate now passes in roughly 53 seconds instead of requiring the full exhaustive parity sweep
  • full exhaustive parity remains available via GTS_PARITY_MODE=exhaustive and the manual CI workflow
Changelog

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

[0.12.1] - 2026-03-28

Changed

  • Refreshed the README roadmap/version snapshot so it reflects the shipped grammargen release line and the current parser/performance priorities.

Fixed

  • grammars/scanner_lookup_test.go no longer copies a full Language value when checking scanner adaptation, avoiding the go vet lock-copy failure caused by embedded sync.Once fields.

[0.12.0] - 2026-03-28

Added

  • grammargen now imports and emits tree-sitter ABI 15 reserved-word sets, preserving reserved-word metadata through grammar extension and normalization.
  • Added Python pattern-matching and f-string parity coverage, plus comprehensive YAML and C# parity and regression suites including a Docker-isolated C# CGO regression lane.
  • Added parser recovery and normalization coverage for Rust dot ranges, Rust token trees and struct expressions, YAML recovered roots, and C# namespaces, query expressions, type declarations, Unicode identifiers, and implicit var restoration.

Changed

  • GLR stack equivalence checks now skip recursive frontier descent where possible and cache frontier equivalence per parse to reduce duplicate merge work on ambiguous parses.

Fixed

  • Restored Python real-corpus parity with keyword-leaf repair, print and interpolation normalization, and trailing self-call recovery in repaired blocks.
  • Tightened Rust parity for macro token bindings, token trees, pattern statements, recovered function items, and struct-expression spans.
  • Imported-language scanner adaptation now preserves existing ExternalLexStates instead of overwriting them during scanner wiring.

[0.11.2] - 2026-03-26

Added

  • Focused TypeScript and TSX snippet parity cases for const type parameters, template literal types, enums, and class method bodies drawn from corpus-style inputs.
  • COBOL snippet parity coverage for close/open statements, PIC forms, and perform ... varying cases that previously escaped smaller parity checks.
  • CSS to the curated cgo_harness focus-target board so it runs through the same isolated real-corpus and cgo parity entrypoints as the other tracked grammars.

Fixed

  • DFA token selection now evaluates base and after-whitespace lex modes from one shared path, restoring CSS function-value parity and JavaScript template-string corpus parity without skipping valid immediate tokens.
  • Imported-language parity adapts external scanners more defensively, including lowercase grammar-name lookup, so generated COBOL scanner wiring stays aligned with embedded references.
  • Hidden passthrough flattening preserves transitive alternatives without recursing indefinitely, keeping COBOL normalization parity-safe on imported grammars.
  • The COBOL real-corpus lane no longer forces the choice-lifting threshold that was driving deep-parity regressions.

[0.11.1] - 2026-03-25

Changed

  • grammargen skips conflict diagnostics and provenance on the plain GenerateLanguage fast path unless a report or LR splitting actually needs them.

Fixed

  • Restored CSS real-corpus parity to 25/25 on no-error, sexpr parity, and deep parity.
  • Tightened parser and grammargen parity across C/C++, JavaScript/TypeScript/TSX, COBOL, and C# normalization paths.
  • Fixed after-whitespace lex modes, unary reduction collapse, and Python pass-statement normalization regressions called out in the v0.11.1 release.

[0.11.0] - 2026-03-24

Added

  • Grammar subset support with build tags and blob overrides for smaller focused builds.

... (truncated)

Commits
  • 5284b99 release: version 0.12.1
  • b9bf002 release: version 0.12.0
  • c14ec7e add(c_sharp): C# grammar parity and recovery normalization
  • 7dfba72 add(yaml): GLR recovery normalization and comprehensive parity tests
  • 2ac215a fix(grammars): preserve existing ExternalLexStates during scanner adaptation
  • d177893 add(rust): dot-range normalization and extensive Rust recovery functions
  • d4466a0 Merge pull request #15 from odvcencio/pr14-fix3-on-pr14
  • 7870442 fix(grammargen): recover rust token trees in parity tests
  • 42e8d8a fix(grammargen): recover Rust pattern statements in parity
  • 695ee7c fix(grammargen): recover Rust struct expressions in parity
  • 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.9.2 to 0.12.1.
- [Release notes](https://github.com/odvcencio/gotreesitter/releases)
- [Changelog](https://github.com/odvcencio/gotreesitter/blob/main/CHANGELOG.md)
- [Commits](odvcencio/gotreesitter@v0.9.2...v0.12.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go labels Mar 29, 2026
@kindermax kindermax merged commit 520e6d5 into master Apr 2, 2026
4 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/odvcencio/gotreesitter-0.12.1 branch April 2, 2026 16:47
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant