tree-sitter/tree-sitter (tree-sitter/tree-sitter)
### [`v0.22.6`](https://togithub.com/tree-sitter/tree-sitter/releases/tag/v0.22.6)
[Compare Source](https://togithub.com/tree-sitter/tree-sitter/compare/v0.22.5...v0.22.6)
#### \[0.22.6] — 2024-05-05
##### Features
- Improve handling of serialization buffer overflows ([#3318](https://togithub.com/tree-sitter/tree-sitter/pull/3318))
- Reverse iteration through node parents ([#3214](https://togithub.com/tree-sitter/tree-sitter/pull/3214))
- **cli**: Support `NO_COLOR` ([#3299](https://togithub.com/tree-sitter/tree-sitter/pull/3299))
- **cli**: Add test listing and allow users to parse a specific test number ([#3067](https://togithub.com/tree-sitter/tree-sitter/pull/3067))
- **grammar**: Add "inherits" field if available ([#3295](https://togithub.com/tree-sitter/tree-sitter/pull/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](https://togithub.com/tree-sitter/tree-sitter/pull/3323))
- **cli**: Keep default cc flags in build
- **cli**: Properly account for multi-grammar repos when using docker to build a wasm parser ([#3337](https://togithub.com/tree-sitter/tree-sitter/pull/3337))
- **generate**: Don't check arbitrarily named dirs
- **generate**: Take `AsRef` for the path parameter to avoid clones ([#3322](https://togithub.com/tree-sitter/tree-sitter/pull/3322))
- **highlight**: Correct signature of `ts_highlighter_add_language`
- **lib**: Do not return field names for extras ([#3330](https://togithub.com/tree-sitter/tree-sitter/pull/3330))
- **lib**: Advance the lookahead end byte by 4 when there's an invalid code point ([#3305](https://togithub.com/tree-sitter/tree-sitter/pull/3305))
- **rust**: Update README example ([#3307](https://togithub.com/tree-sitter/tree-sitter/pull/3307))
- **rust**: Use unix + wasi cfg instead of not windows for fd ([#3304](https://togithub.com/tree-sitter/tree-sitter/pull/3304))
- **test**: Allow newlines in between test name and attribute
- **wasm**: Correct `childrenFromFieldXXX` method signatures ([#3301](https://togithub.com/tree-sitter/tree-sitter/pull/3301))
- **xtask**: Always bump every crate in tandem
- **zig**: Make usable as a zig dependency ([#3315](https://togithub.com/tree-sitter/tree-sitter/pull/3315))
##### Documentation
- Mention build command variables
- Swap `\s` for `\\s` in query example
- **highlight**: Typo ([#3290](https://togithub.com/tree-sitter/tree-sitter/pull/3290))
##### Refactor
- **tests**: Migrate remaining `grammar.json` tests to `grammar.js` ([#3325](https://togithub.com/tree-sitter/tree-sitter/pull/3325))
##### Build System and CI
- Add nightly rustfmt to workflow for linting ([#3333](https://togithub.com/tree-sitter/tree-sitter/pull/3333))
- Fix address sanitizer step ([#3188](https://togithub.com/tree-sitter/tree-sitter/pull/3188))
- **deps**: Bump cc from 1.0.92 to 1.0.94 in the cargo group ([#3298](https://togithub.com/tree-sitter/tree-sitter/pull/3298))
- **deps**: Bump the cargo group with 6 updates ([#3313](https://togithub.com/tree-sitter/tree-sitter/pull/3313))
- **xtask**: Bump `build.zig.zon` version when bumping versions
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v0.22.5
->v0.22.6
Release Notes
tree-sitter/tree-sitter (tree-sitter/tree-sitter)
### [`v0.22.6`](https://togithub.com/tree-sitter/tree-sitter/releases/tag/v0.22.6) [Compare Source](https://togithub.com/tree-sitter/tree-sitter/compare/v0.22.5...v0.22.6) #### \[0.22.6] — 2024-05-05 ##### Features - Improve handling of serialization buffer overflows ([#3318](https://togithub.com/tree-sitter/tree-sitter/pull/3318)) - Reverse iteration through node parents ([#3214](https://togithub.com/tree-sitter/tree-sitter/pull/3214)) - **cli**: Support `NO_COLOR` ([#3299](https://togithub.com/tree-sitter/tree-sitter/pull/3299)) - **cli**: Add test listing and allow users to parse a specific test number ([#3067](https://togithub.com/tree-sitter/tree-sitter/pull/3067)) - **grammar**: Add "inherits" field if available ([#3295](https://togithub.com/tree-sitter/tree-sitter/pull/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](https://togithub.com/tree-sitter/tree-sitter/pull/3323)) - **cli**: Keep default cc flags in build - **cli**: Properly account for multi-grammar repos when using docker to build a wasm parser ([#3337](https://togithub.com/tree-sitter/tree-sitter/pull/3337)) - **generate**: Don't check arbitrarily named dirs - **generate**: Take `AsRefConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.