Releases: tree-sitter/node-tree-sitter
Releases Β· tree-sitter/node-tree-sitter
v0.21.1
v0.21.0
BREAKING CHANGES:
- node-tree-sitter now uses Node-API instead of NAN for Node bindings. This requires updating the binding.cc file for all languages you want to use by running
tree-sitter generate
withtree-sitter
0.22.0 or newer. See #193 (comment) (contributed by @segevfiner in #190) SyntaxNode.hasChanges
,SyntaxNode.hasError
andSyntaxNode.isMissing
are now properties (they used to be methods) (contributed by @amaanq in #190)
Other changes:
- add more methods/properties to bring Node inline with Rust bindings (contributed by @amaanq in #191)
- make module context aware (contributed by @segevfiner in #184)
- drop Node 14 and 16 support
- switch to prebuildify instead of prebuild-install (now binaries are stored on npm instead of GitHub Releases) (contributed by @ObserverOfTime in #192)
v0.20.6
v0.20.5
v0.20.4
- BREAKING CHANGE: removed
parseTextBuffer
andparseTextBufferSync
because the superstring library has been sunset (#141) - added
TreeCursor.nodeIsMissing
boolean (#96) - updated tree-sitter to v0.20.4
- node-tree-sitter should now work with Electron 13+ on Windows (#151)
v0.20.3
v0.20.2
v0.20.1
v0.20.0
0.20.0
v0.19.0
0.19.0