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 generatewithtree-sitter0.22.0 or newer. See #193 (comment) (contributed by @segevfiner in #190) SyntaxNode.hasChanges,SyntaxNode.hasErrorandSyntaxNode.isMissingare 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)