diff --git a/CHANGELOG.md b/CHANGELOG.md index da4fca7..1e560c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## Version 0.31.0 _(2024-11-12)_ + +- Implement Cast function call expression `CAST(expr AS )`. +- Implement Cast operator `expr::`. +- Created the TypesTable component to register types and aliases. +- Fix schema datetime and updated types from Date to DateTime. +- Fix consuming table name twice. + ## Version 0.30.0 _(2024-11-08)_ - Implement Composite type. diff --git a/Cargo.lock b/Cargo.lock index 5414fd6..f98f97e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -542,7 +542,7 @@ dependencies = [ [[package]] name = "gitql" -version = "0.30.0" +version = "0.31.0" dependencies = [ "criterion", "gitql-ast", @@ -557,14 +557,14 @@ dependencies = [ [[package]] name = "gitql-ast" -version = "0.27.0" +version = "0.28.0" dependencies = [ "dyn-clone", ] [[package]] name = "gitql-cli" -version = "0.30.0" +version = "0.31.0" dependencies = [ "comfy-table", "csv", @@ -577,7 +577,7 @@ dependencies = [ [[package]] name = "gitql-core" -version = "0.7.0" +version = "0.8.0" dependencies = [ "chrono", "dyn-clone", @@ -587,7 +587,7 @@ dependencies = [ [[package]] name = "gitql-engine" -version = "0.30.0" +version = "0.31.0" dependencies = [ "chrono", "gitql-ast", @@ -597,7 +597,7 @@ dependencies = [ [[package]] name = "gitql-parser" -version = "0.29.0" +version = "0.30.0" dependencies = [ "gitql-ast", "gitql-core", @@ -605,7 +605,7 @@ dependencies = [ [[package]] name = "gitql-std" -version = "0.7.0" +version = "0.8.0" dependencies = [ "chrono", "gitql-ast", diff --git a/Cargo.toml b/Cargo.toml index 2dfed08..bbcb1f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "gitql" authors = ["AmrDeveloper"] -version = "0.30.0" +version = "0.31.0" edition = "2021" description = "A SQL like query language to perform queries on .git files" license = "MIT" @@ -29,12 +29,12 @@ gix = { version = "0.67.0", default-features = false } lto = true [dependencies] -gitql-core = { path = "./crates/gitql-core", version = "0.7.0" } -gitql-std = { path = "./crates/gitql-std", version = "0.7.0" } -gitql-ast = { path = "./crates/gitql-ast", version = "0.27.0" } -gitql-parser = { path = "./crates/gitql-parser", version = "0.29.0" } -gitql-engine = { path = "./crates/gitql-engine", version = "0.30.0" } -gitql-cli = { path = "./crates/gitql-cli", version = "0.30.0" } +gitql-core = { path = "./crates/gitql-core", version = "0.8.0" } +gitql-std = { path = "./crates/gitql-std", version = "0.8.0" } +gitql-ast = { path = "./crates/gitql-ast", version = "0.28.0" } +gitql-parser = { path = "./crates/gitql-parser", version = "0.30.0" } +gitql-engine = { path = "./crates/gitql-engine", version = "0.31.0" } +gitql-cli = { path = "./crates/gitql-cli", version = "0.31.0" } lineeditor = "0.4.1" gix = { workspace = true, features = ["blob-diff", "max-performance"] } diff --git a/crates/gitql-ast/Cargo.toml b/crates/gitql-ast/Cargo.toml index 55597ad..a92cfa2 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.27.0" +version = "0.28.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 3a190f7..05883e7 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.30.0" +version = "0.31.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.7.0" } -gitql-ast = { path = "../gitql-ast", version = "0.27.0" } -gitql-parser = { path = "../gitql-parser", version = "0.29.0" } +gitql-core = { path = "../gitql-core", version = "0.8.0" } +gitql-ast = { path = "../gitql-ast", version = "0.28.0" } +gitql-parser = { path = "../gitql-parser", version = "0.30.0" } comfy-table = "7.1.0" termcolor = "1.4.1" serde_json = "1.0.115" diff --git a/crates/gitql-core/Cargo.toml b/crates/gitql-core/Cargo.toml index 57963a2..046efa7 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.7.0" +version = "0.8.0" edition = "2021" description = "GitQL Core components" 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-ast = { path = "../gitql-ast", version = "0.27.0" } +gitql-ast = { path = "../gitql-ast", version = "0.28.0" } chrono = "0.4.38" dyn-clone = "1.0.17" indexmap = "2.6.0" diff --git a/crates/gitql-engine/Cargo.toml b/crates/gitql-engine/Cargo.toml index 8fdcc98..c7dedef 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.30.0" +version = "0.31.0" edition = "2021" description = "GitQL Engine" repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-engine" @@ -10,7 +10,7 @@ keywords = ["cli", "gql", "language", "git", "sql"] categories = ["command-line-utilities"] [dependencies] -gitql-core = { path = "../gitql-core", version = "0.7.0" } -gitql-ast = { path = "../gitql-ast", version = "0.27.0" } +gitql-core = { path = "../gitql-core", version = "0.8.0" } +gitql-ast = { path = "../gitql-ast", version = "0.28.0" } regex = "1.10.4" chrono = "0.4.38" diff --git a/crates/gitql-parser/Cargo.toml b/crates/gitql-parser/Cargo.toml index 0afd2d1..2fc47fe 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.29.0" +version = "0.30.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.7.0" } -gitql-ast = { path = "../gitql-ast", version = "0.27.0" } +gitql-core = { path = "../gitql-core", version = "0.8.0" } +gitql-ast = { path = "../gitql-ast", version = "0.28.0" } diff --git a/crates/gitql-std/Cargo.toml b/crates/gitql-std/Cargo.toml index ab9203f..5182af6 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.7.0" +version = "0.8.0" edition = "2021" description = "GitQL Standard and Aggregation functions" repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-cli" @@ -10,8 +10,8 @@ keywords = ["cli", "gql", "language", "git", "sql"] categories = ["command-line-utilities"] [dependencies] -gitql-core = { path = "../gitql-core", version = "0.7.0" } -gitql-ast = { path = "../gitql-ast", version = "0.27.0" } +gitql-core = { path = "../gitql-core", version = "0.8.0" } +gitql-ast = { path = "../gitql-ast", version = "0.28.0" } chrono = "0.4.38" regex = "1.10.4" rand = "0.8.5"