Skip to content

v0.24.0: release: 0.24.0

Choose a tag to compare

@github-actions github-actions released this 25 Oct 13:15
· 108 commits to master since this release

Maintained fork of tree-sitter-ruby. Changes since 0.23.1:

Parsing

  • Every open upstream issue is handled: 21 fixed (heredocs, ERB comments, anonymous & block args, multi-byte symbols, % literals, Ruby 4.0 leading ||/and/or, scanner crash on deserialize, ...), 4 closed as wontfix with a reason.
  • Checked against Prism on ruby/spec: 4440 of 4444 files agree (the other 4 are UTF-16 fixtures and files Prism rejects).

Queries

  • Better highlights, locals and tags, and a new injections.scm (regex, heredocs labelled SQL, GraphQL, HTML, Bash, Ruby).

Build

  • Generated with tree-sitter CLI 0.27.1, still ABI 14.
  • Rust crate on edition 2024: needs Rust 1.85 or newer.
  • Go bindings use go-tree-sitter 0.25 (Go 1.23), Python needs 3.10 or newer.
  • In node-types.json, call.operator is now "." | "&." | "::".

Not published on npm, crates.io or PyPI (those names belong to upstream). Use the source tarball or a git dependency on this repo.


NOTE: Download tree-sitter-ruby.tar.gz for the complete source code.