Skip to content

Commit

Permalink
Update GitQL and GitQL SDK versions and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
AmrDeveloper committed Sep 27, 2024
1 parent d13fc63 commit 2658b38
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 44 deletions.
38 changes: 23 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,33 @@
# Change Log

## Version 0.28.0 _(2024-09-27)_

- Enable LTO (Link time optimization).
- Optimize set alias for selected expression.
- Handle groups rows elemenations in case group by don't create extra groups #117.
- Implement contains operator for Range in other Range.
- Implement `IF`, `IFNULL` general functions.
- Implement `ARRAT_POSITIONS`, `TRIM_ARRAY` array functions.
- Implement `ISEMPTY` range function.
- Implement `WITH ROLLUP` feature.
- Implement `ORDER BY ... USING <operator>` feature.
- Implement Overlap operator for Arrays and Ranges.
- Remove hidden selection information from the render.
- Handle `WITH ROLLUP` edge case for using one column only in grouping.
- Improve classifying columns on tables.

## Version 0.27.0 _(2024-09-07)_

- Improve comparing Arrays values.
- Support Range data types.
- Implement `int4range` range function.
- Implement `daterange` range function.
- Implement `tsrange` range function.
- Simplify the dynamic types helper functions.
- Implement `ARRAY_PREPEND` function.
- Implement `ARRAY_REMOVE` function.
- Implement `ARRAY_APPEND` Array function.
- Implement `ARRAY_REPLACE` Array function.
- Update `ARRAT_POSITION` signature.
- Implement `int4range`, `daterange`, `tsrange` range function.
- Implement `ARRAY_PREPEND`, `ARRAY_REMOVE` Array functions.
- Implement `ARRAY_APPEND`, `ARRAY_REPLACE` Array functions.
- Implement `BIT_XOR`, `ARRAY_AGG` Aggregation functions.
- Organize the std functions registers.
- Implement `BIT_XOR` Aggregation function.
- Implement `ARRAY_AGG` Aggregation function.
- Improve the type checker to resolve dynamic types in arguments.
]- Improve the type checker to resolve dynamic types in arguments.
- Implement Contains operator `@>` between Range and Element.

## Version 0.26.0 _(2024-08-17)_
Expand Down Expand Up @@ -243,8 +254,7 @@
## Version 0.7.2 _(2023-10-26)_

- Support `NULL` keyword.
- Implement `ISNULL` function.
- Implement `ISNUMERIC` function.
- Implement `ISNULL`, `ISNUMERIC` functions.
- Handle crash for undefined symbol as argument at runtime.

## Version 0.7.1 _(2023-09-26)_
Expand Down Expand Up @@ -272,9 +282,7 @@
- Support negative numbers.
- Add repository path as a field for data all tables.
- Make function name case-insensitive.
- Support Text `reverse` function.
- Support Text `replicate` function.
- Support Text `ltrim`, `rtrim` function.
- Implement Text `reverse`, `replicate`, `ltrim`, `rtrim` function..
- Select the same field twice.
- Optimize engine to work on one repo only if table name is empty.
- Fix merging empty groups.
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.27.0"
version = "0.28.0"
edition = "2021"
description = "A SQL like query language to perform queries on .git files"
license = "MIT"
Expand Down Expand Up @@ -29,12 +29,12 @@ gix = { version = "0.64.0", default-features = false }
lto = true

[dependencies]
gitql-core = { path = "./crates/gitql-core", version = "0.4.0" }
gitql-std = { path = "./crates/gitql-std", version = "0.4.0" }
gitql-ast = { path = "./crates/gitql-ast", version = "0.24.0" }
gitql-parser = { path = "./crates/gitql-parser", version = "0.26.0" }
gitql-engine = { path = "./crates/gitql-engine", version = "0.27.0" }
gitql-cli = { path = "./crates/gitql-cli", version = "0.27.0" }
gitql-core = { path = "./crates/gitql-core", version = "0.5.0" }
gitql-std = { path = "./crates/gitql-std", version = "0.5.0" }
gitql-ast = { path = "./crates/gitql-ast", version = "0.25.0" }
gitql-parser = { path = "./crates/gitql-parser", version = "0.27.0" }
gitql-engine = { path = "./crates/gitql-engine", version = "0.28.0" }
gitql-cli = { path = "./crates/gitql-cli", version = "0.28.0" }
gix = { workspace = true, features = ["blob-diff", "max-performance"] }
atty = "0.2.14"

Expand Down
4 changes: 2 additions & 2 deletions 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.24.0"
version = "0.25.0"
edition = "2021"
description = "GitQL Abstract syntax tree (AST)"
repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-ast"
Expand All @@ -10,4 +10,4 @@ keywords = ["cli", "gql", "language", "git", "sql"]
categories = ["command-line-utilities"]

[dependencies]
gitql-core = { path = "../gitql-core", version = "0.4.0" }
gitql-core = { path = "../gitql-core", version = "0.5.0" }
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.27.0"
version = "0.28.0"
edition = "2021"
description = "GitQL Command line interface (CLI) components"
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.4.0" }
gitql-ast = { path = "../gitql-ast", version = "0.24.0" }
gitql-parser = { path = "../gitql-parser", version = "0.26.0" }
gitql-core = { path = "../gitql-core", version = "0.5.0" }
gitql-ast = { path = "../gitql-ast", version = "0.25.0" }
gitql-parser = { path = "../gitql-parser", version = "0.27.0" }
comfy-table = "7.1.0"
termcolor = "1.4.1"
2 changes: 1 addition & 1 deletion 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.4.0"
version = "0.5.0"
edition = "2021"
description = "GitQL Core components"
repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-cli"
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.27.0"
version = "0.28.0"
edition = "2021"
description = "GitQL Engine"
repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-engine"
Expand All @@ -10,7 +10,7 @@ keywords = ["cli", "gql", "language", "git", "sql"]
categories = ["command-line-utilities"]

[dependencies]
gitql-core = { path = "../gitql-core", version = "0.4.0" }
gitql-ast = { path = "../gitql-ast", version = "0.24.0" }
gitql-core = { path = "../gitql-core", version = "0.5.0" }
gitql-ast = { path = "../gitql-ast", version = "0.25.0" }
regex = "1.10.4"
chrono = "0.4.38"
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.26.0"
version = "0.27.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.4.0" }
gitql-ast = { path = "../gitql-ast", version = "0.24.0" }
gitql-core = { path = "../gitql-core", version = "0.5.0" }
gitql-ast = { path = "../gitql-ast", version = "0.25.0" }
4 changes: 2 additions & 2 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.4.1"
version = "0.5.0"
edition = "2021"
description = "GitQL Standard and Aggregation functions"
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-core = { path = "../gitql-core", version = "0.4.0" }
gitql-core = { path = "../gitql-core", version = "0.5.0" }
chrono = "0.4.38"
regex = "1.10.4"
rand = "0.8.5"
Expand Down

0 comments on commit 2658b38

Please sign in to comment.