Skip to content

dolt

v2.2.1 Feature

This release adds 2 notable features for engineering teams evaluating rollout.

Published 10d 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

Updates go-mysql-server, dolt, and Closed Issues across a mixed release.

Changes in this release

Dependency Low

go.mod bumps eventsapi_schema to latest revision

go.mod bumps eventsapi_schema to latest revision

Source: llm_adapter@2026-07-17

Confidence: high

Bugfix Medium

dolt_cluster_transition_to_standby now waits for outstanding DROP DATABASE replications before reporting standby as caught up

dolt_cluster_transition_to_standby now waits for outstanding DROP DATABASE replications before reporting standby as caught up

Source: llm_adapter@2026-07-17

Confidence: high

Bugfix Medium

topRowsIter no longer causes index offset when comparing rows with subquery SortFields

topRowsIter no longer causes index offset when comparing rows with subquery SortFields

Source: llm_adapter@2026-07-17

Confidence: high

Bugfix Medium

go-mysql-server now honors named window references correctly

go-mysql-server now honors named window references correctly

Source: llm_adapter@2026-07-17

Confidence: high

Bugfix Medium

ALTER USER in go-mysql-server now persists updates to the Identity field of User records

ALTER USER in go-mysql-server now persists updates to the Identity field of User records

Source: llm_adapter@2026-07-17

Confidence: high

Full changelog

Merged PRs

dolt

  • 11310: cluster: wait for outstanding DROP DATABASE replication during graceful transition to standby
    dolt_cluster_transition_to_standby determines whether a standby replica is fully caught up by waiting on three replication subsystems: per-database commit hooks, users/grants, and branch control. It never accounted for outstanding DROP DATABASE replications, which are tracked separately in Controller.outstandingDropDatabases and driven by independent fire-and-forget goroutines.
    As a result, the transition could report a standby as fully caught up and succeed while a DROP DATABASE had not yet replicated to it. This PR makes it so that dolt_cluster_transition_to_standby also waits for outstanding DROP DATABASE statements to replicate.
  • 11308: go.mod: bump eventsapi_schema to latest revision

go-mysql-server

  • 3626: Prevent index offset when comparing rows in topRowsIter
    Fixes dolthub/dolt#11300
    Appending the row order number to the end of a sql.Row during a Top-N Heap Sort in topRowsIter was causing an index offset when evaluating SortFields that were subqueries, thus resulting in incorrect result.
    This PR
    • modifies topRowsHeap to instead take a rowWithOrder struct that separates out the sql.Row from the order number while still taking the order number into account when sorting the heap.
    • refactoring Sorter.LesserRow logic into a new CompareRows function to allow checking for row equality
    • moves top row(s) iterators to its own file as part of an effort to make our iterators more organized (#3620). This file also includes topRowsHeap since it is only ever used by topRowIter (see https://github.com/dolthub/go-mysql-server/issues/3622#issuecomment-4984884473 for next steps)
    • removes ValueRowSortersince it's actually never used anywhere and doesn't even fully implement sort.Interface
  • 3621: bug fix: honor named window reference
    An existing bug in GMS was not properly applying a named window reference. We had enginetests for named window references, but they weren't sufficient to catch this because the aggregate function they used produced identical values in both cases. New enginetest cases are added to prevent a regression.
    These two issues were identified by Ito automated review, in https://github.com/dolthub/doltgresql/pull/2913
  • 3619: sql: Fix ALTER USER to allow the Identity field of the User record to be updated.
    CREATE USER ... IDENTITY WITH <plugin> AS '<identity>' correctly parsed and persisted the Identity field. ALTER USER correctly parsed the Identity field but failed to persist the changes. The end result is that GMS had a bug where attempt to alter the identity field on an existing user seemed to succeed but was not reflected in the data going forward.
    Fix the bug so that updates to Identity are reflected and persisted going forward.

Closed Issues

  • 11300: ORDER BY subquery loses effect as soon as LIMIT and OFFSET become involved

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]