Skip to content

Commit

Permalink
Update Gitql and Gitql SDK crates versions
Browse files Browse the repository at this point in the history
  • Loading branch information
AmrDeveloper committed Dec 30, 2024
1 parent 9e35b49 commit 0f3429c
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 30 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Change Log

## Version 0.34.0 _(2024-12-30)_

- Allow `LogicalExpr` to return dynamic type depend on operands.
- Speedup selecting from diffs table by 58.36% (In Gitql repo from 6.001383125s to 2.4985875s) #124.
- Speedup selecting from refs table by 32.45% (In Gitql repo from 5.367084ms to 3.625292ms).
- Support overriding `LIKE`, `GLOB` and `REGEXP` for user defined types.
- Introduce `diff_changes` column in diffs table to store changes.
- Rename `deletions` columns to `removals` in diff table.
- Implement `DIFF_CONTENT`, `DIFF_ADDED_CONTENT`, `DIFF_DELETED_CONTENT` and `DIFF_MODIFIED_CONTENT` functions in GitQL App scope.
- Implement `DIFF_CONTENT_CONTAINS` and `DIFF_ADDED_CONTENT_CONTAINS` functions in GitQL App scope.
- Implement `DIFF_DELETED_CONTENT_CONTAINS` and `DIFF_MODIFIED_CONTENT_CONTAINS` functions in GitQL App scope.
- Implement `DIFF_FILES_COUNT` and `IS_DIFF_HAS_FILE` functions in GitQL App scope.
- Create constructors for Types and Values that make it easy to create instance.

## Version 0.33.0 _(2024-12-18)_

- Check for repositories in the script mode.
Expand Down
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gitql"
authors = ["AmrDeveloper"]
version = "0.33.0"
version = "0.34.0"
edition = "2021"
description = "A SQL like query language to perform queries on .git files"
license = "MIT"
Expand Down Expand Up @@ -39,12 +39,12 @@ uuid = { version = "1.11.0", features = ["v4"] }
lto = true

[dependencies]
gitql-core = { path = "./crates/gitql-core", version = "0.10.0" }
gitql-std = { path = "./crates/gitql-std", version = "0.10.0" }
gitql-ast = { path = "./crates/gitql-ast", version = "0.30.0" }
gitql-parser = { path = "./crates/gitql-parser", version = "0.32.0" }
gitql-engine = { path = "./crates/gitql-engine", version = "0.33.0" }
gitql-cli = { path = "./crates/gitql-cli", version = "0.33.0" }
gitql-core = { path = "./crates/gitql-core", version = "0.11.0" }
gitql-std = { path = "./crates/gitql-std", version = "0.11.0" }
gitql-ast = { path = "./crates/gitql-ast", version = "0.31.0" }
gitql-parser = { path = "./crates/gitql-parser", version = "0.33.0" }
gitql-engine = { path = "./crates/gitql-engine", version = "0.34.0" }
gitql-cli = { path = "./crates/gitql-cli", version = "0.34.0" }

gix = { workspace = true, features = ["blob-diff", "max-performance"] }

Expand Down
2 changes: 1 addition & 1 deletion crates/gitql-ast/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gitql-ast"
authors = ["AmrDeveloper"]
version = "0.30.0"
version = "0.31.0"
edition = "2021"
description = "GitQL Abstract syntax tree (AST)"
repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-ast"
Expand Down
8 changes: 4 additions & 4 deletions crates/gitql-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gitql-cli"
authors = ["AmrDeveloper"]
version = "0.33.0"
version = "0.34.0"
edition = "2021"
description = "GitQL Command line interface (CLI) components"
repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-cli"
Expand All @@ -10,9 +10,9 @@ keywords = ["cli", "gql", "language", "git", "sql"]
categories = ["command-line-utilities"]

[dependencies]
gitql-core = { path = "../gitql-core", version = "0.10.0" }
gitql-ast = { path = "../gitql-ast", version = "0.30.0" }
gitql-parser = { path = "../gitql-parser", version = "0.32.0" }
gitql-core = { path = "../gitql-core", version = "0.11.0" }
gitql-ast = { path = "../gitql-ast", version = "0.31.0" }
gitql-parser = { path = "../gitql-parser", version = "0.33.0" }
comfy-table = { workspace = true }
termcolor = { workspace = true }
serde_json = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/gitql-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gitql-core"
authors = ["AmrDeveloper"]
version = "0.10.0"
version = "0.11.0"
edition = "2021"
description = "GitQL Core components"
repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-cli"
Expand All @@ -10,7 +10,7 @@ keywords = ["cli", "gql", "language", "git", "sql"]
categories = ["command-line-utilities"]

[dependencies]
gitql-ast = { path = "../gitql-ast", version = "0.30.0" }
gitql-ast = { path = "../gitql-ast", version = "0.31.0" }
chrono = { workspace = true }
dyn-clone = { workspace = true }
indexmap = { workspace = true }
Expand Down
6 changes: 3 additions & 3 deletions crates/gitql-engine/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gitql-engine"
authors = ["AmrDeveloper"]
version = "0.33.0"
version = "0.34.0"
edition = "2021"
description = "GitQL Engine"
repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-engine"
Expand All @@ -10,6 +10,6 @@ keywords = ["cli", "gql", "language", "git", "sql"]
categories = ["command-line-utilities"]

[dependencies]
gitql-core = { path = "../gitql-core", version = "0.10.0" }
gitql-ast = { path = "../gitql-ast", version = "0.30.0" }
gitql-core = { path = "../gitql-core", version = "0.11.0" }
gitql-ast = { path = "../gitql-ast", version = "0.31.0" }
chrono = { workspace = true }
6 changes: 3 additions & 3 deletions crates/gitql-parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gitql-parser"
authors = ["AmrDeveloper"]
version = "0.32.0"
version = "0.33.0"
edition = "2021"
description = "GitQL parser"
repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-parser"
Expand All @@ -10,5 +10,5 @@ keywords = ["cli", "gql", "language", "git", "sql"]
categories = ["command-line-utilities"]

[dependencies]
gitql-core = { path = "../gitql-core", version = "0.10.0" }
gitql-ast = { path = "../gitql-ast", version = "0.30.0" }
gitql-core = { path = "../gitql-core", version = "0.11.0" }
gitql-ast = { path = "../gitql-ast", version = "0.31.0" }
6 changes: 3 additions & 3 deletions crates/gitql-std/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gitql-std"
authors = ["AmrDeveloper"]
version = "0.10.0"
version = "0.11.0"
edition = "2021"
description = "GitQL Standard and Aggregation functions"
repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-cli"
Expand All @@ -10,8 +10,8 @@ keywords = ["cli", "gql", "language", "git", "sql"]
categories = ["command-line-utilities"]

[dependencies]
gitql-core = { path = "../gitql-core", version = "0.10.0" }
gitql-ast = { path = "../gitql-ast", version = "0.30.0" }
gitql-core = { path = "../gitql-core", version = "0.11.0" }
gitql-ast = { path = "../gitql-ast", version = "0.31.0" }
chrono = { workspace = true }
regex = { workspace = true }
rand = { workspace = true }
Expand Down

0 comments on commit 0f3429c

Please sign in to comment.