diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ede7364..1a3deeff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,20 @@ Change Log ========== +Version 0.20.0 *(2024-05-31)* +----------------------------- + +* Make `COUNT()` aggregation argument to be `Option`. +* Replace `lazy_static` crate by `std::sync::OnceLock`. +* Migrate to gix `0.63.0`. +* Fix hidden selection in group by statement. +* Implement `GROUP_CONCAT` Aggregation function. +* Catching function argument with undefined type. +* Update Regex expression implementation to not converted to call. +* Introduce `gitql-core` and `gitql-std` to allow dynamic std. +* Implement `BIN` Text function. +* Implement `bool_and` and `bool_or` aggregation functions. + Version 0.19.1 *(2024-05-19)* ----------------------------- diff --git a/Cargo.lock b/Cargo.lock index e756bb45..cafe52d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -440,7 +440,7 @@ dependencies = [ [[package]] name = "gitql" -version = "0.19.1" +version = "0.20.0" dependencies = [ "atty", "gitql-ast", @@ -454,14 +454,14 @@ dependencies = [ [[package]] name = "gitql-ast" -version = "0.17.1" +version = "0.18.0" dependencies = [ "gitql-core", ] [[package]] name = "gitql-cli" -version = "0.19.1" +version = "0.20.0" dependencies = [ "comfy-table", "gitql-ast", @@ -481,7 +481,7 @@ dependencies = [ [[package]] name = "gitql-engine" -version = "0.19.1" +version = "0.20.0" dependencies = [ "chrono", "gitql-ast", @@ -491,7 +491,7 @@ dependencies = [ [[package]] name = "gitql-parser" -version = "0.18.1" +version = "0.19.0" dependencies = [ "gitql-ast", "gitql-core", diff --git a/Cargo.toml b/Cargo.toml index 20130502..4bbbbd9f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "gitql" authors = ["AmrDeveloper"] -version = "0.19.1" +version = "0.20.0" edition = "2021" description = "A SQL like query language to perform queries on .git files" license = "MIT" @@ -28,9 +28,9 @@ gix = { version = "0.63.0", default-features = false } [dependencies] gitql-core = { path = "./crates/gitql-core", version = "0.1.0" } gitql-std = { path = "./crates/gitql-std", version = "0.1.0" } -gitql-ast = { path = "./crates/gitql-ast", version = "0.17.1" } -gitql-parser = { path = "./crates/gitql-parser", version = "0.18.1" } -gitql-engine = { path = "./crates/gitql-engine", version = "0.19.1" } -gitql-cli = { path = "./crates/gitql-cli", version = "0.19.1" } +gitql-ast = { path = "./crates/gitql-ast", version = "0.18.0" } +gitql-parser = { path = "./crates/gitql-parser", version = "0.19.0" } +gitql-engine = { path = "./crates/gitql-engine", version = "0.20.0" } +gitql-cli = { path = "./crates/gitql-cli", version = "0.20.0" } gix = { workspace = true, features = ["blob-diff", "max-performance"] } atty = "0.2.14" diff --git a/RELEASING.md b/RELEASING.md index 7304350e..f551d52b 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -1,4 +1,4 @@ -# Releasing +# Releasing GitQL Application 1. Update the `CHANGELOG.md`: 2. Update `Cargo.toml` with the new version. @@ -23,4 +23,9 @@ ``` This will trigger a GitHub Action workflow which will create a GitHub release and - publish to Cargo. \ No newline at end of file + publish to Cargo. + +# Releasing GitQL SDK crate + + 1. Update `Cargo.toml` with the new version. + 2. `cargo publish --allow-dirty` \ No newline at end of file diff --git a/crates/gitql-ast/Cargo.toml b/crates/gitql-ast/Cargo.toml index de88b32a..0a47439d 100644 --- a/crates/gitql-ast/Cargo.toml +++ b/crates/gitql-ast/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "gitql-ast" authors = ["AmrDeveloper"] -version = "0.17.1" +version = "0.18.0" edition = "2021" description = "GitQL Abstract syntax tree (AST)" repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-ast" diff --git a/crates/gitql-cli/Cargo.toml b/crates/gitql-cli/Cargo.toml index 58497a67..ffe1b81b 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.19.1" +version = "0.20.0" edition = "2021" description = "GitQL Command line interface (CLI) components" repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-cli" @@ -11,7 +11,7 @@ categories = ["command-line-utilities"] [dependencies] gitql-core = { path = "../gitql-core", version = "0.1.0" } -gitql-ast = { path = "../gitql-ast", version = "0.17.1" } -gitql-parser = { path = "../gitql-parser", version = "0.18.1" } +gitql-ast = { path = "../gitql-ast", version = "0.18.0" } +gitql-parser = { path = "../gitql-parser", version = "0.19.0" } comfy-table = "7.1.0" termcolor = "1.4.1" diff --git a/crates/gitql-engine/Cargo.toml b/crates/gitql-engine/Cargo.toml index 2c3a9bec..8bcb358e 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.19.1" +version = "0.20.0" edition = "2021" description = "GitQL Engine" repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-engine" @@ -11,6 +11,6 @@ categories = ["command-line-utilities"] [dependencies] gitql-core = { path = "../gitql-core", version = "0.1.0" } -gitql-ast = { path = "../gitql-ast", version = "0.17.1" } +gitql-ast = { path = "../gitql-ast", version = "0.18.0" } regex = "1.10.4" chrono = "0.4.38" diff --git a/crates/gitql-parser/Cargo.toml b/crates/gitql-parser/Cargo.toml index 25a0440e..b02f04d4 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.18.1" +version = "0.19.0" edition = "2021" description = "GitQL parser" repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-parser" @@ -11,4 +11,4 @@ categories = ["command-line-utilities"] [dependencies] gitql-core = { path = "../gitql-core", version = "0.1.0" } -gitql-ast = { path = "../gitql-ast", version = "0.17.1" } +gitql-ast = { path = "../gitql-ast", version = "0.18.0" }