Skip to content

dolt

v2.0.1 Bugfix

This release fixes issues for SREs watching stability and regressions.

Published 26d Relational Databases
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

agent-memory agent-memory-server ai-agents ai-database data-version-control data-versioning
+14 more
database database-version-control database-versioning decentralized-database git git-database git-for-data git-for-databases git-sql immutable-database mariadb mysql sql version-controlled-database

Summary

AI summary

Fixes dolt reset --soft to leave the index untouched and makes dolt diff -r sql return an error when schema changes prevent a data diff.

Full changelog

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

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track dolt

Get notified when new releases ship.

Sign up free

About dolt

Dolt – Git for Data

All releases →

Related context

Earlier breaking changes

  • v2.0.4 `DOLT_CHECKOUT('<table>')` now gated with Write permission.

Beta — feedback welcome: [email protected]