Closed renovate[bot] closed 4 months ago
This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.
Closed because #1476
Because you closed this PR without merging, Renovate will ignore this update (^0.22.5
). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps
array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
This PR contains the following updates:
^0.20.8
->^0.22.5
Release Notes
tree-sitter/tree-sitter (tree-sitter-cli)
### [`v0.22.5`](https://togithub.com/tree-sitter/tree-sitter/blob/HEAD/CHANGELOG.md#0225---2024-04-14) [Compare Source](https://togithub.com/tree-sitter/tree-sitter/compare/v0.22.4...v0.22.5) ##### Bug Fixes - **cli**: Fixed an issue where unused constants were included in generated parsers in some cases. ### [`v0.22.4`](https://togithub.com/tree-sitter/tree-sitter/blob/HEAD/CHANGELOG.md#0224---2024-04-12) [Compare Source](https://togithub.com/tree-sitter/tree-sitter/compare/v0.22.3...v0.22.4) ##### Bug Fixes - **cli**: Fixed an issue where redundant conditionals were included in generated lexer functions. ### [`v0.22.3`](https://togithub.com/tree-sitter/tree-sitter/blob/HEAD/CHANGELOG.md#0223---2024-04-12) [Compare Source](https://togithub.com/tree-sitter/tree-sitter/compare/v0.22.2...v0.22.3) ##### Performance - **cli**: Reduced the compile time of generated parsers by generating C code with fewer conditionals [https://github.com/tree-sitter/tree-sitter/pull/3234](https://togithub.com/tree-sitter/tree-sitter/pull/3234)3234) ### [`v0.22.2`](https://togithub.com/tree-sitter/tree-sitter/compare/v0.22.1...v0.22.2) [Compare Source](https://togithub.com/tree-sitter/tree-sitter/compare/v0.22.1...v0.22.2) ### [`v0.22.1`](https://togithub.com/tree-sitter/tree-sitter/blob/HEAD/CHANGELOG.md#0221--2024-03-10) [Compare Source](https://togithub.com/tree-sitter/tree-sitter/compare/v0.22.0...v0.22.1) ##### Bug Fixes - Cli build script behavior on release ### [`v0.22.0`](https://togithub.com/tree-sitter/tree-sitter/blob/HEAD/CHANGELOG.md#0220--2024-03-10) [Compare Source](https://togithub.com/tree-sitter/tree-sitter/compare/v0.21.0...v0.22.0) ##### Breaking - Remove top-level `corpus` dir for tests The cli will now only look in `test/corpus` for tests - Remove redundant escape regex & curly brace regex preprocessing ([#2838](https://togithub.com/tree-sitter/tree-sitter/pull/2838)) - **bindings**: Convert node bindings to NAPI ([#3077](https://togithub.com/tree-sitter/tree-sitter/pull/3077)) - **wasm**: Make `current*`, `is*`, and `has*` methods properties ([#3103](https://togithub.com/tree-sitter/tree-sitter/pull/3103)) - **wasm**: Keep API in-line with upstream and start aligning with node ([#3149](https://togithub.com/tree-sitter/tree-sitter/pull/3149)) ##### Features - Add xtasks to assist with bumping crates ([#3065](https://togithub.com/tree-sitter/tree-sitter/pull/3065)) - Improve language bindings ([#2438](https://togithub.com/tree-sitter/tree-sitter/pull/2438)) - Expose the allocator and array header files for external scanners ([#3063](https://togithub.com/tree-sitter/tree-sitter/pull/3063)) - Add typings for the node bindings - Replace `nan` with `node-addon-api` and conditionally print logs - **bindings**: Add more make targets - **bindings**: Add peerDependencies for npm - **bindings**: Add prebuildify to node - **bindings**: Remove dsl types file ([#3126](https://togithub.com/tree-sitter/tree-sitter/pull/3126)) - **node**: Type tag the language ([#3109](https://togithub.com/tree-sitter/tree-sitter/pull/3109)) - **test**: Add attributes for corpus tests ##### Bug Fixes - Apply some `scan-build` suggestions (unused assignment/garbage access) ([#3056](https://togithub.com/tree-sitter/tree-sitter/pull/3056)) - Wrap `||` comparison in parentheses when `&&` is used ([#3070](https://togithub.com/tree-sitter/tree-sitter/pull/3070)) - Ignore unused variables in the array macros ([#3083](https://togithub.com/tree-sitter/tree-sitter/pull/3083)) - `binding.cc` overwrite should replace `PARSER_NAME` ([#3116](https://togithub.com/tree-sitter/tree-sitter/pull/3116)) - Don't use `__declspec(dllexport)` on windows ([#3128](https://togithub.com/tree-sitter/tree-sitter/pull/3128)) - Parsers should export the language function on windows - Allow the regex `v` flag ([#3154](https://togithub.com/tree-sitter/tree-sitter/pull/3154)) - **assertions**: Case shouldn't matter for comment node detection - **bindings**: Editorconfig and setup.py fixes ([#3082](https://togithub.com/tree-sitter/tree-sitter/pull/3082)) - **bindings**: Insert `types` after `main` if it exists ([#3122](https://togithub.com/tree-sitter/tree-sitter/pull/3122)) - **bindings**: Fix template oversights ([#3155](https://togithub.com/tree-sitter/tree-sitter/pull/3155)) - **cli**: Only output the sources with `--no-bindings` ([#3123](https://togithub.com/tree-sitter/tree-sitter/pull/3123)) - **generate**: Add `.npmignore`, populate Swift's exclude list ([#3085](https://togithub.com/tree-sitter/tree-sitter/pull/3085)) - **generate**: Extern allocator functions for the template don't need to be "exported" ([#3132](https://togithub.com/tree-sitter/tree-sitter/pull/3132)) - **generate**: Camel case name in `Cargo.toml` description ([#3140](https://togithub.com/tree-sitter/tree-sitter/pull/3140)) - **lib**: Include `api.h` so `ts_set_allocator` is visible ([#3092](https://togithub.com/tree-sitter/tree-sitter/pull/3092)) ##### Documentation - Add GitHub user and PR info to the changelog - Add css for inline code ([#2844](https://togithub.com/tree-sitter/tree-sitter/pull/2844)) - Document test attributes - Add `Ohm` language parser - Remove duplicate `the`'s ([#3120](https://togithub.com/tree-sitter/tree-sitter/pull/3120)) - Add discord and matrix badges ([#3148](https://togithub.com/tree-sitter/tree-sitter/pull/3148)) ##### Refactor - Rename TS_REUSE_ALLOCATOR flag ([#3088](https://togithub.com/tree-sitter/tree-sitter/pull/3088)) - Remove extern/const where possible - **array**: Use pragma GCC in clang too - **bindings**: Remove npmignore ([#3089](https://togithub.com/tree-sitter/tree-sitter/pull/3089)) ##### Testing - Don't use TS_REUSE_ALLOCATOR on Darwin systems ([#3087](https://togithub.com/tree-sitter/tree-sitter/pull/3087)) - Add test case for parse stack merging with incorrect error cost bug ([#3098](https://togithub.com/tree-sitter/tree-sitter/pull/3098)) ##### Build System and CI - Improve changelog settings ([#3064](https://togithub.com/tree-sitter/tree-sitter/pull/3064)) - Unify crate versions via workspace ([#3074](https://togithub.com/tree-sitter/tree-sitter/pull/3074)) - Update `cc` to remove annoying debug output ([#3075](https://togithub.com/tree-sitter/tree-sitter/pull/3075)) - Adjust dependabot settings ([#3079](https://togithub.com/tree-sitter/tree-sitter/pull/3079)) - Use c11 everywhere - Add uninstall command - Don't skip tests on failing lint ([#3102](https://togithub.com/tree-sitter/tree-sitter/pull/3102)) - Remove unused deps, bump deps, and bump MSRV to 1.74.1 ([#3153](https://togithub.com/tree-sitter/tree-sitter/pull/3153)) - **bindings**: Metadata improvements - **bindings**: Make everything c11 ([#3099](https://togithub.com/tree-sitter/tree-sitter/pull/3099)) - **dependabot**: Update weekly instead of daily ([#3112](https://togithub.com/tree-sitter/tree-sitter/pull/3112)) - **deps**: Bump the cargo group with 1 update ([#3081](https://togithub.com/tree-sitter/tree-sitter/pull/3081)) - **deps**: Bump the cargo group with 1 update ([#3097](https://togithub.com/tree-sitter/tree-sitter/pull/3097)) - **deps**: Bump deps & lockfile ([#3060](https://togithub.com/tree-sitter/tree-sitter/pull/3060)) - **deps**: Bump the cargo group with 4 updates ([#3134](https://togithub.com/tree-sitter/tree-sitter/pull/3134)) - **lint**: Detect if `Cargo.lock` needs to be updated ([#3066](https://togithub.com/tree-sitter/tree-sitter/pull/3066)) - **lint**: Make lockfile check quiet ([#3078](https://togithub.com/tree-sitter/tree-sitter/pull/3078)) - **swift**: Move 'cLanguageStandard' behind 'targets' ([#3101](https://togithub.com/tree-sitter/tree-sitter/pull/3101)) ##### Other - Make Node.js language bindings context aware ([#2841](https://togithub.com/tree-sitter/tree-sitter/pull/2841)) They don't have any dynamic global data, so all it takes is just declaring them as such - Fix crash when attempting to load ancient languages via wasm ([#3068](https://togithub.com/tree-sitter/tree-sitter/pull/3068)) - Use workspace dependencies for internal crates like Tree-sitter ([#3076](https://togithub.com/tree-sitter/tree-sitter/pull/3076)) - Remove vendored wasmtime headers ([https://github.com/tree-sitter/tree-sitter/pull/3084](https://togithub.com/tree-sitter/tree-sitter/pull/3084)) When building rust binding, use wasmtime headers provided via cargo by the wasmtime-c-api crate. - Fix invalid parse stack recursive merging with mismatched error cost ([#3086](https://togithub.com/tree-sitter/tree-sitter/pull/3086)) Allowing this invalid merge caused an invariant to be violated later on during parsing, when handling a later error. - Fix regression in `subtree_compare` ([#3111](https://togithub.com/tree-sitter/tree-sitter/pull/3111)) - docs: Add `Ohm` language parser ([#3114](https://togithub.com/tree-sitter/tree-sitter/pull/3114)) - Delete `binding_files.rs` ([#3106](https://togithub.com/tree-sitter/tree-sitter/pull/3106)) - **bindings**: Consistent wording ([#3096](https://togithub.com/tree-sitter/tree-sitter/pull/3096)) - **bindings**: Ignore more artifacts ([#3119](https://togithub.com/tree-sitter/tree-sitter/pull/3119)) ### [`v0.21.0`](https://togithub.com/tree-sitter/tree-sitter/blob/HEAD/CHANGELOG.md#0210--2024-02-21) [Compare Source](https://togithub.com/tree-sitter/tree-sitter/compare/v0.20.8...v0.21.0) ##### Breaking - Remove the apply-all-captures flag, make last-wins precedence the default **NOTE**: This change might cause breakage in your grammar's highlight tests. Just flip the order around of the relevant queries, and keep in mind that the last query that matches will win. ##### Features - Use lockfiles to dedup recompilation - Improve error message for files with an unknown grammar path ([#2475](https://togithub.com/tree-sitter/tree-sitter/pull/2475)) - Implement first-line-regex ([#2479](https://togithub.com/tree-sitter/tree-sitter/pull/2479)) - Error out if an empty string is in the `extras` array - Allow specifying an external scanner's files ([#3031](https://togithub.com/tree-sitter/tree-sitter/pull/3031)) - Better error info when a scanner is missing required symbols - **cli**: Add an optional `grammar-path` argument for the playground ([#3014](https://togithub.com/tree-sitter/tree-sitter/pull/3014)) - **cli**: Add optional `config-path` argument ([#3050](https://togithub.com/tree-sitter/tree-sitter/pull/3050)) - **loader**: Add more commonly used default parser directories ##### Bug Fixes - Prettify xml output and add node position info ([#2970](https://togithub.com/tree-sitter/tree-sitter/pull/2970)) - Inherited grammar generation - Properly error out when the word property is an invalid rule - Update schema for regex flags ([#3006](https://togithub.com/tree-sitter/tree-sitter/pull/3006)) - Properly handle `Query.matches` when filtering out results ([#3013](https://togithub.com/tree-sitter/tree-sitter/pull/3013)) - Sexp format edge case with quoted closed parenthesis ([#3016](https://togithub.com/tree-sitter/tree-sitter/pull/3016)) - Always push the default files if there's no `externals` - Don't log NUL characters ([#3037](https://togithub.com/tree-sitter/tree-sitter/pull/3037)) - Don't throw an error if the user uses `map` in the grammar ([#3041](https://togithub.com/tree-sitter/tree-sitter/pull/3041)) - Remove redundant imports ([#3047](https://togithub.com/tree-sitter/tree-sitter/pull/3047)) - **cli**: Installation via a HTTP tunnel proxy ([#2824](https://togithub.com/tree-sitter/tree-sitter/pull/2824)) - **cli**: Don't update tests automatically if parse errors are detected ([#3033](https://togithub.com/tree-sitter/tree-sitter/pull/3033)) - **cli**: Don't use `long` for `grammar_path` - **test**: Allow writing updates to tests without erroneous nodes instead of denying all of them if a single error is found - **test**: Edge case when parsing `UNEXPECTED`/`MISSING` nodes with an indentation level greater than 0 - **wasm**: Remove C++ mangled symbols ([#2971](https://togithub.com/tree-sitter/tree-sitter/pull/2971)) ##### Documentation - Create issue template ([#2978](https://togithub.com/tree-sitter/tree-sitter/pull/2978)) - Document regex limitations - Mention that `token($.foo)` is illegal - Explicitly mention behavior of walking outside the given "root" node for a `TSTreeCursor` ([#3021](https://togithub.com/tree-sitter/tree-sitter/pull/3021)) - Small fixes ([#2987](https://togithub.com/tree-sitter/tree-sitter/pull/2987)) - Add `Tact` language parser ([#3030](https://togithub.com/tree-sitter/tree-sitter/pull/3030)) - **web**: Provide deno usage information ([#2498](https://togithub.com/tree-sitter/tree-sitter/pull/2498)) ##### Refactor - Extract regex check into a function and lower its precedence - `&PathBuf` -> `&Path` ([#3035](https://togithub.com/tree-sitter/tree-sitter/pull/3035)) - Name anonymous types in api.h ([#1659](https://togithub.com/tree-sitter/tree-sitter/pull/1659)) ##### Testing - Add quotes around bash variables ([#3023](https://togithub.com/tree-sitter/tree-sitter/pull/3023)) - Update html tests ##### Build System and CI - Only create release for normal semver tags ([#2973](https://togithub.com/tree-sitter/tree-sitter/pull/2973)) - Add useful development targets to makefile ([#2979](https://togithub.com/tree-sitter/tree-sitter/pull/2979)) - Remove minimum glibc information in summary page ([#2988](https://togithub.com/tree-sitter/tree-sitter/pull/2988)) - Use the native m1 mac runner ([#2995](https://togithub.com/tree-sitter/tree-sitter/pull/2995)) - Add editorconfig ([#2998](https://togithub.com/tree-sitter/tree-sitter/pull/2998)) - Remove symbolic links from repository ([#2997](https://togithub.com/tree-sitter/tree-sitter/pull/2997)) - Move common Cargo.toml keys into the workspace and inherit them ([#3019](https://togithub.com/tree-sitter/tree-sitter/pull/3019)) - Remove reviewers when drafting or closing a PR ([#2963](https://togithub.com/tree-sitter/tree-sitter/pull/2963)) - Enable creating changelogs with git-cliff ([#3040](https://togithub.com/tree-sitter/tree-sitter/pull/3040)) - Cache fixtures ([#3038](https://togithub.com/tree-sitter/tree-sitter/pull/3038)) - Don't cancel jobs on master ([#3052](https://togithub.com/tree-sitter/tree-sitter/pull/3052)) - Relax caching requirements ([#3051](https://togithub.com/tree-sitter/tree-sitter/pull/3051)) - **deps**: Bump clap from 4.4.18 to 4.5.0 ([#3007](https://togithub.com/tree-sitter/tree-sitter/pull/3007)) - **deps**: Bump wasmtime from v16.0.0 to v17.0.1 ([#3008](https://togithub.com/tree-sitter/tree-sitter/pull/3008)) - **deps**: Bump wasmtime to v18.0.1 ([#3057](https://togithub.com/tree-sitter/tree-sitter/pull/3057)) - **sanitize**: Add a timeout of 60 minutes ([#3017](https://togithub.com/tree-sitter/tree-sitter/pull/3017)) - **sanitize**: Reduce timeout to 20 minutes ([#3054](https://togithub.com/tree-sitter/tree-sitter/pull/3054)) ##### Other - Document preferred language for scanner ([#2972](https://togithub.com/tree-sitter/tree-sitter/pull/2972)) - Add java and tsx to corpus tests ([#2992](https://togithub.com/tree-sitter/tree-sitter/pull/2992)) - Provide a CLI flag to open `log.html` ([#2996](https://togithub.com/tree-sitter/tree-sitter/pull/2996)) - Some more clippy lints ([#3010](https://togithub.com/tree-sitter/tree-sitter/pull/3010)) - Remove deprecated query parsing mechanism ([#3011](https://togithub.com/tree-sitter/tree-sitter/pull/3011)) - Print out full compiler arguments ran when it fails ([#3018](https://togithub.com/tree-sitter/tree-sitter/pull/3018)) - Deprecate C++ scanners ([#3020](https://togithub.com/tree-sitter/tree-sitter/pull/3020)) - Add some documentation to the playground page ([#1495](https://togithub.com/tree-sitter/tree-sitter/pull/1495)) - Update relevant rust tests ([#2947](https://togithub.com/tree-sitter/tree-sitter/pull/2947)) - Clippy lints ([#3032](https://togithub.com/tree-sitter/tree-sitter/pull/3032)) - Error out when multiple arguments are passed to `token`/`token.immediate` ([#3036](https://togithub.com/tree-sitter/tree-sitter/pull/3036)) - Tidying - Prefer turbofish syntax where possible ([#3048](https://togithub.com/tree-sitter/tree-sitter/pull/3048)) - Use published wasmtime crates - Cleaner cast - Update `Cargo.lock` - Get rid of `github_issue_test` file ([#3055](https://togithub.com/tree-sitter/tree-sitter/pull/3055)) - **cli**: Use spawn to display `emcc`'s stdout and stderr ([#2494](https://togithub.com/tree-sitter/tree-sitter/pull/2494)) - **cli**: Warn users when a query path needed for a subcommand isn't specified in a grammar's package.json - **generate**: Dedup and warn about duplicate or invalid rules ([#2994](https://togithub.com/tree-sitter/tree-sitter/pull/2994)) - **test**: Use different languages for async tests ([#2953](https://togithub.com/tree-sitter/tree-sitter/pull/2953)) - **wasm**: Use `SIDE_MODULE=2` to silence warning ([#3003](https://togithub.com/tree-sitter/tree-sitter/pull/3003))Configuration
š Schedule: Branch creation - "after 13:00 on monday" in timezone Europe/Brussels, Automerge - At any time (no schedule defined).
š¦ Automerge: Enabled.
ā» 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.