Subject: CVS commit: pkgsrc/textproc/tree-sitter
From: Thomas Klausner
Date: 2024-09-13 11:59:13
Message id: 20240913095914.12ED7FC74@cvs.NetBSD.org

Log Message:
tree-sitter: update to 0.23.0.

[0.23.0] - 2024-08-26

Breaking

    Introduce tree-sitter-language crate for grammar crates to depend on (#3069)
    Revert interning of a sequence or choice of a single rule (#3548)
    bindings: Use capsules in python (#3384)
    dsl: Support other JS runtimes (#3355)

Features

    Add fuzz subcommand (#3385)
    Allow external scanners to use the logger (#3204)
    bindings: Add query constants to python
    bindings: Add node, python, swift tests (#3178)
    bindings: Update npm scripts (#3210)
    cli: Bump unicode data to v15.1.0
    cli: Add debug build flag (#3279)
    cli: Attach helpful context when grammar.json cannot be found (#3405)
    cli: Add --show-fields flag to test command (#3502)
    lib: Add ts_query_end_byte_for_pattern (#3451)
    lib: Support no_std
    zig: Update outdated path syntax (#3383)

Bug Fixes

    Always reset to the first language when iterating over language attributes \ 
(#3375)
    Better error when a supertype rule is invalid (#3400)
    Intern a sequence or choice of a single element the same as the element itself
    Do not "absorb" rules that consist of a single terminal if the \ 
rule is hidden (#2577)
    bindings: Update go bindings (#3544)
    cli: Installation via authenticated proxy (#3414)
    cli: Dedup preceding_auxiliary_symbols (#3550)
    dsl: Improve error message when a rule function returns undefined (#3452)
    generate: Rename cargo.toml template (#3532)
    go: Update parser name in binding files, add to docs (#3547)
    lib: A null clock must have tv_nsec be 0 as well (#3372)
    lib: Restrict pattern_map optimization when a wildcard step has an immediate \ 
first child (#3440)
    lib: An empty root node should not precede an empty range (#3450)
    lib: Fix api header C++ interop (#3534)
    make: Fail properly on Windows (#3418)
    rust: Fetch CARGO_MANIFEST_DIR at runtime in build script (#3352)
    rust: Fix new clippy warnings (#3491)
    test: Multi-grammar corpus tests are now in the repo root (#3342)
    wasm: Update test

Performance

    Hoist out common subexpressions in satisfies_text_predicates (#3397)

Documentation

    Update changelog
    Remove duplicate pr # in changelog
    Add note for bullet
    Fix syntax highlighting unit testing example (#3434)
    Add tsserver annotation to example (#3460)
    Fix tree cursor documentation (#3324)
    Document rust library features (#3395)
    Clean up binding & parser lists (#3443)

Refactor

    Remove ansi_term dependency (#3387)
    Remove difference dependency (#3388)
    scripts: Clean up bash scripts (#3231)

Testing

    Modernize scanner files (#3340)

Build System and CI

    deps: bump wasmtime, cc, and wasmparser (#3529
    bindings: Use language version in soname (#3308)
    lib: Include the minor in the soname
    loader: Make dependencies optional (#1638)
    swift: Declare header search path (#3474)
    wasm: Don't minify JS (#3380)
    wasm: Bump emscripten to 3.1.64 (#3497)
    wasm: Support big endian machines (#3492)
    zig: Git ignore updated Zig cache directory (#3408)

Other

    Swap sprintf() for snprintf() (#3430)
    Add .build to gitignore (#3498)
    Reset language when resetting wasm store (#3495)
    Clone wasm store engine (#3542)
    bindings: Fix indent & line endings (#3284)

Files:
RevisionActionfile
1.9modifypkgsrc/textproc/tree-sitter/Makefile
1.4modifypkgsrc/textproc/tree-sitter/PLIST
1.9modifypkgsrc/textproc/tree-sitter/distinfo
1.5modifypkgsrc/textproc/tree-sitter/patches/patch-Makefile