Skip to content

gotreesitter v0.20.2

Choose a tag to compare

@odvcencio odvcencio released this 06 Jun 04:04

Patch release for the post-v0.20 parser reliability train.

Fixed:

  • #98 / #106: bound C# namespace recovery sub-parses and propagate timeout/cancellation into recovery parses.
  • #99 / #107: recover Swift top-level declarations after license headers, including import Foundation followed by declarations.
  • #100 / #109: stop inferred Go tags from capturing return types as definition.function.
  • #101, #102, #103, #108: align JavaScript/TypeScript optional-chain, TypeScript dynamic import, and Python case-pattern/block-start normalization with C tree-sitter shapes.

Testing:

  • #104 adds a multi-language structural corpus parity gate for Go, Java, JavaScript, Python, and TypeScript.
  • The merged fix PRs passed focused Docker parity/unit gates plus CI build, freshness, cgo parity smoke, and perf-regression checks.

Note: #105 remains open for the broader forest/ergonomics branch; it is not part of this release.