Skip to content

Commit 549dc10

Browse files
committed
bump: v2.1.0
1 parent 5698383 commit 549dc10

2 files changed

Lines changed: 23 additions & 14 deletions

File tree

News.md

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
# [unreleased]
44

5+
# v2.1.0 (19-02-2026)
6+
57
## API Changes for tree-sitter 0.26.3 compatibility
68

79
- Updated to tree-sitter v0.26.3
@@ -18,6 +20,12 @@
1820
- `TREE_SITTER_MIN_COMPATIBLE_LANGUAGE_VERSION` is now 13 (was 6)
1921
- Grammar files (.so) must be built against tree-sitter 0.26+ to work with this version
2022

23+
## Bug Fixes
24+
25+
- Fixed duplicate method definition in QueryCursor ([#100](https://github.com/Faveod/ruby-tree-sitter/pull/99) by [yancya](https://github.com/yancya))
26+
- Fixed a use-after-free in the logger ([#100](https://github.com/Faveod/ruby-tree-sitter/pull/100) by [yancya](https://github.com/yancya))
27+
- Fixed a potential buffer overflow when loading parsers.
28+
2129
# v2.0.0 (22-01-2025)
2230

2331
- Bump minimum supported Ruby version to 3.1.
@@ -108,17 +116,17 @@
108116
# v1.6.0
109117

110118
- Cross-compilation is now working for most targets:
111-
+ `aarch64-linux-gnu`
112-
+ `aarch64-linux-musl`
113-
+ `arm-linux-gnu`
114-
+ `arm-linux-musl`
115-
+ `x86_64-linux-gnu`
116-
+ `x86_64-linux-musl`
117-
+ `x86-linux-musl`
118-
+ `arm64-darwin`
119-
+ `x86_64-darwin`
120-
We now produce fat native gems so you don't have to install tree-sitter on your machine,
121-
and not even compile it if you don't need to.
119+
- `aarch64-linux-gnu`
120+
- `aarch64-linux-musl`
121+
- `arm-linux-gnu`
122+
- `arm-linux-musl`
123+
- `x86_64-linux-gnu`
124+
- `x86_64-linux-musl`
125+
- `x86-linux-musl`
126+
- `arm64-darwin`
127+
- `x86_64-darwin`
128+
We now produce fat native gems so you don't have to install tree-sitter on your machine,
129+
and not even compile it if you don't need to.
122130

123131
# v1.5.1
124132

@@ -137,6 +145,7 @@
137145
# v1.4.2
138146

139147
- Remove sorbet's `T.unsafe`. This prevented `TreeSitter.language` to function outside of `TreeStand`.
148+
140149
# v1.4.1
141150

142151
v1.4.0 had issues publishing to [rubygems.org](https://rubygems.org/gems/ruby_tree_sitter).
@@ -202,8 +211,8 @@ This version is identical to the previous one.
202211
## v0.20.8.2
203212

204213
1. When you use `--disable-sys-lib` this extension will:
205-
1. download `tree-sitter` via `git`, `curl`, or `wget`.
206-
1. statically link against downloaded `tree-sitter`.
214+
1. download `tree-sitter` via `git`, `curl`, or `wget`.
215+
1. statically link against downloaded `tree-sitter`.
207216
1. The native gems are also statically linked.
208217

209218
With static linking, any installed version of `tree-sitter` will not be loaded.

lib/tree_sitter/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ module TreeSitter
44
# The version of the tree-sitter library.
55
TREESITTER_VERSION = '0.26.3'
66
# The current version of the gem.
7-
VERSION = '2.0.0'
7+
VERSION = '2.1.0'
88
end

0 commit comments

Comments
 (0)