NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #1389 most downloaded on crates.io
Rust bindings to the Tree-sitter parsing library
Latest stable
0.27.2
Last release 15 days ago
07 Nov 2026
Ships fairly regularly
a new release about every 4 weeks
Most releases are documented
notes for 41 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
9 years old
83 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
fix(cli): detect corpus parse errors from the tree by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/6030
ERROR in ts_language_symbol_for_name by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/6031ts_node_has_error by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/6058NULL suffixes by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/6073unnecessary-box-pin lint by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/6089uninstall by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/6098Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.27.1...v0.27.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
fix: decode UTF-16 surrogate pairs with input endianness by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/5913
std::fs::canonicalize by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/6018Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.27.0...v0.27.1
feat: start working on v0.27 by @clason in https://github.com/tree-sitter/tree-sitter/pull/5127
--no-ranges by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5134init by @clason in https://github.com/tree-sitter/tree-sitter/pull/5152highlight command by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5180--output path by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5183test --update rewrite all corpus files by @arkriny in https://github.com/tree-sitter/tree-sitter/pull/5179tree-sitter init -u updates by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5178tree-sitter test by @arkriny in https://github.com/tree-sitter/tree-sitter/pull/5197_BSD_SOURCE by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5219nm can't be run to verify the symbols inside the parser being built by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5245wasm-stdlib.h is regenerated when wasm stdlib source files are modified by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5229iswpunct to stdlib by @clason in https://github.com/tree-sitter/tree-sitter/pull/5130Array type by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5242build command by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5258realloc by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5261realloc optimization by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5276--verbose flag to build command by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5285std::env::set_var inside unsafe blocks by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5293u32 from Node::child_count by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5313- in grammar names by @jfly in https://github.com/tree-sitter/tree-sitter/pull/5315unsafe extern -> extern in rendered C parser by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5352Package.swift scanner detection when used as a dependency by @amaanq in https://github.com/tree-sitter/tree-sitter/pull/5362init -u fixes by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5364NULL, not false, for incomplete parse by @ribru17 in https://github.com/tree-sitter/tree-sitter/pull/5397alternative_is_immediate by @ribru17 in https://github.com/tree-sitter/tree-sitter/pull/5395Mutex by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5439qjs-rt feature from CLI by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5442TSInputEdit by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5441LookaheadIterator in error recovery's all-symbol scan by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5451CC variable by @futsuuu in https://github.com/tree-sitter/tree-sitter/pull/5466tree-sitter.json for ABI 15 by @clason in https://github.com/tree-sitter/tree-sitter/pull/5492cargo binstall by @wetneb in https://github.com/tree-sitter/tree-sitter/pull/5533generate_parser_for_grammar by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5541Language.loadSync for synchronous loading by @WilcoKruijer in https://github.com/tree-sitter/tree-sitter/pull/5222parse_grammar with forward DFS by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5580ts_parser_parse by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5639Deserialize on GenerateError and all subtypes by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5644ts_subtree__write_to_string iteratively by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5622IoError structs by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5675tree-sitter test --show-diff-symbols by @buckynbrocko in https://github.com/tree-sitter/tree-sitter/pull/5330TreeCursor type by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5686ts_query_copy for cloning queries by @the-mikedavis in https://github.com/tree-sitter/tree-sitter/pull/5649ts_set_allocator to accept one optional Allocator object rather than 4 separate optional function pointers. by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5657Language::load to accept URL filepath by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5738LanguageError in highlight and tag crates' error enums by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5750init --update should not update setup.py after replacing it by @prednaz in https://github.com/tree-sitter/tree-sitter/pull/5760std::sync::OnceCell for various loader fields by @AlexLB99 in https://github.com/tree-sitter/tree-sitter/pull/5779Send + 'static by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5781OptLevel on generate_parser_for_grammar by @jaboatman in https://github.com/tree-sitter/tree-sitter/pull/5820MISSING nodes in queries by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5834skipped_quantifier flag when a by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5836LookaheadIterator by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5780node_types JSON generation logic by @amaanq in https://github.com/tree-sitter/tree-sitter/pull/5389generate_parser_in_directory. by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5868must_use attribute from Tree::changed_ranges by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5876Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.26.3...v0.27.0
fix(query): correctly identify MISSING nodes in queries by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/5835
MISSING nodes in queries by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/5835skipped_quantifier flag when a by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/5842must_use attribute from Tree::changed_ranges by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/5877Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.26.12...v0.26.13
fix(generate): fold case-insensitive patterns ourselves by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5761
std::sync::OnceCell for various loader fields by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5785Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.26.11...v0.26.12
fix(deps): zig manifest for wasmtime is missing windows hashes by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/5720
Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.26.10...v0.26.11
fix(lib): update doc comment for ts_parser_parse by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5642
ts_parser_parse by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5642TreeCursor type by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5693Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.26.9...v0.26.10
ci(actions): bump actions/cache to v5 by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/5482
generate_parser_for_grammar by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/5543cargo binstall (#5533) by @clason in https://github.com/tree-sitter/tree-sitter/pull/5544parse_grammar with forward DFS by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5584Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.26.8...v0.26.9
fix(generate): allow disabling qjs-rt feature from CLI by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5448
qjs-rt feature from CLI by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5448TSInputEdit by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5452parse command's help text by @WillLillis in https://github.com/tree-sitter/tree-sitter/pull/5465Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.26.7...v0.26.8
A regression in v0.26.6 with quantified alternations was fixed.
NULL, not false, for incomplete parse by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/5398alternative_is_immediate by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/5412Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.26.6...v0.26.7
lib: clean up strict aliasing fixes in array.h by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/5311
- in grammar names by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/5318Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.26.5...v0.26.6
Nothing published for this version
docs(cli): fix wrong file path for Java bindings test by @Marcono1234 in https://github.com/tree-sitter/tree-sitter/pull/5117
Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.26.2...v0.26.3
build(deps): bump esbuild from 0.27.0 to 0.27.1 in /lib/binding_web in the npm group across 1 directory by @dependabot[bot] in https://github.com/tree
Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.26.1...v0.26.2
Nothing published for this version
Replace deprecated function on build.zig by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/4621
Vec capacities by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/4629Node::utf16_text by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/4663var_i32_type after initializing global stack pointer value by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/4732ERROR node is named before assuming it's the builtin error node by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/4746Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.25.8...v0.25.9
fix(generate): propagate node types error by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/4603
Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.25.7...v0.25.8
fix(lib): replace raw array accesses with array_get by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/4487
test command to a single thread on windows by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/4504extra field in node-types.json by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/4569Vec capacities where appropriate by @tree-sitter-ci-bot[bot] in https://github.com/tree-sitter/tree-sitter/pull/4581Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.25.6...v0.25.7
Ignore lockfiles in grammar repos https://github.com/tree-sitter/tree-sitter/pull/4474
Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.25.5...v0.25.6
illumos has endian.h by @tree-sitter-ci-bot in https://github.com/tree-sitter/tree-sitter/pull/4451
Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.25.4...v0.25.5
fix(lib): remove duplicate TSLanguageMetadata typedef by @tree-sitter-ci-bot in https://github.com/tree-sitter/tree-sitter/pull/4270
make install shouldn’t fail when a parser bundles no queries by @tree-sitter-ci-bot in https://github.com/tree-sitter/tree-sitter/pull/4291BTreeMap over IndexMap for highlight configs by @tree-sitter-ci-bot in https://github.com/tree-sitter/tree-sitter/pull/4382move by @tree-sitter-ci-bot in https://github.com/tree-sitter/tree-sitter/pull/4410end subtree in ts_subtree_summarize_children by @tree-sitter-ci-bot in https://github.com/tree-sitter/tree-sitter/pull/4418last_child_step_index in cases where a new step wasn't created. by @tree-sitter-ci-bot in https://github.com/tree-sitter/tree-sitter/pull/4428Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.25.3...v0.25.4
Fixed an infinite loop that could happen in some grammars during error recovery if the end of the file was reached.
Fixed a crash that could occur when loading WASM-compiled languages that were generated with an earlier version of the Tree-sitter CLI (#4210).
result_symbol (#4218)tree-sitter-languages and tree-sitter crates (#4221)cli: Specify abi version via env var ( )
language functionubuntu-22.04 for x64 builds (https://github.com/tree-sitter/tree-sitter/pull/4175)…a timeout or a cancellation flag, which are now deprecated. To do so, use the "parse/query with options" function in the bindings you choose to use, i…
This is a large release. As such, a few major changes and how to adapt to them are outlined below:
web-tree-sitter was rewritten in TypeScript. With that, we also now publish the sourcemaps, and debug builds for the library. We also publish both CommonJS and ESM modules.tree-sitter.json file in your repository, since the version information for the parser is pulled from this file.time.h headers in the core library.MISSING nodes can now be queried, and queries involving supertypes are properly validated now.ts_node_child_containing_descendant function was removed; use ts_node_child_with_descendant instead (which has nearly the same behavior but can also return descendant.)TSInput now includes a (mandatory) new field DecodeFunction, which allows passing a custom decode function. To use the builtin function, pass NULL.RustRegex function, which takes in a Rust regex as a string. All of the capabilities of Rust's regex engine are available here, which allows for some nice features that aren't possible with JavaScript regexes.tree-sitter.json (https://github.com/tree-sitter/tree-sitter/pull/4107)regex_syntax::Hir for expanding regexes (https://github.com/tree-sitter/tree-sitter/pull/3831)ts_node_child_containing_descendant (https://github.com/tree-sitter/tree-sitter/pull/4107)pattern to patternIndex in QueryMatch (https://github.com/tree-sitter/tree-sitter/pull/4141)Language.query in favor of new Query (https://github.com/tree-sitter/tree-sitter/pull/4141)version subcommand for versioning grammars (https://github.com/tree-sitter/tree-sitter/pull/3786)get_column (https://github.com/tree-sitter/tree-sitter/pull/2503)emscripten-version (https://github.com/tree-sitter/tree-sitter/pull/4015)lazy_static in favor of LazyLock (https://github.com/tree-sitter/tree-sitter/pull/4130)web-tree-sitter.d.ts (https://github.com/tree-sitter/tree-sitter/pull/4121)patternIndex field to QueryCapture (https://github.com/tree-sitter/tree-sitter/pull/4141)PredicateStep types (https://github.com/tree-sitter/tree-sitter/pull/4141)cc 1.2 for Rust (https://github.com/tree-sitter/tree-sitter/pull/4156)init command (https://github.com/tree-sitter/tree-sitter/pull/3999)parse --time (https://github.com/tree-sitter/tree-sitter/pull/4016)test subcommand to include/exclude by corpus test file names (https://github.com/tree-sitter/tree-sitter/pull/4095).exp and .lib files to gitignore template (https://github.com/tree-sitter/tree-sitter/pull/4079)node-types.json (https://github.com/tree-sitter/tree-sitter/pull/4116)tree-sitter.json doesn't exist, rather than hard failing (https://github.com/tree-sitter/tree-sitter/pull/4156)TSHighlighter fields as pub (https://github.com/tree-sitter/tree-sitter/pull/3990)funding field (https://github.com/tree-sitter/tree-sitter/pull/4142)class-name field to grammars (https://github.com/tree-sitter/tree-sitter/pull/4142)title field to grammars (https://github.com/tree-sitter/tree-sitter/pull/4142)ts_parser_parse_with_options (https://github.com/tree-sitter/tree-sitter/pull/3843)ts_query_cursor_exec_with_options (https://github.com/tree-sitter/tree-sitter/pull/3843)const for TSCharacterRanges (https://github.com/tree-sitter/tree-sitter/pull/4027)Send + Sync for WasmStore (https://github.com/tree-sitter/tree-sitter/pull/4130)language_for_configuration (https://github.com/tree-sitter/tree-sitter/pull/3816)tree-sitter.json file is invalid (https://github.com/tree-sitter/tree-sitter/pull/3897)Language::node_kind_is_supertype (https://github.com/tree-sitter/tree-sitter/pull/3788)*_with_options to the parser and query cursor, deprecate old functions (https://github.com/tree-sitter/tree-sitter/pull/3843)thiserror for generate crate (https://github.com/tree-sitter/tree-sitter/pull/4048)Send + Sync for TagsConfiguration (https://github.com/tree-sitter/tree-sitter/pull/4130)--watch option for build-wasm and check-wasm-exports xtask commands (https://github.com/tree-sitter/tree-sitter/pull/4082)LanguageRef in Parser::language (https://github.com/tree-sitter/tree-sitter/pull/3797)StreamingIterator and StreamingIteratorMut (https://github.com/tree-sitter/tree-sitter/pull/4034)build_parse_table (https://github.com/tree-sitter/tree-sitter/pull/3798)tree-sitter.json in init (https://github.com/tree-sitter/tree-sitter/pull/3856)contains over is in warning (https://github.com/tree-sitter/tree-sitter/pull/3867). (https://github.com/tree-sitter/tree-sitter/pull/4142)kebab-case name is expected (https://github.com/tree-sitter/tree-sitter/pull/4142)ts_query_cursor_set (https://github.com/tree-sitter/tree-sitter/pull/3865)node_descendant_for (https://github.com/tree-sitter/tree-sitter/pull/3865)get_column when the lexer is at EOF (https://github.com/tree-sitter/tree-sitter/pull/3764)endian.h (https://github.com/tree-sitter/tree-sitter/pull/3772)subtree.h (https://github.com/tree-sitter/tree-sitter/pull/3787)clock_gettime on macOS again (https://github.com/tree-sitter/tree-sitter/pull/3976)last_child status to pattern alternatives in queries (https://github.com/tree-sitter/tree-sitter/pull/4067)JavaScript if the select info is undefinedPathBuf for --query-paths highlight option (https://github.com/tree-sitter/tree-sitter/pull/4071)ERROR in descendantsOfType (https://github.com/tree-sitter/tree-sitter/pull/4103)getExtent (https://github.com/tree-sitter/tree-sitter/pull/4074)check-artifacts script (https://github.com/tree-sitter/tree-sitter/pull/4158)test_flags arg if it's empty for cargo test (https://github.com/tree-sitter/tree-sitter/pull/3889)check-wasm-exports to web changes (https://github.com/tree-sitter/tree-sitter/pull/4121)npm install for editor integration (https://github.com/tree-sitter/tree-sitter/pull/3855)contributing.md--test-number entries for query, highlight, and tag subcommands (https://github.com/tree-sitter/tree-sitter/pull/4054)QueryCaptures during iteration (https://github.com/tree-sitter/tree-sitter/pull/4073)ts_tree_get_changed_ranges and ts_query_cursor_set_{byte,point}_range (https://github.com/tree-sitter/tree-sitter/pull/4114)--locked to installation instructions (https://github.com/tree-sitter/tree-sitter/pull/3850)scan functionansi_colours (https://github.com/tree-sitter/tree-sitter/pull/4151)CaptureQuantifier definition (https://github.com/tree-sitter/tree-sitter/pull/4141)assert_eq callsCargo.tomls (https://github.com/tree-sitter/tree-sitter/pull/3754)cliff.toml (https://github.com/tree-sitter/tree-sitter/pull/3831)bindings.rs & add Language::name (https://github.com/tree-sitter/tree-sitter/pull/3847)ci if documentation files & friends have changedweb-tree-sitter (https://github.com/tree-sitter/tree-sitter/pull/4121)tree-sitter-language to 0.1.4api.h or bindings.rs changes (https://github.com/tree-sitter/tree-sitter/pull/4036)commit.github to commit.remote (https://github.com/tree-sitter/tree-sitter/pull/4116)docs has changedtree-sitter.pc generation (#3745) (https://github.com/tree-sitter/tree-sitter/pull/3745)files in package.json instead of .npmignore (https://github.com/tree-sitter/tree-sitter/pull/4121)extends beyond to contains or starts after (https://github.com/tree-sitter/tree-sitter/pull/4046)FUNDING.ymlFUNDING.ymllib: Use inclusive range check for non-empty nodes in next sibling computation
playground: backport new playground
[0.24.6] - 2024-12-27
lib: Correct next sibling of zero width node
clock_gettime on macOS againloader: Add language_for_configuration
language_for_configurationtree-sitter.json file is invalidLanguageRef in Parser::languagetree-sitter.json in initcontains over is in warninglib: Correct unexpected side effect in get_column when the lexer is at EOF
get_column when the lexer is at EOFtemplates: Properly replace author email
tree-sitter.pc generation (#3745)generate: Move generated header files into the generate crate
Deprecate child_containing_descendant and add child_with_descendant instead ( )
filter flag from commands in favor of include and exclude (https://github.com/tree-sitter/tree-sitter/pull/3604)build-wasm subcommand (https://github.com/tree-sitter/tree-sitter/pull/3605)init command (https://github.com/tree-sitter/tree-sitter/pull/3694)StreamingIterator instead of Iterator for QueryMatches and QueryCaptures (https://github.com/tree-sitter/tree-sitter/pull/3504)goto_first_child_for_{byte,point} (https://github.com/tree-sitter/tree-sitter/pull/3263)field_name_for_named_child (https://github.com/tree-sitter/tree-sitter/pull/3614)root field in node-types.json (https://github.com/tree-sitter/tree-sitter/pull/3615)rebuild flag to force rebuild parsers (https://github.com/tree-sitter/tree-sitter/pull/3672)--overview-only to test subcommand (https://github.com/tree-sitter/tree-sitter/pull/3501)go-tree-sitter version (https://github.com/tree-sitter/tree-sitter/pull/3564)no-ranges flag to the parse command (https://github.com/tree-sitter/tree-sitter/pull/3687)tree-sitter dev dependency to 0.23 (https://github.com/tree-sitter/tree-sitter/pull/3563)--no-bindings flagchild_containing_descendant and add child_with_descendant instead (https://github.com/tree-sitter/tree-sitter/pull/3708)edit signature (https://github.com/tree-sitter/tree-sitter/pull/3599)RUST_BINDING_VERSION in Cargo.toml template1.22 (https://github.com/tree-sitter/tree-sitter/pull/3711)fuzz subcommand (https://github.com/tree-sitter/tree-sitter/pull/3562)fuzz command (#3635) (https://github.com/tree-sitter/tree-sitter/pull/3635):skip & don't report errors on tests marked with :error (https://github.com/tree-sitter/tree-sitter/pull/3640)tree-sitter to the dev-dependencies of the Cargo.toml (https://github.com/tree-sitter/tree-sitter/pull/3597)Package.swift (https://github.com/tree-sitter/tree-sitter/pull/3631)*.scm section to .editorconfig template (https://github.com/tree-sitter/tree-sitter/pull/3724)package.json on error (https://github.com/tree-sitter/tree-sitter/pull/3718)-Wpedantic (https://github.com/tree-sitter/tree-sitter/pull/3691):error has no errortest -u (https://github.com/tree-sitter/tree-sitter/pull/3572)0.1.1 (https://github.com/tree-sitter/tree-sitter/pull/3730)bump-versioncompile_flags.txt (https://github.com/tree-sitter/tree-sitter/pull/3667).as_bytes().len() on strings (https://github.com/tree-sitter/tree-sitter/pull/3664)This release only corrected the version in a crate so publishing wouldn't fail.
This release only corrected the version in a crate so publishing wouldn't fail.
Introduce tree-sitter-language crate for grammar crates to depend on ( )
fuzz subcommand (https://github.com/tree-sitter/tree-sitter/pull/3385)grammar.json cannot be found (https://github.com/tree-sitter/tree-sitter/pull/3405)--show-fields flag to test command (https://github.com/tree-sitter/tree-sitter/pull/3502)ts_query_end_byte_for_pattern (https://github.com/tree-sitter/tree-sitter/pull/3451)preceding_auxiliary_symbols (https://github.com/tree-sitter/tree-sitter/pull/3550)cargo.toml template (https://github.com/tree-sitter/tree-sitter/pull/3532)tv_nsec be 0 as well (https://github.com/tree-sitter/tree-sitter/pull/3372)CARGO_MANIFEST_DIR at runtime in build script (https://github.com/tree-sitter/tree-sitter/pull/3352)sprintf() for snprintf() (https://github.com/tree-sitter/tree-sitter/pull/3430).build to gitignore (https://github.com/tree-sitter/tree-sitter/pull/3498)Improve handling of serialization buffer overflows ( )
NO_COLOR (https://github.com/tree-sitter/tree-sitter/pull/3299)tree-sitter field is malformed--no-bindings is passed (https://github.com/tree-sitter/tree-sitter/pull/3323)AsRef<Path> for the path parameter to avoid clones (https://github.com/tree-sitter/tree-sitter/pull/3322)ts_highlighter_add_languagechildrenFromFieldXXX method signatures (https://github.com/tree-sitter/tree-sitter/pull/3301)\s for \\s in query examplegrammar.json tests to grammar.js (https://github.com/tree-sitter/tree-sitter/pull/3325)build.zig.zon version when bumping versionsAvoid generating unused character set constants
Fix sorting of transitions within a lex state
Generate simpler code for matching large character sets ( )
&& (https://github.com/tree-sitter/tree-sitter/pull/3274)ts_subtree_string (https://github.com/tree-sitter/tree-sitter/pull/3191)/utf-8 flag for parsers using unicode symbols (https://github.com/tree-sitter/tree-sitter/pull/3223)build-wasm temporarily (https://github.com/tree-sitter/tree-sitter/pull/3203)build --wasm should use current_dir (https://github.com/tree-sitter/tree-sitter/pull/3203)QueryCursor::captures() (https://github.com/tree-sitter/tree-sitter/pull/3266)build.rscli: Add a separate build command to compile parsers
Parser::included_rangesParser.getIncludedRanges() (https://github.com/tree-sitter/tree-sitter/pull/3164)array_grow_by (https://github.com/tree-sitter/tree-sitter/pull/3176)Cli build script behavior on release
Remove top-level corpus dir for tests The cli will now only look in test/corpus for tests
corpus dir for tests
The cli will now only look in test/corpus for testscurrent*, is*, and has* methods properties (https://github.com/tree-sitter/tree-sitter/pull/3103)nan with node-addon-api and conditionally print logsscan-build suggestions (unused assignment/garbage access) (https://github.com/tree-sitter/tree-sitter/pull/3056)|| comparison in parentheses when && is used (https://github.com/tree-sitter/tree-sitter/pull/3070)binding.cc overwrite should replace PARSER_NAME (https://github.com/tree-sitter/tree-sitter/pull/3116)__declspec(dllexport) on windows (https://github.com/tree-sitter/tree-sitter/pull/3128)v flag (https://github.com/tree-sitter/tree-sitter/pull/3154)types after main if it exists (https://github.com/tree-sitter/tree-sitter/pull/3122)--no-bindings (https://github.com/tree-sitter/tree-sitter/pull/3123).npmignore, populate Swift's exclude list (https://github.com/tree-sitter/tree-sitter/pull/3085)Cargo.toml description (https://github.com/tree-sitter/tree-sitter/pull/3140)api.h so ts_set_allocator is visible (https://github.com/tree-sitter/tree-sitter/pull/3092)Ohm language parserthe's (https://github.com/tree-sitter/tree-sitter/pull/3120)cc to remove annoying debug output (https://github.com/tree-sitter/tree-sitter/pull/3075)Cargo.lock needs to be updated (https://github.com/tree-sitter/tree-sitter/pull/3066)subtree_compare (https://github.com/tree-sitter/tree-sitter/pull/3111)Ohm language parser (https://github.com/tree-sitter/tree-sitter/pull/3114)binding_files.rs (https://github.com/tree-sitter/tree-sitter/pull/3106)Remove deprecated query parsing mechanism
Remove the apply-all-captures flag, make last-wins precedence the default
NOTE: This change might cause breakage in your grammar's highlight tests. Just flip the order around of the relevant queries, and keep in mind that the last query that matches will win.
extras arraygrammar-path argument for the playground (https://github.com/tree-sitter/tree-sitter/pull/3014)config-path argument (https://github.com/tree-sitter/tree-sitter/pull/3050)externalsmap in the grammar (https://github.com/tree-sitter/tree-sitter/pull/3041)long for grammar_pathUNEXPECTED/MISSING nodes with an indentation level greater than 0token($.foo) is illegalTSTreeCursor (https://github.com/tree-sitter/tree-sitter/pull/3021)Tact language parser (https://github.com/tree-sitter/tree-sitter/pull/3030)&PathBuf -> &Path (https://github.com/tree-sitter/tree-sitter/pull/3035)log.html (https://github.com/tree-sitter/tree-sitter/pull/2996)token/token.immediate (https://github.com/tree-sitter/tree-sitter/pull/3036)github_issue_test file (https://github.com/tree-sitter/tree-sitter/pull/3055)emcc's stdout and stderr (https://github.com/tree-sitter/tree-sitter/pull/2494)SIDE_MODULE=2 to silence warning (https://github.com/tree-sitter/tree-sitter/pull/3003)Nothing published for this version
Nothing published for this version
Change integer type in ts_parser__set_cached_token by @mattmassicotte in https://github.com/tree-sitter/tree-sitter/pull/1879
ts_parser__set_cached_token by @mattmassicotte in https://github.com/tree-sitter/tree-sitter/pull/1879M/U by @mliszcz in https://github.com/tree-sitter/tree-sitter/pull/1941TREE_SITTER_DEBUG in the test sub command by @ahlinc in https://github.com/tree-sitter/tree-sitter/pull/2020TREE_SITTER_DIR by @sogaiu in https://github.com/tree-sitter/tree-sitter/pull/2035clock.h by @paf31 in https://github.com/tree-sitter/tree-sitter/pull/1990Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.20.7...v0.20.8
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.