github dolthub/dolt v0.25.0
0.25.0

latest releases: v1.38.0, v1.37.0, v1.36.1...
3 years ago

This release fixes several bugs in query execution, and adds several new features:

  • FOUND_ROWS(), ROW_COUNT(), and LAST_INSERT_ID() information functions are now supported
  • dolt checkout . now works (same as dolt reset --hard)
  • Column aliases supported for subqueries and VALUES derived tables

Merged PRs

  • 1508: add the tag name variable for the brew release
  • 1507: Added DELIMITER newline termination
    Fixes #1495
    DELIMITER had to be terminated by the previous delimiter, similar to other statements. However, MySQL does not have this requirement (a newline is adequate for termination). This PR removes this requirement.
  • 1505: Upgraded go-mysql-server and vitess, and unskipped a couple tests
  • 1504: Andy/json diff merge
    Implements diff and merge on the JSON type. The JSON type is still behind a feature flag
  • 1503: /go: Bump GMS
    • bump go-mysql-server
    • skip 2 queries
    • delete stale Noms perf tests
    • updated dependency github.com/shirou/gopsutil
  • 1502: libraries/doltcore/rowconv: error handling
    This fixes dropped errors in libraries/doltcore/rowconv and replaces assert.NoError() with require.NoError() in tests.
  • 1501: go/go.mod: Bump vitess, pick up trailing spaces sql-server fix.
  • 1500: Fixed dropped errors in libraries/doltcore/row
    This fixes dropped errors in libraries/doltcore/row, as well as replacing assert.NoError() with require.NoError().
  • 1499: /go/libraries/doltcore/dtestutils: use Format_LD_1 in CreateTestEnv Switches to using Format_LD_1 instead of Format_7_18 in CreateTestEnv(). This covers most doltcore tests, including enginetests.
    One major difference between LD_1 and 7_18 is types.Float serialization format.
  • 1498: Vinai/dolt checkout period
    Adds dolt checkout . functionality.
  • 1494: Fix dropped errors in libraries/doltcore/doltdocs
    Fixes dropped errors, changes tests to use require.NoError().
  • 1493: go/utils/publishrelease/buildbinaries.sh: Use CGO_ENABLED=0 to statically link release binaries on Linux.
    This lets Dolt release binaries work on Linux distributions that do not use glibc, like Alpine.
    Fixes #1489.
  • 353: Column aliases for subqueries
    This depends on dolthub/vitess#66, so tests won't pass yet (but pass with a local override)
  • 352: switch sql.Boolean columns in enginetests typestable to use 0 instead…
    … of false
  • 351: sql/analyzer: Make column resolution more reliable when a subquery alias is under a table alias node.
    Using a common table expression (and probably using a view), you can alias a common table expression. Some analyzer steps, and in particular prune_columns, assume the subquery alias is the name that the parent schema sees. This adds an analyzer pass that flattens nested table aliases and a table alias on a subquery alias into the bottom-most node.
  • 350: Fixed a number of bugs in aliases and name resolution revealed by recent changes to the parser
    Also added output schema verification to engine tests, and wrote some tests of same.
  • 349: ROW_COUNT(), FOUND_ROWS() and LAST_INSERT_ID()
    Implemented ROW_COUNT(), FOUND_ROWS() and LAST_INSERT_ID(), as well as support for SQL_CALC_FOUND_ROWS with a LIMIT clause.
  • 347: Vinai/binary func
    Adds the BINARY operator to gms
  • 66: Support for subquery / values column aliases
  • 65: go/vt/sqlparser/ast.go: SplitStatementToPieces: Avoid appending an empty "query" when splitting an incoming ComQuery.
  • 64: Strip quotes and backticks from select expressions

Closed Issues

  • 1506: Long term assurance and insurance against liquidation
  • 1495: DELIMITER command does not work with non-interactive stdin
  • 1490: Can I just config dolt just as git?
  • 1489: how can i install dolt base on alpine image? failed...

Don't miss a new dolt release

NewReleases is sending notifications on new releases.