Skip to content

v0.22.6

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 05 May 20:58
· 11 commits to master since this release
b40f342

[0.22.6] — 2024-05-05

Features

  • Improve handling of serialization buffer overflows (#3318)
  • Reverse iteration through node parents (#3214)
  • cli: Support NO_COLOR (#3299)
  • cli: Add test listing and allow users to parse a specific test number (#3067)
  • grammar: Add "inherits" field if available (#3295)

Bug Fixes

  • Correctly load field data from wasm languages
  • Improve error message when the tree-sitter field is malformed
  • Don't error out on package.json lookup errors if --no-bindings is passed (#3323)
  • cli: Keep default cc flags in build
  • cli: Properly account for multi-grammar repos when using docker to build a wasm parser (#3337)
  • generate: Don't check arbitrarily named dirs
  • generate: Take AsRef<Path> for the path parameter to avoid clones (#3322)
  • highlight: Correct signature of ts_highlighter_add_language
  • lib: Do not return field names for extras (#3330)
  • lib: Advance the lookahead end byte by 4 when there's an invalid code point (#3305)
  • rust: Update README example (#3307)
  • rust: Use unix + wasi cfg instead of not windows for fd (#3304)
  • test: Allow newlines in between test name and attribute
  • wasm: Correct childrenFromFieldXXX method signatures (#3301)
  • xtask: Always bump every crate in tandem
  • zig: Make usable as a zig dependency (#3315)

Documentation

  • Mention build command variables
  • Swap \s for \\s in query example
  • highlight: Typo (#3290)

Refactor

  • tests: Migrate remaining grammar.json tests to grammar.js (#3325)

Build System and CI

  • Add nightly rustfmt to workflow for linting (#3333)
  • Fix address sanitizer step (#3188)
  • deps: Bump cc from 1.0.92 to 1.0.94 in the cargo group (#3298)
  • deps: Bump the cargo group with 6 updates (#3313)
  • xtask: Bump build.zig.zon version when bumping versions