---
title: "tree-sitter 0.25.1 Breaking Changes on npm | Since.dev"
description: "What each tree-sitter release removed, renamed or changed: 38 breaking changes in 1 version on npm, each with its source."
canonical_url: https://since.dev/packages/npm/tree-sitter
last_updated: 2026-12-04
---

# tree-sitter breaking changes

tree-sitter 0.25.1 (July 28, 2026) is its newest release with breaking changes, 38 of them. The first: Signature changed "tree-sitter".Input.\_\_call. Every breaking API change we have recorded in tree-sitter on npm: 38 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.25.1`, released July 28, 2026. [Source repository](https://github.com/tree-sitter/node-tree-sitter)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

## tree-sitter 0.25.1 breaking changes

tree-sitter 0.25.1, released July 28, 2026: 38 breaking changes.

- **Signature changed** `"tree-sitter".Input.__call`  

Was (index: number, position?: Point): string | null | undefined | {}; now (index: number, position?: Point): string | null | undefined. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".Language.language`  

Was language: Language; now language: unknown. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".Language.name`  

Was name: string; now name?: string. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".Options`  

Was type Options = {bufferSize?: number; includedRanges?: Range\[\];}; now type Options = {bufferSize?: number; includedRanges?: Range\[\]; progressCallback?: (index: number, hasError: boolean) => boolean;}. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".QueryOptions`  

Was type QueryOptions = {startPosition?: Point; endPosition?: Point; startIndex?: number; endIndex?: number; matchLimit?: number; maxStartDepth?: number; timeoutMicros?: number;}; now type QueryOptions = {startPosition?: Point... [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.childCount`  

Was childCount: number; now readonly childCount: number. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.children`  

Was children: Array\<SyntaxNode>; now readonly children: Array\<SyntaxNode>. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.descendantCount`  

Was descendantCount: number; now readonly descendantCount: number. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.endIndex`  

Was endIndex: number; now readonly endIndex: number. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.endPosition`  

Was endPosition: Point; now readonly endPosition: Point. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.firstChild`  

Was firstChild: SyntaxNode | null; now readonly firstChild: SyntaxNode | null. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.firstNamedChild`  

Was firstNamedChild: SyntaxNode | null; now readonly firstNamedChild: SyntaxNode | null. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.grammarId`  

Was grammarId: number; now readonly grammarId: number. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.grammarType`  

Was grammarType: string; now readonly grammarType: string. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.hasChanges`  

Was hasChanges: boolean; now readonly hasChanges: boolean. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.hasError`  

Was hasError: boolean; now readonly hasError: boolean. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.id`  

Was id: number; now readonly id: number. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.isError`  

Was isError: boolean; now readonly isError: boolean. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.isExtra`  

Was isExtra: boolean; now readonly isExtra: boolean. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.isMissing`  

Was isMissing: boolean; now readonly isMissing: boolean. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.isNamed`  

Was isNamed: boolean; now readonly isNamed: boolean. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.lastChild`  

Was lastChild: SyntaxNode | null; now readonly lastChild: SyntaxNode | null. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.lastNamedChild`  

Was lastNamedChild: SyntaxNode | null; now readonly lastNamedChild: SyntaxNode | null. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.namedChildCount`  

Was namedChildCount: number; now readonly namedChildCount: number. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.namedChildren`  

Was namedChildren: Array\<SyntaxNode>; now readonly namedChildren: Array\<SyntaxNode>. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.nextNamedSibling`  

Was nextNamedSibling: SyntaxNode | null; now readonly nextNamedSibling: SyntaxNode | null. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.nextParseState`  

Was nextParseState: number; now readonly nextParseState: number. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.nextSibling`  

Was nextSibling: SyntaxNode | null; now readonly nextSibling: SyntaxNode | null. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.parent`  

Was parent: SyntaxNode | null; now readonly parent: SyntaxNode | null. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.parseState`  

Was parseState: number; now readonly parseState: number. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.previousNamedSibling`  

Was previousNamedSibling: SyntaxNode | null; now readonly previousNamedSibling: SyntaxNode | null. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.previousSibling`  

Was previousSibling: SyntaxNode | null; now readonly previousSibling: SyntaxNode | null. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.startIndex`  

Was startIndex: number; now readonly startIndex: number. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.startPosition`  

Was startPosition: Point; now readonly startPosition: Point. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.text`  

Was text: string; now readonly text: string. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.tree`  

Was tree: Tree; now readonly tree: Tree. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.type`  

Was type: string; now readonly type: string. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)
- **Signature changed** `"tree-sitter".SyntaxNode.typeId`  

Was typeId: number; now readonly typeId: number. [npmjs.com](https://www.npmjs.com/package/tree-sitter/v/0.25.1)

## 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.
