Library

doltlite v0.51.0

Versionv0.51.0
Stars★ 321
Released2026-10-15

DoltLite - Version Controlled SQLite

Release notes

Restores v0.50.0–v0.50.14 numeric-key compatibility, retaining storage format 12.

## Compatibility with v0.50.15–v0.50.18

These releases changed encoding for short-form ascending numeric values immediately before descending fields in primary keys or secondary indexes:

```sql
PRIMARY KEY (a, b DESC)
CREATE INDEX idx ON t(a, b DESC);
```

Includes implicitly appended descending primary-key fields, ordinary integers, and REALs.

Affected keys are incompatible with v0.50.0–v0.50.14 and v0.51.0+. Crossing versions can miss rows, updates, or deletes and leave duplicate keys or stale indexes. Opening the file does not detect this.

Retained history, branches, tags, and staged data may contain affected keys even if the current schema does not. Unaffected files remain compatible.

No migration is included. Keep affected files and backups with their original release; contact the DoltLite team for a migration path. REINDEX cannot repair primary keys or history.

## Reliability and correctness

- Corrected prolly-tree construction that produced different hashes for identical data, false modifications, and no-op commits.
- Prevented schema/row mismatches during concurrent schema changes and made merge/cherry-pick schema installation atomic.
- Prevented lost concurrent writes and incorrect rollback state after failed or interrupted version-control operations; preserved caller transactions and savepoints.
- Fixed rebase crashes, continuation lock contention, and abort recovery after crashes or branch deletion.
- Corrected AUTOINCREMENT counters after merges and cherry-picks; preserved correct large-integer comparisons in mixed ascending/descending indexes.
- Improved remote ref validation, multi-ref pushes, branch-deletion handling, retries, and Dolt-compatible flags.
- Fixed backup temporary-file cleanup and interrupted database creation; kept remote servers responsive when clients stall while sending requests.

## Performance and testing

- Reduced fetch and push validation work by reusing verified existing history.
- Expanded storage, concurrency, crash-recovery, fault-injection, and Dolt oracle regression coverage.

Share this resource


Discovered 2026-10-16 Source GitHub Archive 2026-10 →