tree-sitter
Rust bindings to the Tree-sitter parsing library
0.26.12
34M downloads/mo
#1557 most downloaded on crates.io
tree-sitter/tree-sitter
What this package is like to depend on
Last release 15 days ago
08 Aug 2026
Ships fairly regularly
a new release about every 4 weeks
Rarely documented
notes for 7 of 78 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
79 releases · first in 2018
12 releases in the last 12 months
see the full history below
Release timeline
79 releases · May 2018 to Aug 2026Releases
latest 60 of 79-
0.26.1208 Aug 2026Release notes
Open source →What's Changed
- fix(generate): fold case-insensitive patterns ourselves by @WillLillis in #5761
- fix(query): keep the trailing anchor when a zero-matched quantifier is anchored on both sides by @tree-sitter-ci-bot[bot] in #5764
- fix(templates): add C source files to Python sdist by @WillLillis in #5765
- fix(init): don't lowercase repository url by @tree-sitter-ci-bot[bot] in #5768
- fix(highlight): use
std::sync::OnceCellfor various loader fields by @WillLillis in #5785 - fix(parser): restart recovery for invalid tokens in the error state by @tree-sitter-ci-bot[bot] in #5792
- Fix associativity resolution with mixed shift precedences by @tree-sitter-ci-bot[bot] in #5796
- fix(parser): fix parsing bug repeat operator by @tree-sitter-ci-bot[bot] in #5829
- release v0.26.12 by @clason in #5831
Full Changelog: v0.26.11...v0.26.12
-
0.26.1112 Jul 2026Release notes
Open source →What's Changed
- fix(deps): zig manifest for wasmtime is missing windows hashes by @tree-sitter-ci-bot[bot] in #5720
- fix(xtask): eliminate silent errors in zig fetch by @WillLillis in #5724
- fix(query): short-circuit longest-match dedup for disjoint states by @tree-sitter-ci-bot[bot] in #5726
- fix(query): various anchor fixes by @tree-sitter-ci-bot[bot] in #5727
- Fix C++ compilation errors in array macros. by @tree-sitter-ci-bot[bot] in #5735
- fix(rust): address new clippy lints by @WillLillis in #5743
- fix(generate): strip non-ASCII case folds by @tree-sitter-ci-bot[bot] in #5744
- fix(ci): re-set executable permission on release artifacts before zipping by @clason in #5746
- release v0.26.11 by @clason in #5748
Full Changelog: v0.26.10...v0.26.11
-
0.26.1028 Jun 2026Release notes
Open source →What's Changed
- fix(lib): update doc comment for
ts_parser_parseby @WillLillis in #5642 - fix(lib): use correct TREE_SITTER_HIDE_SYMBOLS macro name in alloc.h by @tree-sitter-ci-bot[bot] in #5643
- fix(cli): improve soundness of cst range calculation by @WillLillis in #5650
- fix(lib): Consider subtree lookahead bytes when determining whether the parser can reuse a node. by @tree-sitter-ci-bot[bot] in #5656
- fix(cli): display warning to user if parser test corpus dir isn't found by @tree-sitter-ci-bot[bot] in #5669
- fix: add DESCRIPTION to grammar Makefile template by @WillLillis in #5672
- fix(cli): infinite loop in highlight test by @WillLillis in #5674
- fix(lib): address strict aliasing violations in
TreeCursortype by @WillLillis in #5693 - build(deps): bump wasmtime-c-api to v36.0.12 by @clason in #5709
- fix(dsl): forbid invalid field names by @WillLillis in #5710
- Fix issues with queries matching a parent node with anchored children (siblings) by @tree-sitter-ci-bot[bot] in #5712
- test(query): regression test for anchored siblings inside a parent by @tree-sitter-ci-bot[bot] in #5716
- release v0.26.10 by @WillLillis in #5717
Full Changelog: v0.26.9...v0.26.10
- fix(lib): update doc comment for
-
0.26.919 May 2026Release notes
Open source →What's Changed
- ci(actions): bump actions/cache to v5 by @tree-sitter-ci-bot[bot] in #5482
- build(deps): bump wasmtime-c-api to v36.0.7 by @WillLillis in #5514
- fix(loader): allow filenames with dots by @tree-sitter-ci-bot[bot] in #5538
- fix(rust): fix new clippy lints by @WillLillis in #5539
- test: bump c test fixture to v0.24.2 by @tree-sitter-ci-bot[bot] in #5542
- fix(generate): pass default optimization level in
generate_parser_for_grammarby @tree-sitter-ci-bot[bot] in #5543 - feat(dist): enable install via
cargo binstall(#5533) by @clason in #5544 - Prevent a buffer over-read when parsing 4-byte UTF-16 characters. by @tree-sitter-ci-bot[bot] in #5549
- fix(query): overflow in capture pool ids + some perf by @tree-sitter-ci-bot[bot] in #5555
- docs: note zero point unbounded behavior in query functions by @WillLillis in #5563
- build(deps): bump wasmtime-c-api to v36.0.8 by @clason in #5574
- fix(cli): account for process versions > 5 in the parse command's pretty debug output. by @tree-sitter-ci-bot[bot] in #5577
- fix(generate): improve error message for nonterminals used in immediate token rule by @tree-sitter-ci-bot[bot] in #5583
- fix(generate): rewrite
parse_grammarwith forward DFS by @WillLillis in #5584 - fix(wasm): load supertype tables for ABI 15 grammars by @tree-sitter-ci-bot[bot] in #5606
- build(deps): bump wasmtime-c-api to v36.0.9 by @clason in #5611
- Validate Wasm language memory reads by @tree-sitter-ci-bot[bot] in #5613
- release v0.26.9 by @clason in #5612
Full Changelog: v0.26.8...v0.26.9
-
0.26.831 Mar 2026Release notes
Open source →What's Changed
- fix(generate): allow disabling
qjs-rtfeature from CLI by @WillLillis in #5448 - fix(lib): document invariants that must be upheld for
TSInputEditby @WillLillis in #5452 - fix(cli): correct typo in
parsecommand's help text by @WillLillis in #5465 - perf(cli): misc. improvements by @tree-sitter-ci-bot[bot] in #5476
- Fix wasm loading of languages w/ multiple reserved word sets by @tree-sitter-ci-bot[bot] in #5477
- generate: avoid panicking when a supertype only has hidden external token children by @tree-sitter-ci-bot[bot] in #5478
- release v0.26.8 by @clason in #5479
Full Changelog: v0.26.7...v0.26.8
- fix(generate): allow disabling
-
0.26.714 Mar 2026Release notes
Open source →Notable Changes
- A regression in v0.26.6 with quantified alternations was fixed.
- Release artifacts for the tree-sitter CLI are now published as zip archives (in addition to gzipped executables, which are planned for removal in a future minor release).
What's Changed
- fix: skip missing Makefile in version command by @tree-sitter-ci-bot[bot] in #5386
- fix(wasm): pass target triple to clang (#5385) by @clason in #5390
- chore(parser): return
NULL, notfalse, for incomplete parse by @tree-sitter-ci-bot[bot] in #5398 - fix(loader): link with libc on OpenBSD to compile parser by @tree-sitter-ci-bot[bot] in #5399
- refactor(query): remove
alternative_is_immediateby @tree-sitter-ci-bot[bot] in #5412 - fix(query): don't add copies for quantifier steps outside alternations by @tree-sitter-ci-bot[bot] in #5414
- revert allowing dashes in parser name by @tree-sitter-ci-bot[bot] in #5433
- ci(release): publish zip archives by @clason in #5434
- release v0.26.7 by @clason in #5435
Full Changelog: v0.26.6...v0.26.7
-
0.26.625 Feb 2026Release notes
Open source →What's Changed
- lib: clean up strict aliasing fixes in array.h by @tree-sitter-ci-bot[bot] in #5311
- feat: allow
-in grammar names by @tree-sitter-ci-bot[bot] in #5318 - fix(cli): allow for both debug logs and graphs by @tree-sitter-ci-bot[bot] in #5319
- web: add default export to CJS bundle by @tree-sitter-ci-bot[bot] in #5323
- fix(query): prevent cross-branch capture contamination in alternations with quantifiers by @tree-sitter-ci-bot[bot] in #5320
- ci: speed it up by @WillLillis in #5325
- use provided by RedoxOS byte orders implementations by @tree-sitter-ci-bot[bot] in #5346
- build(deps): bump wasmtime to v36.0.5 LTS by @clason in #5351
- fix(lib): cast NULL in ts_subtree_children macro by @tree-sitter-ci-bot[bot] in #5353
- ci: backport release check workflow by @WillLillis in #5358
- ci: retrigger crates check on PR updates by @tree-sitter-ci-bot[bot] in #5361
- cli: init -u fixes by @WillLillis in #5367
- build(deps): bump wasmtime to v36.0.6 by @clason in #5370
- 0.26.6 by @clason in #5372
Full Changelog: v0.26.5...v0.26.6
-
0.26.501 Feb 2026Nothing published for this version
-
0.26.313 Dec 2025Nothing published for this version
-
0.26.209 Dec 2025Nothing published for this version
-
0.25.1022 Sep 2025Nothing published for this version
-
0.25.906 Sep 2025Nothing published for this version
-
0.25.813 Jul 2025Nothing published for this version
-
0.25.712 Jul 2025Nothing published for this version
-
0.25.604 Jun 2025Nothing published for this version
-
0.25.528 May 2025Nothing published for this version
-
0.25.411 May 2025Nothing published for this version
-
0.25.305 Mar 2025Nothing published for this version
-
0.25.218 Feb 2025Nothing published for this version
-
0.25.102 Feb 2025Nothing published for this version
-
0.25.001 Feb 2025Nothing published for this version
-
0.24.712 Jan 2025Nothing published for this version
-
0.24.627 Dec 2024Nothing published for this version
-
0.24.511 Dec 2024Nothing published for this version
-
0.24.410 Nov 2024Nothing published for this version
-
0.24.309 Oct 2024Nothing published for this version
-
0.24.206 Oct 2024Nothing published for this version
-
0.24.104 Oct 2024Nothing published for this version
-
0.24.004 Oct 2024Nothing published for this version
-
0.23.201 Oct 2024Nothing published for this version
-
0.23.026 Aug 2024Nothing published for this version
-
0.22.605 May 2024Nothing published for this version
-
0.22.514 Apr 2024Nothing published for this version
-
0.22.413 Apr 2024Nothing published for this version
-
0.22.312 Apr 2024Nothing published for this version
-
0.22.217 Mar 2024Nothing published for this version
-
0.22.110 Mar 2024Nothing published for this version
-
0.22.010 Mar 2024 withdrawnNothing published for this version
-
0.21.021 Feb 2024Nothing published for this version
-
0.20.1005 Apr 2023Nothing published for this version
-
0.20.902 Sep 2022Nothing published for this version
-
0.20.827 Jun 2022Nothing published for this version
-
0.20.722 Jun 2022Nothing published for this version
-
0.20.608 Mar 2022Nothing published for this version
-
0.20.502 Mar 2022Nothing published for this version
-
0.20.404 Feb 2022Nothing published for this version
-
0.20.322 Jan 2022Nothing published for this version
-
0.20.231 Dec 2021Nothing published for this version
-
0.20.121 Nov 2021Nothing published for this version
-
0.20.003 Sep 2021Nothing published for this version
-
0.19.520 May 2021Nothing published for this version
-
0.19.312 Mar 2021Nothing published for this version
-
0.19.208 Mar 2021Nothing published for this version
-
0.19.106 Mar 2021Nothing published for this version
-
0.19.001 Mar 2021Nothing published for this version
-
0.17.103 Nov 2020Nothing published for this version
-
0.17.024 Sep 2020Nothing published for this version
-
0.16.101 Jun 2020Nothing published for this version
-
0.16.012 May 2020Nothing published for this version
-
0.6.302 Mar 2020Nothing published for this version