Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 1, 2024

This PR contains the following updates:

Package Type Update Change
tree-sitter http_archive minor 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
  • cli: Specify abi version via env var (#​4173)
Bug Fixes
  • bindings: Correct Zig bindings to expose a language function
  • lib: Prevent finished_tree assertion failure (#​4176)
Documentation
  • Correct build steps for WASM files
Build System and CI
  • Use ubuntu-22.04 for x64 builds (#​4175)
  • Bump version to 0.25.1
Other
  • rust: Correct doc comments

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.
  • The internal ABI was bumped to 15. The main benefits this brings is that the language name, version, supertype info, and reserved words are added to the parsers. To use ABI 15, you must have a tree-sitter.json file in your repository, since the version information for the parser is pulled from this file.
  • Parsing and Querying should be cancelled using the "progress callback", rather than setting a timeout or a cancellation flag, which are now deprecated. To do so, use the "parse/query with options" function in the bindings you choose to use, in the next release the old way of timing out parsing will be removed, which allows us to get rid of our dependency on the time.h headers in the core library.
  • MISSING nodes can now be queried, and queries involving supertypes are properly validated now.
  • The ts_node_child_containing_descendant function was removed; use ts_node_child_with_descendant instead (which has nearly the same behavior but can also return descendant.)
  • TSInput now includes a (mandatory) new field DecodeFunction, which allows passing a custom decode function. To use the builtin function, pass NULL.
  • In the DSL, there is now a 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.
  • We've migrated our documentation to mdBook, and greatly improved the docs.
Breaking
  • Properly handle UTF-16 endianness encoding (#​3740)
  • Bump internal abi to 15 (#​3803)
  • Update playground with new web bindings (#​4121)
  • bindings: Update swift bindings (#​4154)
  • cli: Remove migration code for tree-sitter.json (#​4107)
  • generate: Use regex_syntax::Hir for expanding regexes (#​3831)
  • lib: Remove ts_node_child_containing_descendant (#​4107)
  • lib: Add the ability to specify a custom decode function (#​3833)
  • web: Rewrite the library in TypeScript (#​4121)
  • web: Use the WASM module in the bindings, and not the other way around (#​4121)
  • web: Rename pattern to patternIndex in QueryMatch (#​4141)
  • web: Deprecate Language.query in favor of new Query (#​4141)
Features
  • Drop legacy binding updates (#​3734)
  • Bump version to 0.25 (#​3752)
  • Allow setting the output directory for generated source files (#​2614)
  • Move scripts to xtasks (#​3758)
  • Add CST pretty-printer for parser output (#​3762)
  • Add version subcommand for versioning grammars (#​3786)
  • Add build sha to parser.c header comment (#​3828)
  • Implement a cache for get_column (#​2503)
  • Generate schema in tree-sitter.json (#​3947)
  • Support querying missing nodes (#​3887)
  • Add flag to output css classes instead of inline styles in HTML highlighter output (#​3879)
  • Add xtask to bump emscripten-version (#​4015)
  • Add 'reserved word' construct (#​3896)
  • Add Supertype API (#​3938)
  • Support passing in a Rust regex in the grammar dsl (#​4076)
  • Allow parser balancing to be cancellable (#​4122)
  • Remove lazy_static in favor of LazyLock (#​4130)
  • Add and apply eslint config (#​4121)
  • Begin autogenerating web-tree-sitter.d.ts (#​4121)
  • Publish both CJS and ESM files (#​4121)
  • Add a patternIndex field to QueryCapture (#​4141)
  • Improve PredicateStep types (#​4141)
  • Add the semantic version to TSLanguage, and expose an API for retrieving it (#​4135)
  • Add error information in the progress callback (#​3987)
  • bindings: Auto-detect scanners (#​3809)
  • bindings: Drop language name from node (#​3184)
  • bindings: Update some binding files (#​3952)
  • bindings: Drop python 3.9 support (#​3799)
  • bindings: Support free-threaded python build (#​3799)
  • bindings: Add opt-in zig bindings (#​4144)
  • bindings: Use cc 1.2 for Rust (#​4156)
  • cli: Verify assertions for every carat in tests, not just the first one (#​3927)
  • cli: Add nushell completions (#​4000)
  • cli: Don't validate email addresses in init command (#​3999)
  • cli: Show parse times in testing output (#​3939)
  • cli: Display parse and edit times separately for parse --time (#​4016)
  • cli: Make input handling agnostic (#​4054)
  • cli: Rework parse to use new input handler (#​4054)
  • cli: Rework query to use new input handler (#​4054)
  • cli: Rework highlight to use new input handler (#​4054)
  • cli: Rework tags to use new input handler (#​4054)
  • cli: Add json summary of parsing (#​4048)
  • cli: Allow test subcommand to include/exclude by corpus test file names (#​4095)
  • cli: Improve readability of parse debug output (#​4118)
  • generate: Add a comment with the tree-sitter version (#​3825)
  • generate: Add .exp and .lib files to gitignore template (#​4079)
  • generate: Explicitly disallow non-terminals in non-terminals (#​4111)
  • generate: Properly filter out unused rules (#​4111)
  • generate: Add an extra field for extra nodes in node-types.json (#​4116)
  • generate: Defer to ABI 14 if tree-sitter.json doesn't exist, rather than hard failing (#​4156)
  • highlight: Mark TSHighlighter fields as pub (#​3990)
  • init: Allow dashes in scopes (#​4142)
  • init: Add an optional funding field (#​4142)
  • init: Add a class-name field to grammars (#​4142)
  • init: Add a title field to grammars (#​4142)
  • lib: Wrap subtrees with changes in green circles (#​3741)
  • lib: Add the language name (#​3184)
  • lib: Add ts_parser_parse_with_options (#​3843)
  • lib: Add ts_query_cursor_exec_with_options (#​3843)
  • lib: Use const for TSCharacterRanges (#​4027)
  • lib: Implement Send + Sync for WasmStore (#​4130)
  • loader: Add language_for_configuration (#​3816)
  • loader: Add error message when a tree-sitter.json file is invalid (#​3897)
  • loader: Support multi-barreled file extensions (#​3880)
  • loader: Add a way to get the cwd's language config (#​4054)
  • make,cmake: Install queries along with parser libraries (#​3958)
  • node: Support single-file executables via bun build --compile (#​3905)
  • node: Update bindings when necessary (#​3906)
  • playground: Provide colored highlight for captures in code editor (#​4089)
  • query: Structurally verify supertype queries (#​4110)
  • rust: Add Language::node_kind_is_supertype (#​3788)
  • rust: Add *_with_options to the parser and query cursor, deprecate old functions (#​3843)
  • rust: Remove usage of deprecated functions (#​3843)
  • rust: Use thiserror for generate crate (#​4048)
  • tags: Implement Send + Sync for TagsConfiguration (#​4130)
  • wasm: Add Supertype API (#​3938)
  • web: Add missing API functions (#​4074)
  • web: Document the API (#​4121)
  • web: Use custom error type for query errors (#​4141)
  • web: Include C source files for debugging (#​4171)
  • xtask: Add upgrade-wasmtime command (#​3771)
  • xtask: Let upgrade-wasmtime update Cargo.lock (#​3890)
  • xtask: Check wasm exports (#​4074)
  • xtask: add --watch option for build-wasm and check-wasm-exports xtask commands (#​4082)
  • xtask: Add success message for wasm watchers (#​4131)
Bug Fixes
  • Return LanguageRef in Parser::language (#​3797)
  • Make sha generation work with submodules (#​3828)
  • Disallow tokens that match the empty string (#​3864)
  • Compiler warning (#​3936)
  • Clippy lint
  • Clippy lints
  • Minor issues with CI (#​3971)
  • Keep highlight names list consistent in the docs and cli (#​2065)
  • Re-export StreamingIterator and StreamingIteratorMut (#​4034)
  • Update outdated links (#​4064)
    platform (#​4106)
  • bindings: Update CMakeLists.txt file (#​3869)
  • bindings: Fix scanner check in binding.gyp (#​3874)
  • bindings: Include headers & queries in python sdist (#​3952)
  • cli: Do not stop printing dot graphs until edits are re-parsed (#​3741)
  • cli: Remove unnecessary referencing/dereferencing in build_parse_table (#​3798)
  • cli: Pass all fields to tree-sitter.json in init (#​3856)
  • cli: Use contains over is in warning (#​3867)
  • cli: Replace nerd font symbols with unicode symbols (#​3835)
  • cli: Count skipped tests correctly (#​3835)
  • cli: Correct warning message (#​4009)
  • cli: Only remove test input's trailing '\r' if running on Windows (#​4106)
  • cli: Fix error display, considering structured data returned from generate command (#​4108)
  • cli: Correct default query paths (#​4009)
  • cli: Gracefully handle OOB assertions (#​4011)
  • cli: Handle nested tags test files (#​4010)
  • cli: Use xdg config directory on macOS (#​4026)
  • cli: Correct range in cst pretty printer (#​4057)
  • cli: Remove double print of generate errors (#​4083)
  • cli: Correct test update option (#​4109)
  • cli: Improve error message for nonterminals used in token rule (#​4115)
  • cli: Minor discrepancies with pretty printer (#​4147)
  • cli: Correct traversal behavior for finding error nodes (#​4152)
  • cli: Propagate error flag in parse summary (#​4164)
  • cmake: Use current source dir for EXISTS check (#​3907)
  • docs: Update link for "Error Detection and Recovery in LR Parsers" (#​3866)
  • dsl: Fix types for RuleBuilder (#​3812)
  • endian: Support POSIX mode on Apple platforms (#​4068)
  • endian: Rely on system headers where possible (#​4149)
  • generate: Do not set the unit reduction symbol if it's in the extras array (#​3868)
  • generate: Improve display of token sets with escape characters (#​4092)
  • generate: Improve error message when a duplicate token is used as the word token (#​4092)
  • init: Use camel name from config in missing spots (#​3790)
  • init: Use current path if unspecified (#​3795)
  • init: Don't prepend the default filetype with a . (#​4142)
  • init: Handle parser name replacements better when a kebab-case name is expected (#​4142)
  • lib: Check point, byte ranges in ts_query_cursor_set (#​3865)
  • lib: check point, byte ranges in node_descendant_for (#​3865)
  • lib: Correct unexpected side effect in get_column when the lexer is at EOF (#​3764)
  • lib: Fix compilation issue on windows with endian.h (#​3772)
  • lib: Properly reset the lexer's start postiion (#​3770)
  • lib: Add parameter names in declarations in subtree.h (#​3787)
  • lib: Handle compiler warnings (#​3781)
  • lib: Simplify edge cases with zero-width tokens (#​3836)
  • lib: Correctly fetch the node name in query errors (#​3904)
  • lib: Correct next sibling of zero width node (#​3898)
  • lib: Correct escape detection for invalid anonymous nodes (#​3945)
  • lib: Use clock_gettime on macOS again (#​3976)
  • lib: Add saturating subtraction to prevent integer underflow (#​4037)
  • lib: Correct fix for parsing hang with ranges containing empty points (#​4037)
  • lib: Propagate last_child status to pattern alternatives in queries (#​4067)
  • lib: Prevent wildcards from incorrectly marking child patterns as infallible (#​4069)
  • lib: Don't consider unfinished captures definite when the following step is immediate (#​4070)
  • lib: Avoid OOB access when updating alternative steps (#​4096)
  • lib: Use inclusive range check for non-empty nodes in next sibling computation (#​4097)
  • lib: Temporarily allow lint with false positives (#​4124)
  • lib: Don't always clear the tree stack (#​4132)
  • loader: Don't print warnings if the file is not found (#​3909)
  • playground: Correct link to upstream playground (#​4040)
  • playground: Ensure local playground is initialized (#​4040)
  • playground: Add dark theme, align ui more akin to upstream playground (#​4040)
  • playground: Add back underline on tree nodes, and query error underline (#​4040)
  • playground: Restore select value's text from local storage (#​4040)
  • playground: Gracefully fallback to JavaScript if the select info is undefined
  • playground: Work around lack of module support in mdbook (#​4140)
  • query: Ensure immediate matches for any node when an anchor follows a wildcard node (#​4047)
  • rust: Fix progress callback scope to prevent premature drop (#​3863)
  • rust: Adapt to a few new nightly lints (#​4045)
  • rust: Use PathBuf for --query-paths highlight option (#​4071)
  • rust: Adapt to a few new nightly lints (#​4099)
  • templates: Properly replace author email (#​3742)
  • wasm: Check docker presence without arguments (#​4087)
  • wasm: Allow passing in ERROR in descendantsOfType (#​4103)
  • web: Correct getExtent (#​4074)
  • web: Correct builds for CJS (#​4121)
  • web: Only export public types (#​4141)
  • web: Correct debug file location (#​4157)
  • web: Update check-artifacts script (#​4158)
  • web: Correct doc comment (#​4166)
  • xtask: Correct header path (#​3803)
  • xtask: Remove the test_flags arg if it's empty for cargo test (#​3889)
  • xtask: Bring back language and example filter (#​3926)
  • xtask: Add emscription version in commit msg (#​4020)
  • xtask: Adapt check-wasm-exports to web changes (#​4121)
Performance
  • loader: Improve language lookup speed (#​3776)
Documentation
  • Update changelog
  • Update changelog
  • Recommend npm install for editor integration (#​3855)
  • Code-format repro commands in bug report template (#​3852)
  • Fix missing links (#​3857)
  • Add missing tags description (#​3923)
  • Remove CHANGELOG.md (#​3928)
  • Add documentation for TSPoint coordinates (#​3949) (#​3949)
  • Fix typo (#​4024)
  • Clarify the start rule of a grammar (#​4028)
  • Migrate to mdbook (#​4032)
  • Fix link to contributing.md
  • Add guide on contributing to docs (#​4035)
  • Move assets to correct path (#​4040)
  • Add favicon and logo (#​4040)
  • Add back detailed info about points
  • Add --test-number entries for query, highlight, and tag subcommands (#​4054)
  • Clarify data returned by QueryCaptures during iteration (#​4073)
  • Add mdbook-admonish for better tooltips
  • Add note on not duplicating the word token rule (#​4092)
  • Update playground references (#​4093)
  • Clarify that the optional fields are a function that take in the grammar object
  • Add example usage of conflicts (#​4098)
  • Improve docs for contributing to docs (#​4100)
  • Improve docs around lexical precedence (#​4101)
  • Add information about the scoping of cursors (#​4102)
  • Fix broken link (#​4127)
  • Add documentation on updating and publishing grammars (#​4135)
  • Add guidance about node naming conventions (#​4148)
  • Add missing summary element (#​4150)
  • lib: Improve documentation on ts_tree_get_changed_ranges and ts_query_cursor_set_{byte,point}_range (#​4114)
  • rust: Updated README to reflect language initialization updates (#​3757)
  • rust: Document optional features (#​3822)
  • rust: Add --locked to installation instructions (#​3850)
  • rust: Update doc comment on node ids (#​3364)
  • scanner: Add overview to the scan function
  • web: Add instructions for Vite (#​2830)
  • web: Update process on fetching WASM files (#​4121)
  • web: Update docs (#​4121)
  • web: Update README and add CONTRIBUTING docs (#​4121)
  • web: Update type definitions (#​4141)
  • xtask: Update doc to use xtask, not scripts
Refactor
  • Reuse symbol variable in subtype map generator (#​3942)
  • Rewrite scripts in typescript (#​4121)
  • cli: Replace embedded xterm colors file with ansi_colours (#​4151)
  • web: Use fs/promises (#​3793)
  • web: Move CaptureQuantifier definition (#​4141)
  • web: Break apart the logic for constructing a query (#​4141)
Testing
  • Ignore flaky test for now (#​4074)
  • Improve test coverage (#​4134)
  • Update tests (#​4141)
  • Update tests (#​4121)
  • rust: Correct expected and actual spots in assert_eq calls
Build System and CI
  • Tweak Cargo.tomls (#​3754)
  • Fix incorrect variable checks (#​3755)
  • Configure clippy lints at the workspace level (#​3758)
  • Tune compiler warnings
  • Major overhaul (#​3774)
  • Add nvim-treesitter parser tests (#​3785)
  • Treat incompatible pointer warning as error
  • Build lib with wasmtime (#​3781)
  • Move `generate-wasm-exports-lists to xtask (#​3831)
  • Remove unicode files and script, move cliff.toml (#​3831)
  • Add bindgen workflow
  • Regenerate bindings.rs & add Language::name (#​3847)
  • Bump deps (#​4013)
  • Add workflow to update emscripten (#​4015)
  • Don't run ci if documentation files & friends have changed
  • Don't install cross if it already exists (#​4047)
  • Use correct xtask command to update emscripten (#​4052)
  • Bump actions/configure-pages from 4 to 5 in the actions group (#​4050)
  • Fix typo (#​4061)
  • Regenerate fixtures upon changes to parser.h, alloc.h, array.h
  • Update docs workflow
  • Bump other crates' MSRV to 1.82 (#​4111)
  • Add arm ubuntu runner, & use latest runners (#​4123)
  • Add linting step for web-tree-sitter (#​4121)
  • Go back to emulating linux arm64 (#​4142)
  • Bump tree-sitter-language to 0.1.4
  • Bump dependencies (#​4157)
  • Update authors (#​4172)
  • bindgen: Only check bindgen output when api.h or bindings.rs changes (#​4036)
  • bindings: Improve cmake file (#​3735)
  • bindings: Rename cmake test target (#​3860)
  • bindings: Move header to tree_sitter subdirectory (#​4104)
  • changelog: Prepend to the changelog
  • cli: Get build sha via git command (#​3827)
  • cli: Explicitly include files (#​4161)
  • cliff: Rename commit.github to commit.remote (#​4116)
  • cmake: Support amalgamated build (#​3731)
  • cmake: Correct library scopes (#​3733)
  • deps: Bump the cargo group across 1 directory with 2 updates
  • deps: Bump wasmtime to v25.0.2 (#​3767)
  • deps: Bump wasmtime to v25.0.2 (#​3771)
  • deps: Bump cc from 1.1.28 to 1.1.30 in the cargo group
  • deps: Bump wasmtime to v26.0.0 (#​3819)
  • deps: Bump wasmparser in the cargo group across 1 directory
  • deps: Bump wasmtime from 26.0.0 to 26.0.1
  • deps: Bump wasmtime-c-api to v26.0.1 (#​3890)
  • deps: Bump @​eslint/plugin-kit from 0.2.0 to 0.2.3 in /cli/eslint (#​3946)
  • deps: Bump cross-spawn from 7.0.3 to 7.0.5 in /cli/eslint (#​3948)
  • deps: Bump the cargo group across 1 directory with 9 updates (#​3953)
  • deps: Bump clap_complete from 4.5.38 to 4.5.39 in the cargo group (#​4014)
  • deps: Bump the cargo group across 1 directory with 7 updates
  • deps: Bump emscripten to 3.1.74 (#​4060)
  • deps: Bump cc from 1.2.6 to 1.2.7 in the cargo group (#​4080)
  • deps: Bump the cargo group with 2 updates (#​4119)
  • deps: Bump the cargo group with 7 updates
  • deps: Bump emscripten to 4.0.1 (#​4129)
  • deps: Bump wasmtime-c-api to v29.0.1 (#​4155)
  • deps-dev: Bump vite from 6.0.7 to 6.0.11 in /lib/binding_web (#​4137)
  • docs: Only re-deploy docs when any file in docs has changed
  • emscripten: Set the git user and email with the cli
  • make: Fix tree-sitter.pc generation (#​3745) (#​3745)
  • release: Use the ref name for the release tag (#​4113)
  • release: Correct build steps for web-tree-sitter
  • rust: Bump the lib's MSRV to 1.76 (#​4111)
  • swift: Include all source files
  • web: Use files in package.json instead of .npmignore (#​4121)
  • web: Bump deps
  • web: Relocate source files in WASM sourcemap
  • zig: Add optional wasmtime dependency (#​3738)
  • zig: Use build root instead of cwd (#​3944) (#​3944)
Other
  • Misc clippy lints (#​3753)
  • Remove unnecessary fuzz and profile helpers (#​3758)
  • Merge pull request #​3765 from tree-sitter/dependabot/cargo/cargo-a8e37abc8d (#​3765)
  • Memory errors in wasm_store
  • "Memory errors in wasm_store" (#​3783)
  • Merge pull request #​3789 from tree-sitter/dependabot/cargo/cargo-283306c349 (#​3789)
  • Merge pull request #​3832 from tree-sitter/dependabot/cargo/cargo-ff991ead52 (#​3832)
  • Link to Emacs’ Tree-sitter documentation (#​3881)
  • Merge pull request #​3885 from tree-sitter/dependabot/cargo/wasmtime-26.0.1 (#​3885)
  • Fix typo in doc comment (#​4022) (#​4022)
  • Correct typos (#​4029)
  • Rephrase extends beyond to contains or starts after (#​4046)
  • Move command help strings to doc comments (#​4065)
  • Fix doc comment
  • Readd skipped test (#​4110)
  • A few minor lints (#​4133)
  • Cleanup unused code
  • A few more minor lints (#​4138)
  • Add FUNDING.yml
  • Update FUNDING.yml
  • Adapt to latest clippy lints
  • bindings: Clean up package.json
  • bindings: Improve gitattributes file
  • bindings: Drop pkg-config Requires field
  • bindings: Correct editorconfig indent size (#​3808)
  • bindings: More small changes (#​3813)
  • bindings: Include tree-sitter.json file
  • bindings: Update go binding version (#​3884)
  • bindings: Include license file in crate (#​4168)
  • cli: Minor correction in comments (#​3739)
  • generate: Remove unused fields (#​4059)
  • templates: Update npm packages
  • web: Update type definitions (#​4166)

v0.24.7

Compare Source

[0.24.7] - 2025-01-12

Bug Fixes
  • lib: Use inclusive range check for non-empty nodes in next sibling computation

v0.24.6

Compare Source

[0.24.6] - 2024-12-27

Bug Fixes
  • playground: backport new playground

v0.24.5

Compare Source

[0.24.5] - 2024-12-11

Features
  • Move scripts to xtasks
Bug Fixes
  • Compiler warning
  • Sync cmake with master
  • lib: Correct next sibling of zero width node
  • lib: Use clock_gettime on macOS again
  • lib: Handle compiler warnings
Build System and CI
  • Configure clippy lints at the workspace level
  • Tune compiler warnings
  • Major overhaul
  • Treat incompatible pointer warning as error
  • Build lib with wasmtime
  • Fix minor issues
  • cmake: Link wasmtime dependencies
Other
  • Remove unnecessary fuzz and profile helpers

v0.24.4

Compare Source

[0.24.4] - 2024-11-10

Features
  • loader: Add language_for_configuration
  • loader: Add error message when a tree-sitter.json file is invalid
  • node: Support single-file executables via bun build --compile
  • node: Update bindings when necessary
Bug Fixes
  • Return LanguageRef in Parser::language
  • bindings: Update CMakeLists.txt file
  • cli: Pass all fields to tree-sitter.json in init
  • cli: Use contains over is in warning
  • cmake: Use current source dir for EXISTS check
  • generate: Do not set the unit reduction symbol if it's in the extras array
  • init: Use current path if unspecified
  • init: Use camel name from config in missing spots
  • lib: Simplify edge cases with zero-width tokens
  • lib: Correctly fetch the node name in query errors
  • loader: Don't print warnings if the file is not found
Performance
  • loader: Improve language lookup speed
Build System and CI
  • bindings: Rename cmake test target
Other
  • Memory errors in wasm_store

v0.24.3

Compare Source

[0.24.3] - 2024-10-09

Bug Fixes
  • lib: Correct unexpected side effect in get_column when the lexer is at EOF
Build System and CI
  • Fix incorrect variable checks
  • deps: Bump wasmtime to v25.0.2

v0.24.2

Compare Source

[0.24.2] - 2024-10-06

Features
  • Drop legacy binding updates
Bug Fixes
  • templates: Properly replace author email
Build System and CI
  • bindings: Improve cmake file
  • cmake: Support amalgamated build
  • cmake: Correct library scopes
  • make: Fix tree-sitter.pc generation (#​3745)
Other
  • templates: Update npm packages

v0.24.1

Compare Source

[0.24.1] - 2024-10-04

Bug Fixes
  • generate: Move generated header files into the generate crate

v0.24.0

Compare Source

[0.24.0] - 2024-10-04

Breaking
  • Remove C++ support for external scanners (#​3602)
  • Remove filter flag from commands in favor of include and exclude (#​3604)
  • Remove the build-wasm subcommand (#​3605)
  • Move generation of grammar files to an init command (#​3694)
  • Implement StreamingIterator instead of Iterator for QueryMatches and QueryCaptures (#​3504)
  • generate: Remove unused rules (#​3722)
  • lib: Treat nodes' end ranges exclusively in goto_first_child_for_{byte,point} (#​3263)
Features
  • Add an API to time out query executions (#​3559)
  • Add field_name_for_named_child (#​3614)
  • Add root field in node-types.json (#​3615)
  • Add eslint configuration package (#​3666)
  • Provide a rebuild flag to force rebuild parsers (#​3672)
  • Add shell completions (#​3675)
  • Move generate logic to its own crate (#​3689)
  • Add --overview-only to test subcommand (#​3501)
  • Move tree-sitter configuration to dedicated file (#​3700) (#​3700)
  • api: Expose function to check if symbol represents a supertype (#​3616)
  • bindings: Bump go-tree-sitter version (#​3564)
  • cli: Add a no-ranges flag to the parse command (#​3687)
  • generate: Bump tree-sitter dev dependency to 0.23 (#​3563)
  • generate: Add a no-op --no-bindings flag
  • init: Add an update flag (#​3698)
  • language: Derive Clone and Copy on LanguageFn (#​3585)
  • schema: Misc improvements (#​3681)
  • test: Test all queries
Bug Fixes
  • Correct comment quote (#​3630)
  • Properly handle utf8 code points for highlight and tag assertions (#​3610)
  • Do not generate spurious files if the grammar path is not the default path (#​3677)
  • Disallow empty string literals in rules (#​3679)
  • Correct test name parsing when the prior test has equal signs (#​3704)
  • Handle more cases of editing subtrees that depend on column values (#​3257)
  • Exclude APIs that dup given file descriptors from WASI builds (#​3475)
  • Deprecate child_containing_descendant and add child_with_descendant instead (#​3708)
  • binding_web: Correct edit signature (#​3599)
  • binding_web: Remove nonexistent function defini

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 was generated by Mend Renovate. View the repository job log.


This change is Reviewable

Copy link

coderabbitai bot commented Oct 1, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate bot force-pushed the renovate/tree-sitter-0.x branch from aff0ee9 to f259394 Compare October 1, 2024 18:08
@renovate renovate bot changed the title Update dependency tree-sitter to v0.23.1 Update dependency tree-sitter to v0.23.2 Oct 1, 2024
@renovate renovate bot force-pushed the renovate/tree-sitter-0.x branch from f259394 to 0c02965 Compare October 4, 2024 06:16
@renovate renovate bot changed the title Update dependency tree-sitter to v0.23.2 Update dependency tree-sitter to v0.24.1 Oct 4, 2024
@renovate renovate bot force-pushed the renovate/tree-sitter-0.x branch from 0c02965 to caf55a4 Compare October 6, 2024 01:35
@renovate renovate bot changed the title Update dependency tree-sitter to v0.24.1 Update dependency tree-sitter to v0.24.2 Oct 6, 2024
@renovate renovate bot force-pushed the renovate/tree-sitter-0.x branch from caf55a4 to 19f8c75 Compare October 9, 2024 21:46
@renovate renovate bot changed the title Update dependency tree-sitter to v0.24.2 Update dependency tree-sitter to v0.24.3 Oct 9, 2024
@renovate renovate bot force-pushed the renovate/tree-sitter-0.x branch from 19f8c75 to 8ffffbf Compare November 10, 2024 07:17
@renovate renovate bot changed the title Update dependency tree-sitter to v0.24.3 Update dependency tree-sitter to v0.24.4 Nov 10, 2024
@renovate renovate bot force-pushed the renovate/tree-sitter-0.x branch from 8ffffbf to 6e8797a Compare December 11, 2024 09:03
@renovate renovate bot changed the title Update dependency tree-sitter to v0.24.4 Update dependency tree-sitter to v0.24.5 Dec 11, 2024
@renovate renovate bot force-pushed the renovate/tree-sitter-0.x branch from 6e8797a to 09b4cea Compare December 27, 2024 03:34
@renovate renovate bot changed the title Update dependency tree-sitter to v0.24.5 Update dependency tree-sitter to v0.24.6 Dec 27, 2024
@renovate renovate bot force-pushed the renovate/tree-sitter-0.x branch from 09b4cea to 251ede6 Compare January 12, 2025 20:36
@renovate renovate bot changed the title Update dependency tree-sitter to v0.24.6 Update dependency tree-sitter to v0.24.7 Jan 12, 2025
@renovate renovate bot force-pushed the renovate/tree-sitter-0.x branch from 251ede6 to cc160e0 Compare February 1, 2025 04:56
@renovate renovate bot changed the title Update dependency tree-sitter to v0.24.7 Update dependency tree-sitter to v0.25.0 Feb 1, 2025
@renovate renovate bot force-pushed the renovate/tree-sitter-0.x branch from cc160e0 to 98f6fa5 Compare February 2, 2025 08:35
@renovate renovate bot changed the title Update dependency tree-sitter to v0.25.0 Update dependency tree-sitter to v0.25.1 Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants