PackageTrack

Go modules · #2371

github.com/odvcencio/gotreesitter

v0.51.0odvcencio/gotreesitter

Release timeline

640 releases since 2026
2026

Releases

  1. v0.7.1-0.20260316032930-36b45f59723916 Mar 2026pre-release

    Nothing published for this version

  2. v0.7.016 Mar 2026
    Release notes2 sources agree

    Added

    • Incremental parsing engine: fast path for token-invariant leaf edits, top-level node reuse after edits, dirty-flag clearing along modified path only, and external scanner checkpoints for incremental reuse.
    • Adaptive arena sizing and GSS capacity hinting for incremental and full parses.
    • Parser timeout and cancellation support (WithTimeout, WithCancellation).
    • Parser pool for concurrent parse workloads.
    • Arena memory budget to prevent OOM crashes.
    • Linguist-style language detection: filename, extension, and interpreter/shebang-based detection with display names (cmd/gen_linguist, grammars/linguist_*.go).
    • Syntax highlighting queries for 40+ additional languages including top-50 grammars, norg, promql, and tmux.
    • Native TOML lexer with date/time parsing.
    • GLR-aware C preprocessor lexer with function-like macros, signed literals, and synthetic endif.
    • Query metadata accessors for captures, strings, and pattern ranges.
    • Query match limits, depth bounds, and symbol alias support.
    • Tree.Copy, Parser.Language, Node.Edit, and RootNodeWithOffset API additions.
    • Parser logging and tree DOT visualization for debugging.
    • Multi-strategy full parse retry with bounded escalation.
    • Dense token lookup for small parser states.
    • Real-world corpus parity board and reporter (cgo_harness).
    • GLR canary set and cap-pressure tests for parity regression detection.
    • CI grammar freshness validation, tiered benchmark baselines, and coverage ratchet.

    Changed

    • Structural language parity coverage expanded from 54 to 100 curated languages.
    • Parser reduce hot path optimized: scratch buffers, pre-computed alias sequences, fast visible reduce path, deferred hidden node flattening to visible parent boundary.
    • GLR engine tuned: lazy GSS node hashing in single-stack mode, key-based stack culling, small-path merge optimization, temporary stack oversubscription before culling.
    • Query engine optimized: dense array for root pattern lookup, compile-time alternation matching index, avoid heap allocation for candidate indices.
    • Go and TypeScript normalization refactored to symbol-based context; span attribution switched on language.

    Fixed

    • Top-50 parity burndown: broad fixes across lexers, normalization, scanners, and GLR paths reducing degraded grammars to 0.
    • GLR robustness: deterministic stack culling, correct tie-breaking for duplicate stacks, all-dead stack recovery, preferred visible tokens in union DFA on exact ties, higher action specificity on same lexeme.
    • External scanner fixes: correct MarkEnd ordering, retry with state validation table, deterministic external-scanner mode for parity.
    • Field attribution: prevent inherited field misassignment across GLR branches, correct field assignment for C# join clauses, skip inherited field projection when target span has direct fields.
    • Span calculation: correct span for invisible nodes in GLR reduce, chain hidden spans via backward scan, extend parent span to window with predecessor boundary clamping.
    • Query fixes: handle repeated field names with sibling capture accumulation, multi-sibling grouping patterns with wildcard root.
    • Zero-width token handling to match C tree-sitter semantics.
    • Byte offset-based UTF-8 column tracking in lexer.
    • Infinite missing-token recovery cycles prevented.
    • Conflicting inherited field IDs in buildFieldIDs resolved.
    Open source →
  3. v0.6.1-0.20260313093557-0325908988d613 Mar 2026pre-release

    Nothing published for this version

  4. v0.6.1-0.20260313011807-52511a2c8ffe13 Mar 2026pre-release

    Nothing published for this version

  5. v0.6.1-0.20260311120359-68e85114acc011 Mar 2026pre-release

    Nothing published for this version

  6. v0.6.1-0.20260306002001-fbe5983c6f416 Mar 2026pre-release

    Nothing published for this version

  7. v0.6.1-0.20260305075938-5e7e305217155 Mar 2026pre-release

    Nothing published for this version

  8. v0.6.1-0.20260304154935-3e2ea73cfb3b4 Mar 2026pre-release

    Nothing published for this version

  9. v0.6.1-0.20260304090233-c5d8abd0bcdd4 Mar 2026pre-release

    Nothing published for this version

  10. v0.6.1-0.20260304061736-42d29f9015634 Mar 2026pre-release

    Nothing published for this version

  11. v0.6.1-0.20260304051113-a36b0f45a6eb4 Mar 2026pre-release

    Nothing published for this version

  12. v0.6.1-0.20260304045156-35c64a2a72124 Mar 2026pre-release

    Nothing published for this version

  13. v0.6.1-0.20260304043105-5cbe98fa80f54 Mar 2026pre-release

    Nothing published for this version

  14. v0.6.1-0.20260303224937-99917cf664f53 Mar 2026pre-release

    Nothing published for this version

  15. v0.6.1-0.20260303160145-0835589af6793 Mar 2026pre-release

    Nothing published for this version

  16. v0.6.1-0.20260302223957-bd9865ae74882 Mar 2026pre-release

    Nothing published for this version

  17. v0.6.1-0.20260302213701-1fdab5f3cc1c2 Mar 2026pre-release

    Nothing published for this version

  18. v0.6.1-0.20260302195045-b814814f58112 Mar 2026pre-release

    Nothing published for this version

  19. v0.6.1-0.20260302173816-cf6d6a44ace72 Mar 2026pre-release

    Nothing published for this version

  20. v0.6.1-0.20260301130830-99c3859780411 Mar 2026pre-release

    Nothing published for this version

  21. v0.6.1-0.20260301125754-ce7d35d1e4421 Mar 2026pre-release

    Nothing published for this version

  22. v0.6.1-0.20260301125317-616376dda92e1 Mar 2026pre-release

    Nothing published for this version

  23. v0.6.01 Mar 2026
    Release notes2 sources agree

    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.
    Open source →
  24. v0.5.3-0.20260301125121-c9311a02a6cc1 Mar 2026pre-release

    Nothing published for this version

  25. v0.5.3-0.20260301093902-952a94aa62701 Mar 2026pre-release

    Nothing published for this version

  26. v0.5.3-0.20260227204523-4d54eb1385c127 Feb 2026pre-release

    Nothing published for this version

  27. v0.5.3-0.20260227105121-45a00d5c127127 Feb 2026pre-release

    Nothing published for this version

  28. v0.5.3-0.20260227083844-016686287e7c27 Feb 2026pre-release

    Nothing published for this version

  29. v0.5.3-0.20260227072035-f76cb0d8aa9527 Feb 2026pre-release

    Nothing published for this version

  30. v0.5.3-0.20260227062155-717a376038a227 Feb 2026pre-release

    Nothing published for this version

  31. v0.5.3-0.20260227054203-b8f38a96b95627 Feb 2026pre-release

    Nothing published for this version

  32. v0.5.3-0.20260226215501-b317ef8f18e726 Feb 2026pre-release

    Nothing published for this version

  33. v0.5.3-0.20260225211443-79db71cfc5e325 Feb 2026pre-release

    Nothing published for this version

  34. v0.5.3-0.20260225203802-89748066d56025 Feb 2026pre-release

    Nothing published for this version

  35. v0.5.225 Feb 2026
    Release notes2 sources agree

    Fixed

    • Simplified asm register-label query pattern fix in bundled grammar queries.
    Open source →
  36. v0.5.125 Feb 2026
    Release notes2 sources agree

    Fixed

    • Corrected tree-sitter query node types in bundled grammar queries.
    Open source →
  37. v0.5.025 Feb 2026

    Nothing published for this version

  38. v0.4.024 Feb 2026
    Release notes2 sources agree

    Fixed

    • Parser span-calculation correctness fixes.
    • ts2go GOTO/action detection fixes.
    Open source →
  39. v0.3.024 Feb 2026
    Release notes2 sources agree

    Added

    • Benchmark suite for parser/query/highlighter/tagger paths.
    • Fuzzing targets and stress-test coverage.
    Open source →
  40. v0.2.024 Feb 2026
    Release notes2 sources agree

    Added

    • Broad grammar expansion with external-scanner support across 80+ grammars.
    Open source →
  41. v0.1.1-0.20260221200005-38b3c86284a821 Feb 2026pre-release

    Nothing published for this version

  42. v0.1.020 Feb 2026
    Release notes2 sources agree

    Added

    • Initial standalone pure-Go runtime module.
    • External scanner VM foundation and base parser/lexer/tree infrastructure.
    Open source →
  43. v0.0.0-20260826001744-6dab5c9516c126 Aug 2026pre-release

    Nothing published for this version

  44. v0.0.0-20260825204355-e4557bac36ec25 Aug 2026pre-release

    Nothing published for this version

  45. v0.0.0-20260825043452-509b9298aff925 Aug 2026pre-release

    Nothing published for this version

  46. v0.0.0-20260825013656-86935ad2713325 Aug 2026pre-release

    Nothing published for this version

  47. v0.0.0-20260825005713-776cbe79954725 Aug 2026pre-release

    Nothing published for this version

  48. v0.0.0-20260825001530-1c562a264e1b25 Aug 2026pre-release

    Nothing published for this version

  49. v0.0.0-20260824233642-0ff900f3006f24 Aug 2026pre-release

    Nothing published for this version

  50. v0.0.0-20260824183936-b76b6535f1b424 Aug 2026pre-release

    Nothing published for this version

  51. v0.0.0-20260824162203-877d6b3cccd124 Aug 2026pre-release

    Nothing published for this version

  52. v0.0.0-20260824131014-55681868d3a224 Aug 2026pre-release

    Nothing published for this version

  53. v0.0.0-20260824104911-da6f71471aaa24 Aug 2026pre-release

    Nothing published for this version

  54. v0.0.0-20260824101755-ab84e809297e24 Aug 2026pre-release

    Nothing published for this version

  55. v0.0.0-20260824094544-af056b2d90e524 Aug 2026pre-release

    Nothing published for this version

  56. v0.0.0-20260824092529-5bc74aa5107a24 Aug 2026pre-release

    Nothing published for this version

  57. v0.0.0-20260824090618-64a03cb54db824 Aug 2026pre-release

    Nothing published for this version

  58. v0.0.0-20260824083539-4305e33a553124 Aug 2026pre-release

    Nothing published for this version

  59. v0.0.0-20260824080740-c0e8af1b633224 Aug 2026pre-release

    Nothing published for this version

  60. v0.0.0-20260824074319-53b46f4c0b1e24 Aug 2026pre-release

    Nothing published for this version