github tree-sitter/tree-sitter v0.24.4

4 days ago

[0.24.4] - 2024-11-10

Features

  • loader: Add language_for_configuration
  • loader: Add error message when a tree-sitter.json file is invalid
  • node: Support single-file executables via bun build --compile
  • node: Update bindings when necessary

Bug Fixes

  • Return LanguageRef in Parser::language
  • bindings: Update CMakeLists.txt file
  • cli: Pass all fields to tree-sitter.json in init
  • cli: Use contains over is in warning
  • cmake: Use current source dir for EXISTS check
  • generate: Do not set the unit reduction symbol if it's in the extras array
  • init: Use current path if unspecified
  • init: Use camel name from config in missing spots
  • lib: Simplify edge cases with zero-width tokens
  • lib: Correctly fetch the node name in query errors
  • loader: Don't print warnings if the file is not found

Performance

  • loader: Improve language lookup speed

Build System and CI

  • bindings: Rename cmake test target

Other

  • Memory errors in wasm_store

Don't miss a new tree-sitter release

NewReleases is sending notifications on new releases.