Changelog

All notable changes to this project are documented in this file.

This project follows Semantic Versioning for tags and release notes while still in 0.x.

[0.6.1] - 2026-03-04

0.6.0 - 2026-03-01

Added

  • ParseWith functional options API (WithOldTree, WithTokenSource, WithProfiling) and ParseResult.
  • Parser runtime diagnostics surfaced on Tree (ParseRuntime, stop-reason/truncation metadata).
  • Top-50 grammar smoke correctness gate and expanded cgo parity suites (fresh parse, no-error corpus checks, issue repros, GLR canary).
  • Grammar lock update automation (cmd/grammar_updater + CI workflow integration).
  • Configurable injection parser nesting depth.

Changed

  • Full-parse GLR behavior tuned for correctness-first performance:
    • lower default global GLR stack cap with better top-K retention behavior,
    • improved merge/pruning hot paths and profiling counters,
    • benchmark harness tightened to avoid truncated-parse results.
  • Significant parser/query maintainability refactors:
    • parser/query monoliths split into focused files (parser_*, query_compile_*).
  • README benchmark and gate documentation refreshed to match current numbers and commands.

Fixed

  • Multiple parity/correctness regressions in HTML/YAML/disassembly paths and grammar support wiring.
  • Query predicate parsing and generated query edge cases.
  • Rewriter multi-edit coordinate handling and parser profile availability signaling.

0.5.2 - 2026-02-24

Fixed

  • Simplified asm register-label query pattern fix in bundled grammar queries.

0.5.1 - 2026-02-24

Fixed

  • Corrected tree-sitter query node types in bundled grammar queries.

0.4.0 - 2026-02-24

Fixed

  • Parser span-calculation correctness fixes.
  • ts2go GOTO/action detection fixes.

0.3.0 - 2026-02-23

Added

  • Benchmark suite for parser/query/highlighter/tagger paths.
  • Fuzzing targets and stress-test coverage.

0.2.0 - 2026-02-23

Added

  • Broad grammar expansion with external-scanner support across 80+ grammars.

[0.1.0] - 2026-02-19

Added

  • Initial standalone pure-Go runtime module.
  • External scanner VM foundation and base parser/lexer/tree infrastructure.