github dolthub/dolt v2.0.1
2.0.1

6 hours ago

Merged PRs

dolt

  • 11006: Preserve tables absent from the index during checkout, reset, and rebase
    Tables present only in the working tree (never added to staging) were being deleted or incorrectly staged by the three commands.
    • Scope checkout . table list to HEAD and staged root
    • Update working and staged roots independently in the specific-table checkout case
    • Add MoveUntrackedTables helper for the working-tree preservation step in reset --hard and
      rebase
    • Apply rebase preservation via direct UpdateWorkingSet before SwitchWorkingSet
    • Fix dolt reset --soft <rev> to leave the index untouched
    • Rename ResetSoftToRef to MoveHeadToRef and resetSoftToRef to resetMixedToRef so names match
      behavior
  • 11002: When dolt diff -r sql encounters a schema change, it should either print the full diff or return an error
    Previously, whenever a table had a schema change, dolt diff -r sql would skip printing the data diff for that table. It would print a message to stderr, but still return a 0 error code. This is misleading, especially if the diff command is called by an automated process.
    This PR improves the situations where we successfully render the data diff. In situations where we can't, we return a nonzero error code.

Closed Issues

  • 3470: Subscribe to changes to a document/query (live query)
  • 11014: ROW_COUNT function returns 0 on INSERT statement

Don't miss a new dolt release

NewReleases is sending notifications on new releases.