Skip to content

Releases: tree-sitter/tree-sitter

v0.26.9

19 May 18:08

Choose a tag to compare

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_grammar by @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_grammar with 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

v0.26.8

31 Mar 17:53

Choose a tag to compare

What's Changed

  • fix(generate): allow disabling qjs-rt feature from CLI by @WillLillis in #5448
  • fix(lib): document invariants that must be upheld for TSInputEdit by @WillLillis in #5452
  • fix(cli): correct typo in parse command'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

v0.26.7

14 Mar 16:47

Choose a tag to compare

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, not false, 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_immediate by @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

v0.26.6

25 Feb 17:08

Choose a tag to compare

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

v0.26.5

01 Feb 19:51
v0.26.5

Choose a tag to compare

0.26.5

v0.26.4

01 Feb 19:22
v0.26.4

Choose a tag to compare

v0.26.4 Pre-release
Pre-release

What's Changed

  • fix(cli): trailing whitespace after multiline text nodes in CST by @tree-sitter-ci-bot[bot] in #5135
  • fix(cli): correct discrepancy with cst for --no-ranges by @tree-sitter-ci-bot[bot] in #5139
  • Fix Playground Query by @tree-sitter-ci-bot[bot] in #5159
  • fix(cli): cst printing improvements by @tree-sitter-ci-bot[bot] in #5165
  • fix(cli): set language in cwd for all usages of highlight command by @tree-sitter-ci-bot[bot] in #5181
  • feat(cli): concurrent builds of the same grammar on different locations on disk by @tree-sitter-ci-bot[bot] in #5182
  • fix(cli): canonicalize build --output path by @tree-sitter-ci-bot[bot] in #5185
  • fix(cli): increase verbosity of tree-sitter init -u updates by @tree-sitter-ci-bot[bot] in #5188
  • fix(cli): restore test summary output for tree-sitter test by @tree-sitter-ci-bot[bot] in #5203
  • fix(wasm): add common definitions to stdlib by @tree-sitter-ci-bot[bot] in #5208
  • fix(wasm): update wasm-stdlib.h by @tree-sitter-ci-bot[bot] in #5210
  • Fix python free-threading compatibility by @tree-sitter-ci-bot[bot] in #5214
  • fix(build): define _BSD_SOURCE by @tree-sitter-ci-bot[bot] in #5226
  • fix(wasm): regenerate stdlib with wasm-opt by @tree-sitter-ci-bot[bot] in #5239
  • fix(cli): warn user when nm can't be run to verify the symbols inside the parser being built by @tree-sitter-ci-bot[bot] in #5246
  • fix(lib): address strict aliasing violations with Array type by @tree-sitter-ci-bot[bot] in #5254
  • misc Windows fixes by @tree-sitter-ci-bot[bot] in #5260
  • fix(wasm): correct several bugs in realloc by @WillLillis in #5264
  • fix(generate): error if a supertype is defined as a terminal by @tree-sitter-ci-bot[bot] in #5277
  • Action overflow by @tree-sitter-ci-bot[bot] in #5278
  • fix(loader): account for nm/ld fix on newer powerpc linux toolchains by @WillLillis in #5284
  • backport: wasm realloc optimization fix by @WillLillis in #5286
  • fix(cli): use --edits value for fuzz tests by @tree-sitter-ci-bot[bot] in #5288
  • 0.26.4 by @WillLillis in #5289

Full Changelog: v0.26.3...v0.26.4

v0.26.3

13 Dec 12:53
v0.26.3

Choose a tag to compare

What's Changed

Full Changelog: v0.26.2...v0.26.3

v0.26.2

09 Dec 22:47
v0.26.2

Choose a tag to compare

What's Changed

  • 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 #5113
  • 0.26.x by @WillLillis in #5115

Full Changelog: v0.26.1...v0.26.2

v0.26.1

08 Dec 22:24
v0.26.1

Choose a tag to compare

v0.26.1 Pre-release
Pre-release

What's Changed

  • feat(cli): specify abi version via env var by @ObserverOfTime in #4173
  • ci: use ubuntu-22.04 for x64 builds by @amaanq in #4175
  • fix(lib): prevent finished_tree assertion failure by @ribru17 in #4176
  • build: do not define _POSIX_C_SOURCE on NetBSD by @0-wiz-0 in #4181
  • fix(web): provide type in the exports by @robertohuertasm in #4185
  • add generate crate to workspace & adjust to new clippy lints by @amaanq in #4192
  • refactor(web): rename tree-sitter.js to web-tree-sitter.js by @amaanq in #4194
  • feat: Windows support using MinGW-w64 by @MisterDA in #4201
  • Fix crash when loading languages w/ old ABI via wasm by @maxbrunsfeld in #4210
  • Ignore external tokens that are zero-length and extra by @maxbrunsfeld in #4213
  • Reset result_symbol field of lexer in wasm memory in between invocations by @maxbrunsfeld in #4218
  • Decrease the MSRV for the tree-sitter-language crate by @maxbrunsfeld in #4221
  • fix(wasm): restore passing in ERROR to descendantsOfType by @WillLillis in #4226
  • typo: but is only works → but it only works by @hippietrail in #4242
  • adapt to new rust lints and tweak ci by @WillLillis in #4249
  • Mark all format-like macros for Clippy by @nyurik in #4231
  • fix symbol leak for character sets by @polazarus in #4255
  • Fix cases where error recovery could infinite loop by @maxbrunsfeld in #4257
  • fix(rust): adapt to new nightly lint by @WillLillis in #4254
  • fix(lib): remove duplicate TSLanguageMetadata typedef by @notxvilka in #4268
  • rust bindings: Add information about using WASM grammar files to README by @lucifayr in #4235
  • Update build.zig.zon for zig master/0.14 by @nihklas in #4258
  • fix(docs): update test command flag from -f to -i by @jonshea in #4263
  • fix(cli): properly escape invisible characters in parse error output by @WillLillis in #4276
  • feat(lib): quote invalid nodes, fields, and captures by @ribru17 in #4278
  • build(deps): bump ring from 0.17.8 to 0.17.13 by @dependabot[bot] in #4272
  • fix(build): bump version to 0.26.0 by @clason in #4282
  • fix(xtask): error if new version supplied to xtask is less than or equal to current version by @WillLillis in #4287
  • fix(make): make install shouldn’t fail when a parser bundles no queries by @mavit in #4284
  • Change (Node | null)[] return types to Node[] by @tmr232 in #4283
  • build(deps): bump the cargo group across 1 directory with 21 updates by @dependabot[bot] in #4275
  • chore(cli): remove deprecated --no-bindings flag from generate command by @WillLillis in #4292
  • build.zig.zon: Fix package hashes for Zig 0.14 by @JacobCrabill in #4301
  • build(deps): bump the cargo group across 1 directory with 8 updates by @dependabot[bot] in #4307
  • fix(rust): address new clippy lint for pointer comparisons by @WillLillis in #4305
  • fix(rust): use core crates for no_std by @Tiggilyboo in #4303
  • build(deps): update emscripten to v4.0.5 by @clason in #4309
  • fix(rust): address new nightly lint for pointer comparisons by @WillLillis in #4313
  • fix(highlight): account for multiple rows in highlight testing assertions by @WillLillis in #4333
  • docs: Fix link to named-vs-anonymous-nodes section by @ZedThree in #4328
  • Fix typo of "corresponds" by @bernardosulzbach in #4340
  • build(deps): bump the cargo group across 1 directory with 5 updates by @dependabot[bot] in #4342
  • ci: bump actions/create-github-app-token from 1 to 2 in the actions group by @dependabot[bot] in #4341
  • Add @generated to parser.c header by @edgarogh in #4338
  • Fix WASI build by not calling a non-existent function. by @jaboatman in #4343
  • fix(rust): clarify error message for non-token reserved words by @jonshea in #4323
  • Make highlighting more deterministic when themes are ambiguous by @narpfel in #4327
  • fix(lib): reset parser options after use by @ribru17 in #4355
  • fix(bindings): report wasm store error in rust bindings set_language by @WillLillis in #4348
  • build(deps): bump the cargo group with 4 updates by @dependabot[bot] in #4360
  • fix(xtask): trim EMSCRIPTEN_TAG arg to docker command in build-wasm command by @WillLillis in #4365
  • fix(web): correct childWithDescendant() functionality by @ribru17 in #4363
  • Tidy up the docs in auto-generated Rust bindings by @LikeLakers2 in #4294
  • binding_web: replace dynamic require with import by @tmr232 in #4304
  • Refine the documentation and command line help for "parse --edits" by @danielpunkass in #4191
  • export wasm files to better support bundling use cases by @vemoo in #4208
  • build(deps): bump vite from 6.1.0 to 6.2.6 in /lib/binding_web by @dependabot[bot] in #4352
  • style(cli): formatting by @amaanq in #4373
  • fix(ci): increase timeouts for flaky tests by @WillLillis in #4371
  • perf(highlight): use BTreeMap over IndexMap for highlight configs by @WillLillis in #4372
  • build(deps): bump the cargo group with 2 updates by @dependabot[bot] in #4386
  • Fixed typo in parsing explanation by @Tamchuk in #4388
  • cli: Compile parsers to wasm using wasi-sdk, not emscripten by @maxbrunsfeld in #4393
  • Fix wasm build issues introduced by switching to wasi-sdk by @maxbrunsfeld in #4407
  • fix(xtask): properly trim emscripten version at the source by @WillLillis in #4402
  • fix(parse): mark logging closure as move by @WillLillis in #4406
  • docs(rust): remove adding cc as a build dependency for consumers by @amaanq in #4409
  • fix(generate): mark url as a Windows-only dependency by @amaanq in #4411
  • build(deps): bump the cargo group with 3 updates by @dependabot[bot] in #4416
  • fix(lib): do not access the alias sequence for the end subtree in ts_subtree_summarize_children by @amaanq in #4414
  • build(deps): bump vite from 6.3.2 to 6.3.4 in /lib/binding_web by @dependabot[bot] in #4419
  • fix(rust): address some new nightly clippy lints by @WillLillis in #4424
  • fix(query): correct last_child_step_index in cases where a new step wasn't created. by @WillLillis in #4422
  • build(deps): bump the cargo group with 2 updates by @dependabot[bot] in #4433
  • fix(lib): return early for empty predicate step slice by @WillLillis in #4440
  • build(deps): bump the cargo group with 6 updates by @dependabot[bot] in #4444
  • illumos has endian.h by @papertigers in #4450
  • build(deps): bump cc from 1.2.22 to 1.2.23 in the cargo group by @dependabot[bot] in https://github.com/tree-s...
Read more

v0.25.10

22 Sep 22:18
v0.25.10
da6fe9b

Choose a tag to compare