Accepting request 1243095 from editors:tree-sitter

OBS-URL: https://build.opensuse.org/request/show/1243095
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter?expand=0&rev=20
This commit is contained in:
Ana Guerrero 2025-02-05 11:39:50 +00:00 committed by Git OBS Bridge
commit 62625ea889
6 changed files with 47 additions and 9 deletions

View File

@ -1 +1 @@
libtree-sitter0_24
libtree-sitter0_25

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7cbc13c974d6abe978cafc9da12d1e79e07e365c42af75e43ec1b5cdc03ed447
size 3020323

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:99a2446075c2edf60e82755c48415d5f6e40f2d9aacb3423c6ca56809b70fe59
size 855493

View File

@ -1,3 +1,41 @@
-------------------------------------------------------------------
Mon Feb 3 14:43:37 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.25.1:
* cli: Specify abi version via env var
* bindings: Correct Zig bindings to expose a language function
* lib: Prevent finished_tree assertion failure
* Correct build steps for WASM files
* rust: Correct doc comments
-------------------------------------------------------------------
Sat Feb 1 15:06:02 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.25.0:
Full changelog: https://github.com/tree-sitter/tree-sitter/releases/tag/v0.25.0
Notices:
* web-tree-sitter was rewritten in TypeScript
* Parsing and Querying should be cancelled using the "progress callback",
rather than setting a timeout or a cancellation flag
* MISSING nodes can now be queried
* The ts_node_child_containing_descendant function was removed; use
ts_node_child_with_descendant
* TSInput now includes a (mandatory) new field DecodeFunction
Breaking:
* Properly handle UTF-16 endianness encoding
* Bump internal abi to 15
* Update playground with new web bindings
* bindings: Update swift bindings
* cli: Remove migration code for tree-sitter.json
* generate: Use regex_syntax::Hir for expanding regexes
* lib: Remove ts_node_child_containing_descendant
* lib: Add the ability to specify a custom decode function
* web: Rewrite the library in TypeScript
* web: Use the WASM module in the bindings, and not the other way around
* web: Rename pattern to patternIndex in QueryMatch
* web: Deprecate Language.query in favor of new Query
- increase minimum rust version
-------------------------------------------------------------------
Fri Jan 17 03:31:29 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>

View File

@ -16,9 +16,9 @@
#
%define somajor 0_24
%define somajor 0_25
Name: tree-sitter
Version: 0.24.7
Version: 0.25.1
Release: 0
Summary: An incremental parsing system for programming tools
License: GPL-2.0-only AND MIT
@ -34,7 +34,7 @@ Source24: compile-macros.sh
Source25: treesitter_grammar.attr
Source26: treesitter_grammar.req
BuildRequires: cargo-packaging
BuildRequires: rust > 1.74.1
BuildRequires: rust > 1.82.0
Requires: lib%{name}%{somajor} = %{version}
Requires: nodejs
%{?suse_build_hwcaps_libs}

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3ea67659cd6d1a4b4a0035e6779e1678a184914acb0d5b2d6067a26f998d74e
size 27774860
oid sha256:dc29fd14520ed4508fd32798eb48389d0c398237a8b229f7a309f63e722b7f7a
size 33775240