---
title: "tree-sitter-cli 0.26.2 Breaking Changes on vcpkg | Since.dev"
description: "What each tree-sitter-cli release removed, renamed or changed: 26 breaking changes in 2 versions on vcpkg, each with its source."
canonical_url: https://since.dev/packages/vcpkg/tree-sitter-cli
last_updated: 2026-12-04
---

# tree-sitter-cli breaking changes

tree-sitter-cli 0.26.2 is its newest release with breaking changes, 14 of them. The first: Removes deprecated web functions in tree-sitter-cli 0.26.2. Every breaking API change we have recorded in tree-sitter-cli on vcpkg: 26 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.26.8`. [Source repository](https://github.com/tree-sitter/tree-sitter)

Its 0.26.2 release requires Rust 1.84.0 or later. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.26.1](#v-0-26-1) to [0.26.2](#v-0-26-2): 14 breaking changes in 1 version.

## tree-sitter-cli 0.26.2 breaking changes

tree-sitter-cli 0.26.2: 14 breaking changes.

- **Removed**  

Functions previously deprecated in the web bindings have been removed. [github.com](https://github.com/tree-sitter/tree-sitter/commit/580cd9541a95854d45639ab306a73267a7c0ffe0)
- **Removed**  

Functions previously deprecated in the Rust bindings have been removed. [github.com](https://github.com/tree-sitter/tree-sitter/commit/d60ef9ad0a1a00f92b76873e623f159210614d68)
- **Removed**  

Functions previously deprecated in the library have been removed. [github.com](https://github.com/tree-sitter/tree-sitter/commit/821cf797f26128622fd52f8aa9d7e396d6782fd5)
- **Renamed** `stage`  

The stage flag is renamed to emit; update scripts that pass the old flag. [github.com](https://github.com/tree-sitter/tree-sitter/commit/311585d30430209147a7bcc7b1e0d1fa8d75cb3c)
- **Behavior changed**  

The config error types changed from anyhow to thiserror, so code that depends on the old error type may need updating. [github.com](https://github.com/tree-sitter/tree-sitter/commit/7eb23d9f3cae0876dec541f06da633b066f583e7)
- **Behavior changed**  

Grammars that put whitespace in supertype syntax are now rejected and must be rewritten. [github.com](https://github.com/tree-sitter/tree-sitter/commit/00e394f0f18101c10e3dec8e42e2b6c215e68c16)
- **Behavior changed**  

The loader error types changed from anyhow to thiserror, so code that depends on the old error type may need updating. [github.com](https://github.com/tree-sitter/tree-sitter/commit/67cb3cb88146dd9ce3a098e33ac0374b5ce1e22d)
- **Behavior changed**  

IO error messages now include the file path when it is known, so code matching error text may change. [github.com](https://github.com/tree-sitter/tree-sitter/commit/61c21aa408710019fc81c14a9b213dd762d5c5bd)
- **Behavior changed** `select_language`  

The arguments passed to select_language were corrected, so callers may need to check the values they pass. [github.com](https://github.com/tree-sitter/tree-sitter/commit/bec7c3272b7b05bc316e179f5eb0db1a3792ff59)
- **Configuration changed**  

Building requires Rust 1.84.0 or later. [github.com](https://github.com/tree-sitter/tree-sitter/commit/ed91767663104eb6fe4f8c8ab031452cf9663918)
- **Configuration changed**  

The CMake build file moved to the source root, so build scripts pointing at the old location must change. [github.com](https://github.com/tree-sitter/tree-sitter/commit/d1160cb820d5978d2aa71fa7aac502464b7dabf8)
- **Configuration changed**  

build.zig was upgraded to zig 0.15, so builds with zig 0.14 no longer work. [github.com](https://github.com/tree-sitter/tree-sitter/commit/86b9f81ad63732c286348e21471b9b388f0d1e9a)
- **Signature changed**  

Timeout values in the web API are now bigint, so callers must pass bigint values. [github.com](https://github.com/tree-sitter/tree-sitter/commit/dba8446d9e92de4c03be2051ac19ba0078f09b1b)
- **Signature changed**  

Progress callbacks now return core::ops::ControlFlow instead of a boolean, so callback code must be updated. [github.com](https://github.com/tree-sitter/tree-sitter/commit/937dcf5fd139badd37cad5de4dfe1123040c36b9)

## tree-sitter-cli 0.26.1 breaking changes

tree-sitter-cli 0.26.1: 12 breaking changes.

- **Removed**  

Deprecated C library functions were removed; check whether your code calls any of them. [github.com](https://github.com/tree-sitter/tree-sitter/releases/tag/v0.26.1)
- **Removed** `--emit=lib`  

The generate command no longer accepts the --emit=lib option. [github.com](https://github.com/tree-sitter/tree-sitter/releases/tag/v0.26.1)
- **Removed** `--no-bindings`  

The generate command no longer accepts --no-bindings, so scripts that pass it must drop the flag. [github.com](https://github.com/tree-sitter/tree-sitter/releases/tag/v0.26.1)
- **Renamed** `DecodeFunction`  

Update C code to use TSDecodeFunction instead of DecodeFunction. [github.com](https://github.com/tree-sitter/tree-sitter/releases/tag/v0.26.1)
- **Renamed** `stage`  

Use the emit flag in place of the stage flag in commands that used it. [github.com](https://github.com/tree-sitter/tree-sitter/releases/tag/v0.26.1)
- **Behavior changed**  

The build.zig file now targets Zig 0.15, so builds using older Zig versions may need changes. [github.com](https://github.com/tree-sitter/tree-sitter/releases/tag/v0.26.1)
- **Behavior changed**  

Query predicates that do not end in ! or ? are now rejected by an assertion, so such queries must be updated. [github.com](https://github.com/tree-sitter/tree-sitter/releases/tag/v0.26.1)
- **Default changed** `--grammar-path`  

Passing --grammar-path now rebuilds parsers by default, which changes existing command behavior. [github.com](https://github.com/tree-sitter/tree-sitter/releases/tag/v0.26.1)
- **Signature changed**  

The progress return value for parse and query callbacks changed to ops::ControlFlow, so callbacks must return that type. [github.com](https://github.com/tree-sitter/tree-sitter/releases/tag/v0.26.1)
- **Signature changed**  

Methods that returned arrays of possibly null nodes now return Node\[\], which can change TypeScript typings. [github.com](https://github.com/tree-sitter/tree-sitter/releases/tag/v0.26.1)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [tree-sitter-highlight](https://since.dev/packages/crates/tree-sitter-highlight.md):  on crates.io
- [tree-sitter](https://since.dev/packages/crates/tree-sitter.md):  on crates.io
- [github.com/tree-sitter/tree-sitter](https://since.dev/packages/swift/github.com/tree-sitter/tree-sitter.md):  on Swift Package Index
- [tree-sitter](https://since.dev/packages/vcpkg/tree-sitter.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
