Skip to content

Releases: src-d/gitbase

v0.22.0-rc1

22 Jun 21:07
4fb80b7
Compare
Choose a tag to compare
v0.22.0-rc1 Pre-release
Pre-release

Added

  • Now gitbase uses go-borges to access repositories
    • The type of files in each directory has to be specified (#867)
    • Supports new rooted repository format and separates references and objects from each repo (src-d/borges#389)

Changed

  • Changed cli to be able to specify different formats (#866)

Fixed

  • function: correctly transform up explode nodes (#757)
  • git libraries bare or non bare format is automatically detected (#897)
  • Fix bug that created multiple object cache with incorrect size (#898)
  • sql/expression: handle null values in arithmetic expressions (#760)

0.22.0-rc1

21 Jun 16:57
4fb80b7
Compare
Choose a tag to compare
0.22.0-rc1 Pre-release
Pre-release

Added

  • Now gitbase uses go-borges to access repositories
    • The type of files in each directory has to be specified (#867)
    • Supports new rooted repository format and separates references and objects from each repo (src-d/borges#389)

Changed

  • Changed cli to be able to specify different formats (#866)

Fixed

  • function: correctly transform up explode nodes (#757)
  • git libraries bare or non bare format is automatically detected (#897)
  • Fix bug that created multiple object cache with incorrect size (#898)
  • sql/expression: handle null values in arithmetic expressions (#760)

v0.22.0-beta1

20 Jun 16:11
b1f3ca3
Compare
Choose a tag to compare
v0.22.0-beta1 Pre-release
Pre-release

Added

  • Now gitbase uses go-borges to access repositories
    • The type of files in each directory has to be specified (#867)
    • Supports new rooted repository format and separates references and objects from each repo (src-d/borges#389)

Changed

  • Changed cli to be able to specify different formats (#866)

Fixed

  • function: correctly transform up explode nodes (#757)

v0.21.0

20 Jun 10:31
46fa72a
Compare
Choose a tag to compare

Known bugs

Added

  • Added json_unquote function.
  • Added commit_file_stats function.
  • Added documentation about commit_stats.
  • Add metrics (engine, analyzer, regex, pilosa) based on go-kit interface. (#744)
  • commit_files is now squashable with blobs.
  • Moved to Go modules.
  • Add COMMIT_STATS function
  • sql: implement EXPLODE and generators (#720)

Changed

  • Removed vendor folder.
  • Upgrade enry to version v2.0.0.
  • Switch gocloc to version v0.3.0.
  • Upgrade vitess to v1.8.0 (#738)
  • Upgrade bblfsh to v4.1.0.
  • Upgrade gocloc to latest master 764f3f6ae21e.

Fixed

  • bblfsh aliases are now handled correctly (#728).
  • sql: correctly handle nulls in SQL type conversion (#753)
  • sql/parse: error for unsupported distinct on aggregations (#869)
  • internal/function: gracefully handle errors in commit_stats.
  • internal/function: take into account if repository is resolved in commit_stats (#863)
  • internal/function: Files field in commit_stats contains now proper results.
  • Fix parsing of quoted identifiers in SHOW CREATE TABLE queries (#737)
  • sql/analyzer: back-propagate expression names after adding convert (#739)
  • sql/expression: allow null literals in case branches (#741)
  • sql/plan: make LEFT and RIGHT join work as expected (#743)

v0.21.0-beta3

19 Jun 15:35
46fa72a
Compare
Choose a tag to compare
v0.21.0-beta3 Pre-release
Pre-release

Fixed

  • bblfsh aliases are now handled correctly (#728).
  • sql: correctly handle nulls in SQL type conversion (#753)
  • sql/parse: error for unsupported distinct on aggregations (#869)

v0.21.0-beta2

18 Jun 14:30
044fcad
Compare
Choose a tag to compare
v0.21.0-beta2 Pre-release
Pre-release

Added

  • Added json_unquote function.
  • Added commit_file_stats function.
  • Added documentation about commit_stats.
  • Add metrics (engine, analyzer, regex, pilosa) based on go-kit interface. (#744)
  • commit_files is now squashable with blobs.

Changed

  • Removed vendor folder.
  • Upgrade enry to version v2.0.0.
  • Switch gocloc to version v0.3.0.

Fixed

  • internal/function: gracefully handle errors in commit_stats.
  • internal/function: take into account if repository is resolved in commit_stats (#863)
  • internal/function: Files field in commit_stats contains now proper results.

v0.21.0-beta1

12 Jun 09:24
283b7dc
Compare
Choose a tag to compare
v0.21.0-beta1 Pre-release
Pre-release

Added

  • Moved to Go modules.
  • Add COMMIT_STATS function
  • sql: implement EXPLODE and generators (#720)

Changed

  • Upgrade vitess to v1.8.0 (#738)
  • Upgrade bblfsh to v4.1.0.
  • Upgrade gocloc to latest master 764f3f6ae21e.

Fixed

  • Fix parsing of quoted identifiers in SHOW CREATE TABLE queries (#737)
  • sql/analyzer: back-propagate expression names after adding convert (#739)
  • sql/expression: allow null literals in case branches (#741)
  • sql/plan: make LEFT and RIGHT join work as expected (#743)

v0.20.0-demo1

31 May 08:45
Compare
Choose a tag to compare
v0.20.0-demo1 Pre-release
Pre-release
utils: CommitStatsCalculator, fix import

Signed-off-by: Máximo Cuadros <[email protected]>

v0.20.0

30 May 10:47
c60e3e6
Compare
Choose a tag to compare

Known issues

  • After updating Vitess MySQL server, we are having some problems connecting from JDBC MariaDB drivers (#807) (vitessio/vitess#4603)

Breaking changes

  • COUNT expression is returning now int64 instead of int32
  • uast_extract function now returns a JSON for pos instead of a custom format
  • Now relative paths are used as repository_id instead of folder name

Bugfixes

  • avoid panic when there are no fetch URLs in remote config (#836)
  • upgrade go-mysql-server and gocloc (#831)
  • rule: fix squash rule with convert_dates
  • cmd/server/commands: use relative path as id instead of last part (#816)
  • handle backslashes correctly
  • sql/plan: make sure outdated indexes can be dropped
  • sql/analyzer: correctly qualify aliases with the same name as col
  • Fix validation rule to detect tuples in projections or groupbys (src-d/go-mysql-server#672)
  • sql/analyzer: only check aliases to qualify in the topmost project (src-d/go-mysql-server#690)
  • Fix special case for aggregation in ORDER BY
  • Try to order by function (src-d/go-mysql-server#692)
  • Don't skip repositories for remotes table with more than 1 URL #789
  • server: correctly set binary charset on blob fields
  • sql/parse: allow qualified table names on SHOW CREATE TABLE
  • plan: types in lowercase on SHOW CREATE TABLE
  • Skip a directory if gitbase has no permission to read it #738
  • Close iterators correctly to avoid too many open files error #772
  • Check projection aliases when assigned to index src-d/go-mysql-server#639
  • Add charset to fields to avoid invalid column types when using JDBC clients src-d/go-mysql-server#637
  • Fix prune columns for describe queries src-d/go-mysql-server#634
  • Allow all expressions in grouping, resolve order by expressions src-d/go-mysql-server#633
  • KILL query always takes processlist_id src-d/go-mysql-server#636
  • Recover panic for partitions src-d/go-mysql-server#626

New features

  • function: implement is_vendor function (#830)
  • Suggest table/column/indexes names on missing errors
  • sql: HAVING clause
  • Support SHOW SCHEMAS (upgrade vitess to v1.6.0) (src-d/go-mysql-server#696)
  • function: LOC function implementation (#798)
  • sql/expression: new DATE function
  • sql: add support for intervals, DATE_SUB and DATE_ADD
  • sql: from_base64 and to_base64 functions
  • sql: add SLEEP function
  • COUNT expression now returns an int64 number instead of int32 src-d/go-mysql-server#642
  • Dockerfile: include zero-config MySQL client #737
  • uast_extract function now returns a JSON for pos instead of a custom format #715

Documentation

  • docs: expand optimization guide on early filtering (#837)
  • Now all relevant go-mysql-server documentation is directly accessible from gitbase docs instead of pointing to external links.
  • Docs: document in-memory joins in optimization docs #742

Performance improvements

v0.20.0-rc4

29 May 13:09
c60e3e6
Compare
Choose a tag to compare
v0.20.0-rc4 Pre-release
Pre-release

Bugfixes

  • upgrade go-mysql-server and gocloc (#831)
  • avoid panic when there are no fetch URLs in remote config (#836)

Documentation

  • docs: expand optimization guide on early filtering (#837)