tree-sitter/node-tree-sitter (tree-sitter)
### [`v0.22.1`](https://redirect.github.com/tree-sitter/node-tree-sitter/compare/v0.22.0...v0.22.1)
[Compare Source](https://redirect.github.com/tree-sitter/node-tree-sitter/compare/v0.22.0...v0.22.1)
### [`v0.22.0`](https://redirect.github.com/tree-sitter/node-tree-sitter/compare/v0.21.1...v0.22.0)
[Compare Source](https://redirect.github.com/tree-sitter/node-tree-sitter/compare/v0.21.1...v0.22.0)
### [`v0.21.1`](https://redirect.github.com/tree-sitter/node-tree-sitter/releases/tag/v0.21.1)
[Compare Source](https://redirect.github.com/tree-sitter/node-tree-sitter/compare/v0.21.0...v0.21.1)
- Fix a caching issue (contributed by [@segevfiner](https://redirect.github.com/segevfiner) in [#197](https://redirect.github.com/tree-sitter/node-tree-sitter/issues/197))
### [`v0.21.0`](https://redirect.github.com/tree-sitter/node-tree-sitter/releases/tag/v0.21.0)
[Compare Source](https://redirect.github.com/tree-sitter/node-tree-sitter/compare/v0.20.6...v0.21.0)
**BREAKING CHANGES**:
- node-tree-sitter now uses [Node-API](https://nodejs.github.io/node-addon-examples/about/what) instead of [NAN](https://redirect.github.com/nodejs/nan) for Node bindings. This requires updating the binding.cc file for all languages you want to use by running `tree-sitter generate` with `tree-sitter` 0.22.0 or newer. See [https://github.com/tree-sitter/node-tree-sitter/issues/193#issuecomment-2002321890](https://redirect.github.com/tree-sitter/node-tree-sitter/issues/193#issuecomment-2002321890) (contributed by [@segevfiner](https://redirect.github.com/segevfiner) in [#190](https://redirect.github.com/tree-sitter/node-tree-sitter/issues/190))
- `SyntaxNode.hasChanges`, `SyntaxNode.hasError` and `SyntaxNode.isMissing` are now properties (they used to be methods) (contributed by [@amaanq](https://redirect.github.com/amaanq) in [#190](https://redirect.github.com/tree-sitter/node-tree-sitter/issues/190))
Other changes:
- add more methods/properties to bring Node inline with Rust bindings (contributed by [@amaanq](https://redirect.github.com/amaanq) in [#191](https://redirect.github.com/tree-sitter/node-tree-sitter/issues/191))
- make module context aware (contributed by [@segevfiner](https://redirect.github.com/segevfiner) in [#184](https://redirect.github.com/tree-sitter/node-tree-sitter/issues/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](https://redirect.github.com/ObserverOfTime) in [#192](https://redirect.github.com/tree-sitter/node-tree-sitter/issues/192))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
0.20.6
->0.22.1
Release Notes
tree-sitter/node-tree-sitter (tree-sitter)
### [`v0.22.1`](https://redirect.github.com/tree-sitter/node-tree-sitter/compare/v0.22.0...v0.22.1) [Compare Source](https://redirect.github.com/tree-sitter/node-tree-sitter/compare/v0.22.0...v0.22.1) ### [`v0.22.0`](https://redirect.github.com/tree-sitter/node-tree-sitter/compare/v0.21.1...v0.22.0) [Compare Source](https://redirect.github.com/tree-sitter/node-tree-sitter/compare/v0.21.1...v0.22.0) ### [`v0.21.1`](https://redirect.github.com/tree-sitter/node-tree-sitter/releases/tag/v0.21.1) [Compare Source](https://redirect.github.com/tree-sitter/node-tree-sitter/compare/v0.21.0...v0.21.1) - Fix a caching issue (contributed by [@segevfiner](https://redirect.github.com/segevfiner) in [#197](https://redirect.github.com/tree-sitter/node-tree-sitter/issues/197)) ### [`v0.21.0`](https://redirect.github.com/tree-sitter/node-tree-sitter/releases/tag/v0.21.0) [Compare Source](https://redirect.github.com/tree-sitter/node-tree-sitter/compare/v0.20.6...v0.21.0) **BREAKING CHANGES**: - node-tree-sitter now uses [Node-API](https://nodejs.github.io/node-addon-examples/about/what) instead of [NAN](https://redirect.github.com/nodejs/nan) for Node bindings. This requires updating the binding.cc file for all languages you want to use by running `tree-sitter generate` with `tree-sitter` 0.22.0 or newer. See [https://github.com/tree-sitter/node-tree-sitter/issues/193#issuecomment-2002321890](https://redirect.github.com/tree-sitter/node-tree-sitter/issues/193#issuecomment-2002321890) (contributed by [@segevfiner](https://redirect.github.com/segevfiner) in [#190](https://redirect.github.com/tree-sitter/node-tree-sitter/issues/190)) - `SyntaxNode.hasChanges`, `SyntaxNode.hasError` and `SyntaxNode.isMissing` are now properties (they used to be methods) (contributed by [@amaanq](https://redirect.github.com/amaanq) in [#190](https://redirect.github.com/tree-sitter/node-tree-sitter/issues/190)) Other changes: - add more methods/properties to bring Node inline with Rust bindings (contributed by [@amaanq](https://redirect.github.com/amaanq) in [#191](https://redirect.github.com/tree-sitter/node-tree-sitter/issues/191)) - make module context aware (contributed by [@segevfiner](https://redirect.github.com/segevfiner) in [#184](https://redirect.github.com/tree-sitter/node-tree-sitter/issues/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](https://redirect.github.com/ObserverOfTime) in [#192](https://redirect.github.com/tree-sitter/node-tree-sitter/issues/192))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.