Skip to content

Releases: AmrDeveloper/GQL

0.15.0

01 Mar 12:08
Compare
Choose a tag to compare
  • implement 'describe table_name' to show fields and types of a table.
  • Add mysql like show tables statement to list all available tables.
  • Implement DAYOFWEEK, DAYOFMONTH and DAYOFYEAR Date functions.
  • Implement QUARTER, YEAR and TO_DAYS Date function.
  • Implement QUOTENAME String function.
  • Fix Parsing function without right paren at the end

New Contributors

Full Changelog: 0.14.0...0.15.0

0.14.0

16 Feb 10:17
Compare
Choose a tag to compare
  • Implement DataProvider interface to allow custom data.
  • Implement Data Schema component to allow custom data schema.
  • Improve ROUND implementation to supports decimal places.
  • Implement MOD function.
  • Implement Dynamic DataType to be calculated depending on other types.

0.13.0

25 Jan 11:37
Compare
Choose a tag to compare
  • Make SING function accept Int or Float type.
  • Implement CONCAT_WS Text function.
  • Fix Minus unary operator for f64.
  • Implement exporting data as JSON, CSV.
  • Implemnet DAY Date function
  • Fix not reporting diagnostic when date or time format has number out of range.
  • Perform projection operator before export as JSON, CSV.
  • Fix the order of parsing prefix unary with binary expression.
  • Handle passing 0 tokens to the parser.

0.12.0

13 Jan 10:42
Compare
Choose a tag to compare
  • 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

New Contributors

Full Changelog: 0.11.0...0.12.0

0.11.0

29 Dec 13:42
Compare
Choose a tag to compare

What's Changed

  • Support Assignment expressions @name := value.
  • Allow Assignment expressions to store aggregation value.
  • Allow lazy evaluate any expression that has aggregation value.
  • Prevent assign aggregation value to global variable with SET statement.
  • Support creating identifier using backticks.
  • Support Either type in the type system.
  • Support Optional type in the type system.
  • Support Varargs type in the type system.
  • Implement ACOS, ATAN, ATN2 and SIGN Math functions.
  • Implement CHARINDEX Text function.
  • Implement DAYNAME, MONTHNAME Date functions.
  • Update CONCAT Text function to accept 2 or more Text values.
  • Support Aggregation MAX, MIN to work with different types.
  • Support Implicit Type casting for Function arguments.
  • Revamp GQLError to a new Diagnostic representation.
  • Migrate to Gix v0.57.0.
  • Update CONCAT function to work with any value type.

New Contributors

Full Changelog: 0.10.0...0.11.0

0.10.0

08 Dec 11:39
Compare
Choose a tag to compare
  • Migrate from git2 to gix.
  • Implement ASIN function.
  • Implement TAN function.
  • Use current directory as repository path if no path is passed.
  • Implement --query | -q flat to run a single query without repl mode.
  • Support receiving input from a pipe or file redirection.
  • Support consuming ; at the end of query main statement.
  • Support User defined variables.
  • Suppoer := operator.

0.9.0

25 Nov 14:18
Compare
Choose a tag to compare
  • Preallocate the attributes hash with row length.
  • Fix Clippy comments and setup CI for Lint and Format.
  • Implement typeof function.
  • Implement ROUND function
  • Make Identifiers case-insensitive.
  • Support <=> operator.
  • Implement SIN function.
  • Implement COS function.
  • Support Implicit casting Text to Time.
  • Support Implicit casting Text to Date.
  • Support Implicit casting DateTime to Text.

0.8.0

10 Nov 12:23
Compare
Choose a tag to compare
  • Support GLOB keyword.
  • Support DISTINCT keyword.
  • Make sure SELECT * used with specific table
  • Migrate from Prettytables-rs to comfy-table for render tables.
  • Support optional Pagination with user custom page size.
  • Support <> Operator.
  • Implement PI function.
  • Implement FLOOR function.
  • Update gitql-ast to version 0.6.0.
  • Update gitql-cli to version 0.8.0.
  • Update gitql-parser to version 0.7.0.
  • Update gitql-engine to version 0.8.0.

0.7.2

26 Oct 15:23
Compare
Choose a tag to compare
  • Support NULL keyword.
  • Implement ISNULL function.
  • Implement ISNUMERIC function.
  • Handle crash for undefined symbol as argument at runtime.
  • Update gitql-ast to version 0.5.0.
  • Update gitql-cli to version 0.7.0.
  • Update gitql-parser to version 0.6.0.
  • Update gitql-engine to version 0.7.0.
  • Update git2 to version 0.18.1.

0.7.1

26 Sep 18:10
Compare
Choose a tag to compare

Implement NOW function.
Fix handling grouping with aggregations.
Print Date and DateTime with formats.
Update gitql-ast to version 0.4.0.
Update gitql-cli to version 0.5.0.
Update gitql-parser to version 0.4.0.
Update gitql-engine to version 0.5.0.