Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit ace41c7

Browse files
author
Hendrik van Antwerpen
committed
Release tree-sitter-stack-graphs v0.5.0
1 parent 45fbf5f commit ace41c7

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

languages/tree-sitter-stack-graphs-typescript/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ harness = false
2525
anyhow = "1.0"
2626
clap = "3"
2727
glob = "0.3"
28-
stack-graphs = { version = "~0.10.1", path = "../../stack-graphs" }
29-
tree-sitter-stack-graphs = { version = "~0.4.0", path = "../../tree-sitter-stack-graphs", features=["cli"] }
28+
stack-graphs = { version = "~0.10", path = "../../stack-graphs" }
29+
tree-sitter-stack-graphs = { version = "~0.5", path = "../../tree-sitter-stack-graphs", features=["cli"] }
3030
tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev="082da44a5263599186dadafd2c974c19f3a73d28" }
3131
tsconfig = "0.1.0"

tree-sitter-stack-graphs/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## v0.5.0 -- 2023-01-10
9+
10+
### Library
11+
12+
#### Added
13+
14+
- A new `cli` module contains the CLI implementation. It can be reused to create language-specific CLIs that do not rely on loading from the file system.
15+
- An `empty_source_span` attribute can be used in TSG rules to collapse the source span to its start, instead of covering the whole source node.
16+
- A new `FileAnalyzer` trait can be implemented to implement custom analysis of special project files such as package manifests or project configurations.
17+
18+
#### Changed
19+
20+
- Language loading has been redesigned to have clearer responsiilities for the various types involved. Loaders now return instances of `LanguageConfiguration`, which holds not just the `StackGraphLanguage` necessary to execute the TSG, but also other data about the language, such as file types, special file analyzers, and the builtins stack graph. The `StackGraphLanguage` is now only responsible for executing TSGs, and does not contain the language's `builtins` anymore.
21+
22+
#### Fixed
23+
24+
- A bug in path normalization that would lose `..` prefixes for paths whose normal form starts with `..` components.
25+
26+
### CLI
27+
828
## 0.4.1 -- 2022-10-19
929

1030
### CLI

tree-sitter-stack-graphs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tree-sitter-stack-graphs"
3-
version = "0.4.1"
3+
version = "0.5.0"
44
description = "Create stack graphs using tree-sitter parsers"
55
homepage = "https://github.com/github/stack-graphs/tree/main/tree-sitter-stack-graphs"
66
repository = "https://github.com/github/stack-graphs/"

0 commit comments

Comments
 (0)