v0.22.6
·
1272 commits
to master
since this release
[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-sitterfield is malformed - Don't error out on package.json lookup errors if
--no-bindingsis 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
childrenFromFieldXXXmethod signatures (#3301) - xtask: Always bump every crate in tandem
- zig: Make usable as a zig dependency (#3315)
Documentation
- Mention build command variables
- Swap
\sfor\\sin query example - highlight: Typo (#3290)
Refactor
- tests: Migrate remaining
grammar.jsontests togrammar.js(#3325)