fork of https://github.com/tree-sitter/tree-sitter-graph

Merge pull request #132 from tree-sitter/release-v0.10.0

Release v0.10.0

authored by Hendrik van Antwerpen and committed by GitHub 8e74625c 5da428fa

+20
CHANGELOG.md
··· 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 7 8 + ## v0.10.0 -- 2023-05-10 9 + 10 + ### DSL 11 + 12 + #### Changed 13 + 14 + - Unused captures in patterns are now considered errors, unless they start with an underscore. 15 + 16 + ### Library 17 + 18 + #### Fixed 19 + 20 + - Some execution errors were not always reported in lazy execution mode, depending on whether variables were used or not. This has been fixed to behave more consistently, so that errors are always reported regardless of variable use. 21 + 22 + ### CLI 23 + 24 + #### Added 25 + 26 + - Errors from setting a scoped variable twice on the same node are now reported with source snippets for both statements involved. 27 + 8 28 ## v0.9.2 -- 2023-04-14 9 29 10 30 ### Library
+1 -1
Cargo.toml
··· 1 1 [package] 2 2 name = "tree-sitter-graph" 3 - version = "0.9.2" 3 + version = "0.10.0" 4 4 description = "Construct graphs from parsed source code" 5 5 homepage = "https://github.com/tree-sitter/tree-sitter-graph/" 6 6 repository = "https://github.com/tree-sitter/tree-sitter-graph/"
+1 -1
README.md
··· 20 20 21 21 ``` toml 22 22 [dependencies] 23 - tree-sitter-graph = "0.9" 23 + tree-sitter-graph = "0.10" 24 24 ``` 25 25 26 26 To use it as a program, install it via `cargo install`: