From b982d1ba2b9cec3b36d00969da529263f4e1f79a Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Sat, 13 Jan 2024 12:32:18 +0200 Subject: [PATCH] Update crates version and changelog file for `0.12.0` --- CHANGELOG.md | 16 ++++++++++++++++ Cargo.lock | 10 +++++----- Cargo.toml | 10 +++++----- crates/gitql-ast/Cargo.toml | 2 +- crates/gitql-cli/Cargo.toml | 6 +++--- crates/gitql-engine/Cargo.toml | 4 ++-- crates/gitql-parser/Cargo.toml | 4 ++-- 7 files changed, 34 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b85a2716..3641b721 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,22 @@ Change Log ========== +Version 0.12.0 *(2024-01-13)* +----------------------------- + +* Change GitQLObject structure to get more speedup and keep values sorted. +* Supports `LIMIT OFFSET` shorthand inspired by MySQL. +* Implement `HOUR` Date functions. +* Implement `STRCMP` Text Function. +* Implement `GREATEST`, `LEAST` General function. +* Implement `ISDATE` Date function. +* Optimize `in` expression in case of empty list. +* Add Support for `NOT IN` expression. +* Report error if user write un expected content after valid statement. +* Fix Date and DateTime incorrect equals #71 +* Allow `BETWEEN` to work with any type. +* Fix ArithmeticExpression expr_type if any side is float + Version 0.11.0 *(2023-12-29)* ----------------------------- diff --git a/Cargo.lock b/Cargo.lock index 4d85f760..50a879b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -430,7 +430,7 @@ dependencies = [ [[package]] name = "gitql" -version = "0.11.0" +version = "0.12.0" dependencies = [ "atty", "gitql-ast", @@ -442,7 +442,7 @@ dependencies = [ [[package]] name = "gitql-ast" -version = "0.9.0" +version = "0.10.0" dependencies = [ "chrono", "lazy_static", @@ -450,7 +450,7 @@ dependencies = [ [[package]] name = "gitql-cli" -version = "0.11.0" +version = "0.12.0" dependencies = [ "comfy-table", "gitql-ast", @@ -460,7 +460,7 @@ dependencies = [ [[package]] name = "gitql-engine" -version = "0.11.0" +version = "0.12.0" dependencies = [ "gitql-ast", "gix", @@ -469,7 +469,7 @@ dependencies = [ [[package]] name = "gitql-parser" -version = "0.10.0" +version = "0.11.0" dependencies = [ "gitql-ast", "lazy_static", diff --git a/Cargo.toml b/Cargo.toml index 88bf344d..804e1b53 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "gitql" authors = ["AmrDeveloper"] -version = "0.11.0" +version = "0.12.0" edition = "2021" description = "A SQL like query language to perform queries on .git files" license = "MIT" @@ -24,9 +24,9 @@ members = [ gix = { version = "0.57.0", default-features = false } [dependencies] -gitql-ast = { path = "./crates/gitql-ast", version = "0.9.0" } -gitql-parser = { path = "./crates/gitql-parser", version = "0.10.0" } -gitql-engine = { path = "./crates/gitql-engine", version = "0.11.0" } -gitql-cli = { path = "./crates/gitql-cli", version = "0.11.0" } +gitql-ast = { path = "./crates/gitql-ast", version = "0.10.0" } +gitql-parser = { path = "./crates/gitql-parser", version = "0.11.0" } +gitql-engine = { path = "./crates/gitql-engine", version = "0.12.0" } +gitql-cli = { path = "./crates/gitql-cli", version = "0.12.0" } gix = { workspace = true, features = ["max-performance"] } atty = "0.2.14" diff --git a/crates/gitql-ast/Cargo.toml b/crates/gitql-ast/Cargo.toml index ac808273..c6dad7a4 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.9.0" +version = "0.10.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 a298e46f..d7085780 100644 --- a/crates/gitql-cli/Cargo.toml +++ b/crates/gitql-cli/Cargo.toml @@ -1,14 +1,14 @@ [package] name = "gitql-cli" authors = ["AmrDeveloper"] -version = "0.11.0" +version = "0.12.0" edition = "2021" description = "GitQL Command line interface (CLI) components" repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-cli" license = "MIT" [dependencies] -gitql-ast = { path = "../gitql-ast", version = "0.9.0" } -gitql-parser = { path = "../gitql-parser", version = "0.10.0" } +gitql-ast = { path = "../gitql-ast", version = "0.10.0" } +gitql-parser = { path = "../gitql-parser", version = "0.11.0" } comfy-table = "7.1.0" termcolor = "1.2.0" diff --git a/crates/gitql-engine/Cargo.toml b/crates/gitql-engine/Cargo.toml index e132eee2..ab00a713 100644 --- a/crates/gitql-engine/Cargo.toml +++ b/crates/gitql-engine/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "gitql-engine" authors = ["AmrDeveloper"] -version = "0.11.0" +version = "0.12.0" edition = "2021" description = "GitQL Engine" repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-engine" license = "MIT" [dependencies] -gitql-ast = { path = "../gitql-ast", version = "0.9.0" } +gitql-ast = { path = "../gitql-ast", version = "0.10.0" } regex = "1.10.2" gix = { workspace = true, features = ["blob-diff"] } diff --git a/crates/gitql-parser/Cargo.toml b/crates/gitql-parser/Cargo.toml index ee2ee7f7..241ddbf9 100644 --- a/crates/gitql-parser/Cargo.toml +++ b/crates/gitql-parser/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "gitql-parser" authors = ["AmrDeveloper"] -version = "0.10.0" +version = "0.11.0" edition = "2021" description = "GitQL parser" repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-parser" license = "MIT" [dependencies] -gitql-ast = { path = "../gitql-ast", version = "0.9.0" } +gitql-ast = { path = "../gitql-ast", version = "0.10.0" } lazy_static = "1.4.0"