Skip to content

Releases: tree-sitter/node-tree-sitter

v0.22.4

30 Dec 02:05
483e185

Choose a tag to compare

v0.21.1

28 Mar 21:29

Choose a tag to compare

v0.21.0

17 Mar 06:12

Choose a tag to compare

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 with tree-sitter 0.22.0 or newer. See #193 (comment) (contributed by @segevfiner in #190)
  • SyntaxNode.hasChanges, SyntaxNode.hasError and SyntaxNode.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

16 Oct 21:48

Choose a tag to compare

  • Fix "Illegal invocation" when running in a Jest test due to race condition
  • Fix segfaulting in VS Code debugger due to running methods of object prototypes
  • Update tree-sitter to v0.20.6

v0.20.5

03 Jul 13:09

Choose a tag to compare

  • Fix memory leak in getChangedRanges() (#147)
  • Update tree-sitter to v0.20.5

v0.20.4

24 Jun 21:50

Choose a tag to compare

  • BREAKING CHANGE: removed parseTextBuffer and parseTextBufferSync 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

22 Jun 13:03

Choose a tag to compare

Update tree-sitter to v0.20.3 to support TREE_SITTER_LANGUAGE_VERSION 14

v0.20.2

14 Jun 21:51

Choose a tag to compare

node-tree-sitter can now be compiled for Node.js 19 and 20 (#134)

v0.20.1

14 Jun 21:33

Choose a tag to compare

0.20.1

v0.20.0

11 Oct 17:36

Choose a tag to compare

0.20.0