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
On this page
Latest version 0.25.1, released July 28, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
tree-sitter 0.25.1 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 - Signature changed
"tree-sitter".Language.language
Was language: Language; now language: unknown. npmjs.com - Signature changed
"tree-sitter".Language.name
Was name: string; now name?: string. npmjs.com - 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 - 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 - Signature changed
"tree-sitter".SyntaxNode.childCount
Was childCount: number; now readonly childCount: number. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.children
Was children: Array<SyntaxNode>; now readonly children: Array<SyntaxNode>. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.descendantCount
Was descendantCount: number; now readonly descendantCount: number. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.endIndex
Was endIndex: number; now readonly endIndex: number. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.endPosition
Was endPosition: Point; now readonly endPosition: Point. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.firstChild
Was firstChild: SyntaxNode | null; now readonly firstChild: SyntaxNode | null. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.firstNamedChild
Was firstNamedChild: SyntaxNode | null; now readonly firstNamedChild: SyntaxNode | null. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.grammarId
Was grammarId: number; now readonly grammarId: number. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.grammarType
Was grammarType: string; now readonly grammarType: string. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.hasChanges
Was hasChanges: boolean; now readonly hasChanges: boolean. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.hasError
Was hasError: boolean; now readonly hasError: boolean. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.id
Was id: number; now readonly id: number. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.isError
Was isError: boolean; now readonly isError: boolean. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.isExtra
Was isExtra: boolean; now readonly isExtra: boolean. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.isMissing
Was isMissing: boolean; now readonly isMissing: boolean. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.isNamed
Was isNamed: boolean; now readonly isNamed: boolean. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.lastChild
Was lastChild: SyntaxNode | null; now readonly lastChild: SyntaxNode | null. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.lastNamedChild
Was lastNamedChild: SyntaxNode | null; now readonly lastNamedChild: SyntaxNode | null. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.namedChildCount
Was namedChildCount: number; now readonly namedChildCount: number. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.namedChildren
Was namedChildren: Array<SyntaxNode>; now readonly namedChildren: Array<SyntaxNode>. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.nextNamedSibling
Was nextNamedSibling: SyntaxNode | null; now readonly nextNamedSibling: SyntaxNode | null. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.nextParseState
Was nextParseState: number; now readonly nextParseState: number. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.nextSibling
Was nextSibling: SyntaxNode | null; now readonly nextSibling: SyntaxNode | null. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.parent
Was parent: SyntaxNode | null; now readonly parent: SyntaxNode | null. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.parseState
Was parseState: number; now readonly parseState: number. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.previousNamedSibling
Was previousNamedSibling: SyntaxNode | null; now readonly previousNamedSibling: SyntaxNode | null. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.previousSibling
Was previousSibling: SyntaxNode | null; now readonly previousSibling: SyntaxNode | null. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.startIndex
Was startIndex: number; now readonly startIndex: number. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.startPosition
Was startPosition: Point; now readonly startPosition: Point. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.text
Was text: string; now readonly text: string. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.tree
Was tree: Tree; now readonly tree: Tree. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.type
Was type: string; now readonly type: string. npmjs.com - Signature changed
"tree-sitter".SyntaxNode.typeId
Was typeId: number; now readonly typeId: number. npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.