Skip to content

Commit d7665d1

Browse files
Merge pull request #451 from github/releases
New releases
2 parents 20a2554 + a68b92d commit d7665d1

File tree

33 files changed

+109
-158
lines changed

33 files changed

+109
-158
lines changed

languages/tree-sitter-stack-graphs-java/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.4.0 -- 2024-07-09
9+
10+
### Added
11+
12+
- Add rules for the `condition` node that was missing.
13+
14+
### Removed
15+
16+
- The `FILE_PATH_VAR` constant has been replaced in favor of `tree_sitter_stack_graphs::FILE_PATH_VAR`.
17+
818
## v0.3.0 -- 2024-03-06
919

1020
The `tree-sitter-stack-graphs` is updated to `v0.8`.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tree-sitter-stack-graphs-java"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
description = "Stack graphs for the Java programming language"
55

66
homepage = "https://github.com/github/stack-graphs/tree/main/languages/tree-sitter-stack-graphs-java"
@@ -41,8 +41,8 @@ cli = ["anyhow", "clap", "tree-sitter-stack-graphs/cli"]
4141
anyhow = { version = "1.0", optional = true }
4242
clap = { version = "4", features = ["derive"], optional = true }
4343
tree-sitter-java = { version = "=0.20.2" }
44-
tree-sitter-stack-graphs = { version = "0.8", path = "../../tree-sitter-stack-graphs" }
44+
tree-sitter-stack-graphs = { path = "../../tree-sitter-stack-graphs" }
4545

4646
[dev-dependencies]
4747
anyhow = { version = "1.0" }
48-
tree-sitter-stack-graphs = { version = "0.8", path = "../../tree-sitter-stack-graphs", features = ["cli"] }
48+
tree-sitter-stack-graphs = { path = "../../tree-sitter-stack-graphs", features = ["cli"] }

languages/tree-sitter-stack-graphs-java/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To use this library, add the following to your `Cargo.toml`:
1313

1414
```toml
1515
[dependencies]
16-
tree-sitter-stack-graphs-java = "0.3"
16+
tree-sitter-stack-graphs-java = "0.4"
1717
```
1818

1919
Check out our [documentation](https://docs.rs/tree-sitter-stack-graphs-java/*/) for more details on how to use this library.

languages/tree-sitter-stack-graphs-java/rust/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ pub const STACK_GRAPHS_BUILTINS_PATH: &str = "src/builtins.java";
1414
/// The stack graphs builtins source for this language.
1515
pub const STACK_GRAPHS_BUILTINS_SOURCE: &str = include_str!("../src/builtins.java");
1616

17-
/// The name of the file path global variable
18-
pub const FILE_PATH_VAR: &str = "FILE_PATH";
1917
/// The name of the project name global variable
2018
pub const PROJECT_NAME_VAR: &str = "PROJECT_NAME";
2119

languages/tree-sitter-stack-graphs-javascript/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ 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.2.0 -- 2024-07-09
9+
10+
### Removed
11+
12+
- The `FILE_PATH_VAR` constant has been replaced in favor of `tree_sitter_stack_graphs::FILE_PATH_VAR`.
13+
814
## v0.1.0 -- 2024-03-06
915

1016
Initial release.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tree-sitter-stack-graphs-javascript"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
description = "Stack graphs definition for JavaScript using tree-sitter-javascript"
55
readme = "README.md"
66
keywords = ["tree-sitter", "stack-graphs", "javascript"]
@@ -30,11 +30,11 @@ anyhow = { version = "1.0", optional = true }
3030
clap = { version = "4", optional = true }
3131
serde = { version = "1.0", features = ["derive"] }
3232
serde_json = "1.0"
33-
stack-graphs = { version = "0.13", path = "../../stack-graphs" }
33+
stack-graphs = { path = "../../stack-graphs" }
3434
tree-sitter-graph = "0.11.2"
3535
tree-sitter-javascript = "=0.20.4"
36-
tree-sitter-stack-graphs = { version = "0.8", path = "../../tree-sitter-stack-graphs" }
36+
tree-sitter-stack-graphs = { path = "../../tree-sitter-stack-graphs" }
3737

3838
[dev-dependencies]
3939
anyhow = "1.0"
40-
tree-sitter-stack-graphs = { version = "0.8", path = "../../tree-sitter-stack-graphs", features = ["cli"] }
40+
tree-sitter-stack-graphs = { path = "../../tree-sitter-stack-graphs", features = ["cli"] }

languages/tree-sitter-stack-graphs-javascript/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To use this library, add the following to your `Cargo.toml`:
1313

1414
```toml
1515
[dependencies]
16-
tree-sitter-stack-graphs-javascript = "0.1"
16+
tree-sitter-stack-graphs-javascript = "0.2"
1717
```
1818

1919
Check out our [documentation](https://docs.rs/tree-sitter-stack-graphs-javascript/*/) for more details on how to use this library.

languages/tree-sitter-stack-graphs-javascript/rust/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ pub const STACK_GRAPHS_BUILTINS_PATH: &str = "src/builtins.js";
2626
/// The stack graphs builtins source for this language.
2727
pub const STACK_GRAPHS_BUILTINS_SOURCE: &str = include_str!("../src/builtins.js");
2828

29-
/// The name of the file path global variable.
30-
pub const FILE_PATH_VAR: &str = "FILE_PATH";
29+
/// The name of the project name global variable
3130
pub const PROJECT_NAME_VAR: &str = "PROJECT_NAME";
3231

3332
pub fn language_configuration(cancellation_flag: &dyn CancellationFlag) -> LanguageConfiguration {

languages/tree-sitter-stack-graphs-python/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ 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.2.0 -- 2024-07-09
9+
10+
### Added
11+
12+
- Added support for root paths. This fixes import problems when indexing using absolute directory paths.
13+
14+
### Fixed
15+
16+
- Fixed crash for lambdas with parameters.
17+
- Fixed crash for nested functions definitions.
18+
19+
### Removed
20+
21+
- The `FILE_PATH_VAR` constant has been replaced in favor of `tree_sitter_stack_graphs::FILE_PATH_VAR`.
22+
823
## v0.1.0 -- 2024-03-06
924

1025
Initial release.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tree-sitter-stack-graphs-python"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
description = "Stack graphs definition for Python using tree-sitter-python"
55
readme = "README.md"
66
keywords = ["tree-sitter", "stack-graphs", "python"]
@@ -30,9 +30,9 @@ cli = ["anyhow", "clap", "tree-sitter-stack-graphs/cli"]
3030
[dependencies]
3131
anyhow = { version = "1.0", optional = true }
3232
clap = { version = "4", optional = true, features = ["derive"] }
33-
tree-sitter-stack-graphs = { version = "0.8", path = "../../tree-sitter-stack-graphs" }
33+
tree-sitter-stack-graphs = { path = "../../tree-sitter-stack-graphs" }
3434
tree-sitter-python = "=0.20.4"
3535

3636
[dev-dependencies]
3737
anyhow = "1.0"
38-
tree-sitter-stack-graphs = { version = "0.8", path = "../../tree-sitter-stack-graphs", features = ["cli"] }
38+
tree-sitter-stack-graphs = { path = "../../tree-sitter-stack-graphs", features = ["cli"] }

0 commit comments

Comments
 (0)