Proper tree-sitter 0.25 support
This is an ongoing effort to update node-tree-sitter with the changes introduced in tree-sitter 0.25, and more:
- [x] Track tree-sitter release branch
- [x] Enable dependabot updates
- [x] Use arm runners in CI
- [x] Update Node versions
- Drop tests on 18
- Run tests on 24
- [x] Enable trusted publishing
- [x] Improve binding.gyp cflags
- Add
-fvisibility=hiddento the flags on Linux - Adapt std based on Node version
- closes #238
- closes #240
- Add
- [ ] Update the API to tree-sitter 0.25
- closes #244
- closes #248
- closes #253
- closes #256
- closes #261
- [ ] Introduce
QueryCursorclass- May or may not use iterators
- closes #178
- closes #207
- Support custom predicates
- closes #179
- May or may not use iterators
- [ ] Improve errors, docs, types
- closes #210
- closes #243
- [x] Miscellaneous fixes
- closes #246
- closes #257
Don't ask when this will be updated/finished/merged. If you want to speed it up, submit a PR on my fork.
Adapt std based on Node version
- closes https://github.com/tree-sitter/node-tree-sitter/issues/238
- closes https://github.com/tree-sitter/node-tree-sitter/pull/240
Hello! I have made a PR about this part. Should I rebase it on your PR so you can merge it when you are free to review?
#240 already exists though? Yeah, but I made it conditional via nodejs' config.gypi. This way if it needs another version bump, it should be easier.
I already did that one.
I already did that one.
Ah ok, didn't notice. Have a nice day then!