Skip to content

gotreesitter v0.51.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Aug 16:58
· 316 commits to main since this release
8c17e0e

Added

  • Add grammars.ParseFilePooledStrict. It rejects a partial tree and returns
    the parser stop error.

  • Add Tagger.TagStrict. It returns tags only after a complete parse and
    preserves parser errors.

Changed

  • Bound pending fork-stack retention. Keep a bounded reserve during parsing,
    and drop oversized storage at parse and parser-pool boundaries.

  • Separate C-runtime recovery walk, convergence, and fallback state. Reset
    these states across parse, retry, snippet, pool, and iteration boundaries.

  • Provision dense reach marks when generalized LR (GLR) slabs grow. Owned nodes
    no longer use the pointer-map fallback.

Fixed

  • Clear stale C-runtime recovery state after a clean condense. A clean suffix
    no longer inherits an active recovery-cost gate.

Tests

  • Align the Application Binary Interface version 14 (ABI-14) lexer-mode probe
    with generated end-of-file behavior. The probe now checks the emitted layout
    without injecting an end-of-file state.

Continuous integration (CI)

  • The project merged pull request (PR) #732.
    Its CI-only change separates query-fleet smoke tests from regular shards and
    is not part of this release.

Open work

The following items remain open: