Update dependency tree-sitter/tree-sitter to v0.25.2 #313
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.24.7
->v0.25.2
Release Notes
tree-sitter/tree-sitter (tree-sitter/tree-sitter)
v0.25.2
Compare Source
Bug Fixes
result_symbol
(#4218)Build
tree-sitter-languages
andtree-sitter
crates (#4221)v0.25.1
Compare Source
Changelog
[0.25.1] — 2025-02-02
Features
Bug Fixes
language
functionDocumentation
Build System and CI
ubuntu-22.04
for x64 builds (#4175)Other
v0.25.0
Compare Source
Changelog
[0.25.0] — 2025-02-01
Notices
This is a large release. As such, a few major changes and how to adapt to them are outlined below:
web-tree-sitter
was rewritten in TypeScript. With that, we also now publish the sourcemaps, and debug builds for the library. We also publish both CommonJS and ESM modules.tree-sitter.json
file in your repository, since the version information for the parser is pulled from this file.time.h
headers in the core library.MISSING
nodes can now be queried, and queries involving supertypes are properly validated now.ts_node_child_containing_descendant
function was removed; usets_node_child_with_descendant
instead (which has nearly the same behavior but can also returndescendant
.)TSInput
now includes a (mandatory) new fieldDecodeFunction
, which allows passing a custom decode function. To use the builtin function, passNULL
.RustRegex
function, which takes in a Rust regex as a string. All of the capabilities of Rust's regex engine are available here, which allows for some nice features that aren't possible with JavaScript regexes.Breaking
tree-sitter.json
(#4107)regex_syntax::Hir
for expanding regexes (#3831)ts_node_child_containing_descendant
(#4107)pattern
topatternIndex
inQueryMatch
(#4141)Language.query
in favor ofnew Query
(#4141)Features
version
subcommand for versioning grammars (#3786)get_column
(#2503)emscripten-version
(#4015)lazy_static
in favor ofLazyLock
(#4130)web-tree-sitter.d.ts
(#4121)patternIndex
field toQueryCapture
(#4141)PredicateStep
types (#4141)cc
1.2 for Rust (#4156)init
command (#3999)parse --time
(#4016)test
subcommand to include/exclude by corpus test file names (#4095).exp
and.lib
files to gitignore template (#4079)node-types.json
(#4116)tree-sitter.json
doesn't exist, rather than hard failing (#4156)TSHighlighter
fields as pub (#3990)funding
field (#4142)class-name
field to grammars (#4142)title
field to grammars (#4142)ts_parser_parse_with_options
(#3843)ts_query_cursor_exec_with_options
(#3843)const
forTSCharacterRanges
(#4027)Send
+Sync
forWasmStore
(#4130)language_for_configuration
(#3816)tree-sitter.json
file is invalid (#3897)Language::node_kind_is_supertype
(#3788)*_with_options
to the parser and query cursor, deprecate old functions (#3843)thiserror
forgenerate
crate (#4048)Send
+Sync
forTagsConfiguration
(#4130)--watch
option forbuild-wasm
andcheck-wasm-exports
xtask commands (#4082)Bug Fixes
LanguageRef
inParser::language
(#3797)StreamingIterator
andStreamingIteratorMut
(#4034)platform (#4106)
build_parse_table
(#3798)tree-sitter.json
ininit
(#3856)contains
overis
in warning (#3867).
(#4142)kebab-case
name is expected (#4142)ts_query_cursor_set
(#3865)node_descendant_for
(#3865)get_column
when the lexer is at EOF (#3764)endian.h
(#3772)subtree.h
(#3787)clock_gettime
on macOS again (#3976)last_child
status to pattern alternatives in queries (#4067)JavaScript
if the select info is undefinedPathBuf
for--query-paths
highlight
option (#4071)ERROR
indescendantsOfType
(#4103)getExtent
(#4074)check-artifacts
script (#4158)test_flags
arg if it's empty for cargo test (#3889)check-wasm-exports
to web changes (#4121)Performance
Documentation
npm install
for editor integration (#3855)contributing.md
--test-number
entries for query, highlight, and tag subcommands (#4054)QueryCaptures
during iteration (#4073)ts_tree_get_changed_ranges
andts_query_cursor_set_{byte,point}_range
(#4114)--locked
to installation instructions (#3850)scan
functionRefactor
ansi_colours
(#4151)CaptureQuantifier
definition (#4141)Testing
assert_eq
callsBuild System and CI
Cargo.toml
s (#3754)cliff.toml
(#3831)bindings.rs
& addLanguage::name
(#3847)ci
if documentation files & friends have changedweb-tree-sitter
(#4121)tree-sitter-language
to 0.1.4api.h
orbindings.rs
changes (#4036)commit.github
tocommit.remote
(#4116)docs
has changedtree-sitter.pc
generation (#3745) (#3745)files
in package.json instead of.npmignore
(#4121)Other
extends beyond
tocontains or starts after
(#4046)FUNDING.yml
FUNDING.yml
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.