pypi / tree-sitter
tree-sitter
What changed in tree-sitter 0.26, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.
4 breaking6 new APIs and options1 behavior and defaults
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inittree-sitter 0.2611 changes
Breaking changes 4
Removes Language.query(source); use Query(language, source) instead.
Removes Language.version; use Language.abi_version instead.
Removes Parser.timeout_micros; use the progress_callback in parse() instead.
Removes QueryCursor.timeout_micros; use the progress_callback in matches() or captures() instead.
New APIs and options 6
Adds Point.__repr__().
Adds Point.edit().
Adds QueryCursor.set_containing_byte_range().
Adds QueryCursor.set_containing_point_range().
Adds Range.edit().
Adds tree_sitter.__version__.
Behavior and default changes 1
Point is now a tuple subclass rather than a namedtuple object.