Skip to content

Bump github.com/odvcencio/gotreesitter from 0.57.0 to 0.58.0 - #60

Merged
andrew merged 1 commit into
mainfrom
dependabot/go_modules/github.com/odvcencio/gotreesitter-0.58.0
Nov 30, 2026
Merged

andrew merged 1 commit into
mainfrom
dependabot/go_modules/github.com/odvcencio/gotreesitter-0.58.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps github.com/odvcencio/gotreesitter from 0.57.0 to 0.58.0.

Release notes

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

gotreesitter v0.58.0

Highlights

  • 34 grammars now parse by default through ccore, the C-faithful parser core. Each passed the graduation gate in its pull request: trees and subtree reuse equal pinned C, and time and memory at or below the existing engine.
  • Other grammars keep the existing engine, and calling code does not change. parser.SetAdmissionCandidateRoute(false) keeps one parser off the core.
  • Add LangEntry.ParseContext and LangEntry.ParseStrict for cancellation and early-stop errors, and Tree.RetryStopReason().

Upgrade notes

  • Trees for the 34 certified grammars can change where v0.57.0 differed from the C runtime, for example on text with syntax errors; they now match C. This affects callers that compare trees or node counts across versions. To keep the v0.57.0 engine for one parser, call parser.SetAdmissionCandidateRoute(false); it takes effect on the next parse, and a tree the core built is then reparsed fresh. ClearAdmissionCandidateRoute() returns the parser to the default. The process-wide SetAdmissionCandidateRouteDefault and GTS_ADMISSION_CANDIDATE do not move certified grammars off the core.

Added

  • Add LangEntry.ParseContext(ctx, src) for cooperative context cancellation and deadlines. Existing entry.Parse(src) calls remain supported (#1590).
  • Add LangEntry.ParseStrict(ctx, src) to report early stops while preserving registered token-source selection. Non-nil trees remain caller-owned even when an error is returned. Both methods use the registered token source when there is one. Cancellation sets the parser's existing cancellation flag, so it cannot interrupt a blocking loader, scanner or token source, and a parse that finished before a late cancellation keeps its result (#1590).
  • Add internal/ccore, a C-faithful parser core: parser, stack, subtrees, lexer, error recovery, external scanners, edits and reuse, using only the standard library. It has no public API of its own; certified grammars reach it through the ordinary Parser (see Changed). On the test corpus it equals pinned C 0.27.1 on 1,197 of 1,198 decision traces, 1,283 of 1,283 visible-tree digests, 1,233 of 1,233 record sets and 509 of 509 incremental session steps. On real files, 178 of 202 grammars are fully equal (#1592, #1595).
  • Add root adapters that build ccore tables from a *Language, the packages internal/ccore/bind and internal/ccore/bind/bindtest, table validation, and a required CI job, ccore-equality-cgo. On every pull request that changes code, the job compares the new core with pinned C for json, python, c and typescript (#1595).

... (truncated)

Changelog

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

[0.58.0] - 2026-11-20

Highlights

  • 34 grammars now parse by default through ccore, the C-faithful parser core. Each passed the graduation gate in its pull request: trees and subtree reuse equal pinned C, and time and memory at or below the existing engine.
  • Other grammars keep the existing engine, and calling code does not change. parser.SetAdmissionCandidateRoute(false) keeps one parser off the core.
  • Add LangEntry.ParseContext and LangEntry.ParseStrict for cancellation and early-stop errors, and Tree.RetryStopReason().

Upgrade notes

  • Trees for the 34 certified grammars can change where v0.57.0 differed from the C runtime, for example on text with syntax errors; they now match C. This affects callers that compare trees or node counts across versions. To keep the v0.57.0 engine for one parser, call parser.SetAdmissionCandidateRoute(false); it takes effect on the next parse, and a tree the core built is then reparsed fresh. ClearAdmissionCandidateRoute() returns the parser to the default. The process-wide SetAdmissionCandidateRouteDefault and GTS_ADMISSION_CANDIDATE do not move certified grammars off the core.

Added

  • Add LangEntry.ParseContext(ctx, src) for cooperative context cancellation and deadlines. Existing entry.Parse(src) calls remain supported (#1590).
  • Add LangEntry.ParseStrict(ctx, src) to report early stops while preserving registered token-source selection. Non-nil trees remain caller-owned even when an error is returned. Both methods use the registered token source when there is one. Cancellation sets the parser's existing cancellation flag, so it cannot interrupt a blocking loader, scanner or token source, and a parse that finished before a late cancellation keeps its result (#1590).
  • Add internal/ccore, a C-faithful parser core: parser, stack, subtrees, lexer, error recovery, external scanners, edits and reuse, using only the standard library. It has no public API of its own; certified grammars reach it through the ordinary Parser (see Changed). On the test corpus it equals pinned C 0.27.1 on 1,197 of 1,198 decision traces, 1,283 of 1,283 visible-tree digests, 1,233 of 1,233 record sets and 509 of 509 incremental session steps. On real files, 178 of 202 grammars are fully equal (#1592, #1595).
  • Add root adapters that build ccore tables from a *Language, the packages internal/ccore/bind and internal/ccore/bind/bindtest, table validation, and a required CI job, ccore-equality-cgo. On every pull request that changes code, the job compares the new core with pinned C for json, python, c and typescript

... (truncated)

Commits

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.57.0 to 0.58.0.
- [Release notes](https://github.com/odvcencio/gotreesitter/releases)
- [Changelog](https://github.com/odvcencio/gotreesitter/blob/main/CHANGELOG.md)
- [Commits](odvcencio/gotreesitter@v0.57.0...v0.58.0)

---
updated-dependencies:
- dependency-name: github.com/odvcencio/gotreesitter
  dependency-version: 0.58.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 go Pull requests that update go code labels Nov 30, 2026
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1da5d5cc-f443-4383-8791-69ff8ebf206c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@andrew
andrew merged commit 5be8305 into main Nov 30, 2026
6 checks passed
@andrew
andrew deleted the dependabot/go_modules/github.com/odvcencio/gotreesitter-0.58.0 branch November 30, 2026 17:42
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