From d7a93e5442eaf67c8f125a02af8f7358ca0e737f Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Sat, 4 Jan 2025 14:36:46 +0100 Subject: [PATCH] Update Gitql and Gitql crates versions for 0.35.0 --- CHANGELOG.md | 9 +++++++++ Cargo.lock | 12 ++++++------ Cargo.toml | 12 ++++++------ crates/gitql-cli/Cargo.toml | 6 +++--- crates/gitql-core/Cargo.toml | 2 +- crates/gitql-engine/Cargo.toml | 4 ++-- crates/gitql-parser/Cargo.toml | 4 ++-- crates/gitql-std/Cargo.toml | 4 ++-- 8 files changed, 31 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03a61ec..adb049d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## Version 0.34.1 _(2025-01-04)_ + +- Fix implicit casting RHS with greater operator. +- Improve implicit casting when applying operators. +- Implement `DIFF_CHANGED_FILES` diff function. +- Improve calculating diff line stats. +- Introduce a new table for `diffs_changes` to perform analysis on every change. +- Fix the order of applying distinct operator plan. + ## Version 0.34.0 _(2024-12-30)_ - Allow `LogicalExpr` to return dynamic type depend on operands. diff --git a/Cargo.lock b/Cargo.lock index e56b6d9..671b1b2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -534,7 +534,7 @@ dependencies = [ [[package]] name = "gitql" -version = "0.34.0" +version = "0.35.0" dependencies = [ "criterion", "gitql-ast", @@ -556,7 +556,7 @@ dependencies = [ [[package]] name = "gitql-cli" -version = "0.34.0" +version = "0.35.0" dependencies = [ "comfy-table", "csv", @@ -569,7 +569,7 @@ dependencies = [ [[package]] name = "gitql-core" -version = "0.11.0" +version = "0.12.0" dependencies = [ "chrono", "dyn-clone", @@ -580,7 +580,7 @@ dependencies = [ [[package]] name = "gitql-engine" -version = "0.34.0" +version = "0.35.0" dependencies = [ "chrono", "gitql-ast", @@ -589,7 +589,7 @@ dependencies = [ [[package]] name = "gitql-parser" -version = "0.33.0" +version = "0.34.0" dependencies = [ "gitql-ast", "gitql-core", @@ -597,7 +597,7 @@ dependencies = [ [[package]] name = "gitql-std" -version = "0.11.0" +version = "0.12.0" dependencies = [ "chrono", "gitql-ast", diff --git a/Cargo.toml b/Cargo.toml index f1731a5..ebc5ce5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "gitql" authors = ["AmrDeveloper"] -version = "0.34.0" +version = "0.35.0" edition = "2021" description = "A SQL like query language to perform queries on .git files" license = "MIT" @@ -39,12 +39,12 @@ uuid = { version = "1.11.0", features = ["v4"] } lto = true [dependencies] -gitql-core = { path = "./crates/gitql-core", version = "0.11.0" } -gitql-std = { path = "./crates/gitql-std", version = "0.11.0" } +gitql-core = { path = "./crates/gitql-core", version = "0.12.0" } +gitql-std = { path = "./crates/gitql-std", version = "0.12.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" } +gitql-parser = { path = "./crates/gitql-parser", version = "0.34.0" } +gitql-engine = { path = "./crates/gitql-engine", version = "0.35.0" } +gitql-cli = { path = "./crates/gitql-cli", version = "0.35.0" } gix = { workspace = true, features = ["blob-diff", "max-performance"] } diff --git a/crates/gitql-cli/Cargo.toml b/crates/gitql-cli/Cargo.toml index 5a3ac2a..1626c17 100644 --- a/crates/gitql-cli/Cargo.toml +++ b/crates/gitql-cli/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "gitql-cli" authors = ["AmrDeveloper"] -version = "0.34.0" +version = "0.35.0" edition = "2021" description = "GitQL Command line interface (CLI) components" repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-cli" @@ -10,9 +10,9 @@ keywords = ["cli", "gql", "language", "git", "sql"] categories = ["command-line-utilities"] [dependencies] -gitql-core = { path = "../gitql-core", version = "0.11.0" } +gitql-core = { path = "../gitql-core", version = "0.12.0" } gitql-ast = { path = "../gitql-ast", version = "0.31.0" } -gitql-parser = { path = "../gitql-parser", version = "0.33.0" } +gitql-parser = { path = "../gitql-parser", version = "0.34.0" } comfy-table = { workspace = true } termcolor = { workspace = true } serde_json = { workspace = true } diff --git a/crates/gitql-core/Cargo.toml b/crates/gitql-core/Cargo.toml index 01107ed..d958e47 100644 --- a/crates/gitql-core/Cargo.toml +++ b/crates/gitql-core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "gitql-core" authors = ["AmrDeveloper"] -version = "0.11.0" +version = "0.12.0" edition = "2021" description = "GitQL Core components" repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-cli" diff --git a/crates/gitql-engine/Cargo.toml b/crates/gitql-engine/Cargo.toml index 89fd79e..0c7f7df 100644 --- a/crates/gitql-engine/Cargo.toml +++ b/crates/gitql-engine/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "gitql-engine" authors = ["AmrDeveloper"] -version = "0.34.0" +version = "0.35.0" edition = "2021" description = "GitQL Engine" repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-engine" @@ -10,6 +10,6 @@ keywords = ["cli", "gql", "language", "git", "sql"] categories = ["command-line-utilities"] [dependencies] -gitql-core = { path = "../gitql-core", version = "0.11.0" } +gitql-core = { path = "../gitql-core", version = "0.12.0" } gitql-ast = { path = "../gitql-ast", version = "0.31.0" } chrono = { workspace = true } diff --git a/crates/gitql-parser/Cargo.toml b/crates/gitql-parser/Cargo.toml index 8617900..6012e0c 100644 --- a/crates/gitql-parser/Cargo.toml +++ b/crates/gitql-parser/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "gitql-parser" authors = ["AmrDeveloper"] -version = "0.33.0" +version = "0.34.0" edition = "2021" description = "GitQL parser" repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-parser" @@ -10,5 +10,5 @@ keywords = ["cli", "gql", "language", "git", "sql"] categories = ["command-line-utilities"] [dependencies] -gitql-core = { path = "../gitql-core", version = "0.11.0" } +gitql-core = { path = "../gitql-core", version = "0.12.0" } gitql-ast = { path = "../gitql-ast", version = "0.31.0" } diff --git a/crates/gitql-std/Cargo.toml b/crates/gitql-std/Cargo.toml index d6ef1c0..32dacfb 100644 --- a/crates/gitql-std/Cargo.toml +++ b/crates/gitql-std/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "gitql-std" authors = ["AmrDeveloper"] -version = "0.11.0" +version = "0.12.0" edition = "2021" description = "GitQL Standard and Aggregation functions" repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-cli" @@ -10,7 +10,7 @@ keywords = ["cli", "gql", "language", "git", "sql"] categories = ["command-line-utilities"] [dependencies] -gitql-core = { path = "../gitql-core", version = "0.11.0" } +gitql-core = { path = "../gitql-core", version = "0.12.0" } gitql-ast = { path = "../gitql-ast", version = "0.31.0" } chrono = { workspace = true } regex = { workspace = true }