v0.23.1
版本发布时间: 2024-10-01 06:34:11
tree-sitter/tree-sitter最新发布版本:v0.24.3(2024-10-10 05:39:59)
[0.23.1] - 2024-09-30
Features
-
bindings: Bump
go-tree-sitter
version -
generate: Bump
tree-sitter
dev dependency to0.23
- language: Derive Clone and Copy on LanguageFn
Bug Fixes
- Correct comment quote
- Properly handle utf8 code points for highlight and tag assertions
- Do not generate spurious files if the grammar path is not the default path
- Disallow empty string literals in rules
- Correct test name parsing when the prior test has equal signs
- Handle more cases of editing subtrees that depend on column values
- Exclude APIs that dup given file descriptors from WASI builds
-
binding_web: Correct
edit
signature - binding_web: Remove nonexistent function definition
-
cli: Remove conflicting short flags in the
fuzz
subcommand - cli: Keep skipped tests unchanged in the test/corpus
-
cli: Remove duplicate short options from
fuzz
command (#3635) - docs: Fix highlight readme example using compatible versions
-
fuzz: Skip tests marked with
:skip
& don't report errors on tests marked with:error
- generate: Remove necessary files from gitignore template
- generate: Disallow inline variables referencing themselves
-
generate: Add
tree-sitter
to thedev-dependencies
of the Cargo.toml - generate: Do not generate large character sets for unused variables
-
generate: Remove excludes in
Package.swift
- lib: Correct extra node creation from non-zero root-alias cursors
- lib: Backtrack to the last relevant iterator if no child was found
- lib: Peek at the next sibling when iterating to find the child that contains a given descendant
- lib: Correct descendant-for-range behavior with zero-width tokens
- rust: Add missing TSNode functions
-
test: Exit with an error if a test marked with
:error
has no error -
test: Retain attributes when running
test -u
- wasm: Use / paths for workdir
Build System and CI
- deps: Bump the cargo group across 1 directory with 11 updates
- make: Support darwin cross-compile
Other
- bindings: Update rust lib docs
1、 tree-sitter-linux-arm.gz 5.12MB
2、 tree-sitter-linux-arm64.gz 5.14MB
3、 tree-sitter-linux-powerpc64.gz 5.65MB
4、 tree-sitter-linux-x64.gz 7.83MB
5、 tree-sitter-linux-x86.gz 5.4MB
6、 tree-sitter-macos-arm64.gz 7.17MB
7、 tree-sitter-macos-x64.gz 7.38MB
8、 tree-sitter-windows-arm64.gz 4.53MB
9、 tree-sitter-windows-x64.gz 6.81MB
10、 tree-sitter-windows-x86.gz 4.63MB
11、 tree-sitter.js 161.06KB
12、 tree-sitter.wasm 185.82KB