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

Commit 2862460

Browse files
author
Hendrik van Antwerpen
authored
Merge pull request #160 from github/releases
Release stack-graphs v0.10.2 and tree-sitter-stack-graphs v0.5.0
2 parents 7945b07 + ace41c7 commit 2862460

File tree

5 files changed

+34
-4
lines changed

5 files changed

+34
-4
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"

stack-graphs/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ 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.10.2 -- 2023-01-10
9+
10+
### Changed
11+
12+
- The up and down text arrows in the labels of push and pop nodes in the visualization have been replaced by bigger arrows that are part of the node shape. This makes it easier to quickly identify push and pop nodes in the graph.
13+
14+
### Fixed
15+
16+
- The `bitvec` dependency was updated to fix installation problems.
17+
818
## 0.10.1 -- 2022-09-07
919

1020
### Changed

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 = "stack-graphs"
3-
version = "0.10.1"
3+
version = "0.10.2"
44
description = "Name binding for arbitrary programming languages"
55
homepage = "https://github.com/github/stack-graphs/tree/main/stack-graphs"
66
repository = "https://github.com/github/stack-graphs/"

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)