-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency tree-sitter to v0.25.1 #415
base: master
Are you sure you want to change the base?
Conversation
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
aff0ee9
to
f259394
Compare
f259394
to
0c02965
Compare
0c02965
to
caf55a4
Compare
caf55a4
to
19f8c75
Compare
19f8c75
to
8ffffbf
Compare
8ffffbf
to
6e8797a
Compare
6e8797a
to
09b4cea
Compare
09b4cea
to
251ede6
Compare
251ede6
to
cc160e0
Compare
cc160e0
to
98f6fa5
Compare
This PR contains the following updates:
v0.23.0
->v0.25.1
Release Notes
tree-sitter/tree-sitter (tree-sitter)
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
v0.24.7
Compare Source
[0.24.7] - 2025-01-12
Bug Fixes
v0.24.6
Compare Source
[0.24.6] - 2024-12-27
Bug Fixes
v0.24.5
Compare Source
[0.24.5] - 2024-12-11
Features
Bug Fixes
clock_gettime
on macOS againBuild System and CI
Other
v0.24.4
Compare Source
[0.24.4] - 2024-11-10
Features
language_for_configuration
tree-sitter.json
file is invalidBug Fixes
LanguageRef
inParser::language
tree-sitter.json
ininit
contains
overis
in warningPerformance
Build System and CI
Other
v0.24.3
Compare Source
[0.24.3] - 2024-10-09
Bug Fixes
get_column
when the lexer is at EOFBuild System and CI
v0.24.2
Compare Source
[0.24.2] - 2024-10-06
Features
Bug Fixes
Build System and CI
tree-sitter.pc
generation (#3745)Other
v0.24.1
Compare Source
[0.24.1] - 2024-10-04
Bug Fixes
v0.24.0
Compare Source
[0.24.0] - 2024-10-04
Breaking
filter
flag from commands in favor ofinclude
andexclude
(#3604)build-wasm
subcommand (#3605)init
command (#3694)StreamingIterator
instead ofIterator
forQueryMatches
andQueryCaptures
(#3504)goto_first_child_for_{byte,point}
(#3263)Features
field_name_for_named_child
(#3614)root
field in node-types.json (#3615)rebuild
flag to force rebuild parsers (#3672)--overview-only
totest
subcommand (#3501)go-tree-sitter
version (#3564)no-ranges
flag to the parse command (#3687)tree-sitter
dev dependency to0.23
(#3563)--no-bindings
flagBug Fixes
child_containing_descendant
and addchild_with_descendant
instead (#3708)edit
signature (#3599)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.
This PR was generated by Mend Renovate. View the repository job log.
This change is