Skip to content

Conversation

@stackmystack
Copy link
Collaborator

@stackmystack stackmystack commented Jan 9, 2026

This replaces #95

pboling and others added 4 commits January 12, 2026 18:13
- Updated to tree-sitter v0.26.3
- **Breaking Changes in tree-sitter 0.26.x API**:
  - `ts_language_version` renamed to `ts_language_abi_version`
  - `TSInputEncodingUTF16` split into `TSInputEncodingUTF16LE` and
`TSInputEncodingUTF16BE`
    (now using UTF16LE as default for backward compatibility)
  - Cancellation flag API (`ts_parser_cancellation_flag`,
`ts_parser_set_cancellation_flag`) removed
    - `Parser#cancellation_flag` and `Parser#cancellation_flag=` are now
no-ops for backward compatibility
  - Timeout API (`ts_parser_timeout_micros`,
`ts_parser_set_timeout_micros`) removed
    - `Parser#timeout_micros` and `Parser#timeout_micros=` are now
no-ops for backward compatibility
  - Use `TSParseOptions` with `progress_callback` for
cancellation/timeout functionality in 0.26+
- `TREE_SITTER_LANGUAGE_VERSION` is now 15 (was 14)
- `TREE_SITTER_MIN_COMPATIBLE_LANGUAGE_VERSION` is now 13 (was 6)
- Grammar files (.so) must be built against tree-sitter 0.26+ to work
with this version

Closes Faveod#94
It's depricated since a long time, and there's not reason for it to
stay.
Remove unnecessary declarations
@stackmystack stackmystack force-pushed the feat/upgrade-tree-sitter-0.26 branch from 5c1c79a to 77a4b13 Compare January 12, 2026 17:14
@stackmystack stackmystack merged commit 24bccc2 into Faveod:master Jan 13, 2026
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants