|
2 | 2 |
|
3 | 3 | # [unreleased] |
4 | 4 |
|
| 5 | +# v2.1.0 (19-02-2026) |
| 6 | + |
5 | 7 | ## API Changes for tree-sitter 0.26.3 compatibility |
6 | 8 |
|
7 | 9 | - Updated to tree-sitter v0.26.3 |
|
18 | 20 | - `TREE_SITTER_MIN_COMPATIBLE_LANGUAGE_VERSION` is now 13 (was 6) |
19 | 21 | - Grammar files (.so) must be built against tree-sitter 0.26+ to work with this version |
20 | 22 |
|
| 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 | + |
21 | 29 | # v2.0.0 (22-01-2025) |
22 | 30 |
|
23 | 31 | - Bump minimum supported Ruby version to 3.1. |
|
108 | 116 | # v1.6.0 |
109 | 117 |
|
110 | 118 | - 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. |
122 | 130 |
|
123 | 131 | # v1.5.1 |
124 | 132 |
|
|
137 | 145 | # v1.4.2 |
138 | 146 |
|
139 | 147 | - Remove sorbet's `T.unsafe`. This prevented `TreeSitter.language` to function outside of `TreeStand`. |
| 148 | + |
140 | 149 | # v1.4.1 |
141 | 150 |
|
142 | 151 | 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. |
202 | 211 | ## v0.20.8.2 |
203 | 212 |
|
204 | 213 | 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`. |
207 | 216 | 1. The native gems are also statically linked. |
208 | 217 |
|
209 | 218 | With static linking, any installed version of `tree-sitter` will not be loaded. |
|
0 commit comments