DreamDB

Release Notes

Python 0.0.17 / npm 0.5.10 — 2026-11-13

Install dreamdb==0.0.17 or @dreamlake/dreamdb@0.5.10. Both tags (python-v0.0.17, npm-v0.5.10) point at 9028050, the merge of release PR #531 from main beb801a. It spans #486–#530 and also covers npm 0.5.9 (npm-v0.5.9 at 875ec51, 2026-11-09), which had no release notes of its own. The core release record lists which PRs are in neither package.

Python SDK

  • Split upload and commit write paths, so objects can be written on other threads while one Dataset publishes:
    • VideoItems (#490, #492, #494): video_uploader(), VideoUploader.upload_video_item, commit_video_item, commit_video_items, prepare_video_items, publish_prepared_video_items, republish_video_items. A batch publish refuses staged Samples changed since its prepare (#522).
    • Embeddings (#521): embedding_uploader(), EmbeddingUploader.prepare_embedding_append, append_embedding_layer_prepared.
    • Scalars (#530): scalar_uploader(), ScalarUploader.prepare_scalar_append, commit_prepared_scalar.
  • Dataset.field_track_hash(field_name) (#519).

Existing Python methods keep their signatures. See the API reference.

JavaScript SDK

  • Space.readEmbeddingColumn(field, { maxRows, maxBytes }) (#527, npm 0.5.9): every eligible stored vector of one Embedding field exactly as written, or a rejection; never a partial column. npm 0.5.10 adds no JavaScript API.

Fixed

  • HTTP read exchanges are capped per connector (#486). A content PUT that gets a transient response is re-issued within a bound (#500, #505). append_many verifies its VectorCompressor read against its address (#507). Scalar B-tree splits on interior inserts are balanced (#496).
  • Dependency advisories: ctutils 0.4.5 (RUSTSEC-2026-0385, #497); zstd 0.14 via mcap 0.26 and parquet/arrow 60 (RUSTSEC-2026-0391/0398/0403/0410, #501).

Implementation

  • Write and read cost reductions that do not change results: #498, #503, #508, #510, #511, #513, #514, #517, #520, #523, #525, #526, #528. These are not a universal throughput guarantee.
  • Formats: #490, #507, #520 and #530 each state that they make no format or protocol change. These notes make no such claim for the other PRs.

Python 0.0.16 / npm 0.5.8 — 2026-10-13

Install dreamdb==0.0.16 or @dreamlake/dreamdb@0.5.8. Both tags (python-v0.0.16, npm-v0.5.8) point at 96957b1, the merge of release PR #485 from main 922df82. It spans #408–#483; the core release record lists which of those PRs are in neither package.

Changed

  • Breaking (mixed-version readers): an append that grows a typed-array field's inline index past 1 MiB now writes the paged form spec/0002 §7.3.1 requires (#451). Python 0.0.15 / npm 0.5.7 and earlier readers refuse such a Track with a Protocol error. Upgrade readers before writers produce large array fields; nothing is migrated on read. Appending an anchor the field already holds is now refused instead of publishing a field every read refuses.
  • Behavior change (Python, Rust and CLI HTTP connector): a 5xx response to a ref write is reported as an indeterminate write instead of a retryable error, and is not retried automatically (#443). Re-reading the ref alone does not settle it; without operation-specific evidence the outcome stays indeterminate. Content-addressed object writes remain retryable. JavaScript callers supply their own Backend and are not affected by this connector change.
  • Behavior change (both SDKs): TextIndex/SPLADE bindings are checked at the first text query instead of at open (#482). A mismatched binding now fails that query, not open.

Fixed

  • A TimeRange read propagates required metadata read errors instead of returning None values for the field (#447).
  • Multi-table vector queries return each Item once and refuse replicas whose vectors differ (#450). For compressed fields the comparison is over codes.
  • Union-merge no longer restores fragments that a compaction replaced (#428).
  • observe_fragments Metadata mode reads paged SpatialBucket indexes (#438); compaction and union-merge of paged SpatialBucket indexes are bounded (#430/#432).

Python SDK

  • Dataset.http_stats() returns per-connector cumulative HTTP counters, or None for file:// and memory:// (#408/#423).
  • Bounded, caller-driven SpatialBucket cell maintenance: append_embedding_layer_with_report, compact_spatial_cells, spatial_cell_entries and merge_spatial_entries, with result types EmbeddingAppendReport, SpatialCompactPass, SpatialEntry, SpatialCellEntries and SpatialEntryMerge (#440/#453/#457). There is no automatic maintenance policy.
  • publish_prepared_video_item(..., fragment_pack_bytes=0) (#444). A positive target writes FragmentPacks and changes that item's Object and Track hashes.

None of these is an npm export: the npm JavaScript API is unchanged from 0.5.7.

Implementation

Read and write cost reductions that do not change results: byte-weighted ingest write budget (#421), paged Fragment path-copy merge and scalar builder encoding (#425/#427/#431), an 8-byte Bao header with selective proof reads (#428/#435/#445), scalar/SQL/array/Geometry/VideoItem/rendition request reuse, concurrent exact-vector rerank reads (#477) and GC mark/sweep reuse. These are not a universal throughput guarantee. In the browser, sparse proof reads need a JS Backend that reports totalLength on ranged gets; otherwise the read falls back to the whole outboard.

Not in either package: dreamfs-linux (#478), dreamdb-lfs-transfer (#479) and DreamFS code linked through shared crates (#480/#481) expose no SDK API. Dataset::open_geometry_region (#463), dreamdb gc --s3-start-after-listing (#429) and the Rust inline-cell compaction pass are Rust/CLI only. Core changes merged after the tag, including the HTTP connector's per-connector read concurrency cap (#486), are unreleased.

Wheel platforms (macOS arm64, manylinux2014 x86_64/aarch64; CPython 3.8 ABI) and npm targets (bundler, web, Node) are unchanged. npm 0.5.8 is the first version published through npm trusted publishing.

Python 0.0.15 / npm 0.5.7 — 2026-09-18

Prepared from main 743f72a; tags python-v0.0.15 / npm-v0.5.7 at f2c33fe (release PR #407).

  • Scalar packed-window and semantic vector request reuse (#396/#399), in both packages. Fewer redundant reads on supported paths; results unchanged.
  • Python only: VideoItem publication (Schema.add_video_item, Dataset.publish_prepared_video_item) for independently initialized, segmented originals; no transcoding or implicit preview.
  • Python only: explicit ingest checkpoints (plan_ingest_checkpoint, plan_indexed_ingest_checkpoint, apply_ingest_checkpoint, ingest_lineage_usage; #402/#404). Persist the plan before applying it. Checkpoints archive the old tip and start an explicit provenance epoch; they are not history truncation or GC. Indexed checkpoints emit lineage-v5, which older readers reject.
  • SQL results include timings (#393).
  • Rust only: explicit source-bound text-index rebuild (#397); no Python or JavaScript method.

Python 0.0.14 / npm 0.5.6 — 2026-09-17

Release source f0d6ac5 (release PR #392).

  • Read-only SQL in both packages (#377/#380): SqlSession from dreamdb and @dreamlake/dreamdb, with snapshot-pinned sessions, typed parameters, EXPLAIN and read statistics. The browser and /web entries load the SQL WASM lazily; Node includes it. The dreamdb sql CLI command is in the core source but is not distributed by either package. See the SQL guide.
  • Native typed-array and Fragment read performance (#384/#386); not a WASM speed claim. Small scalar append encoding (#382).

Python 0.0.13 / npm 0.5.5 — 2026-09-15

  • Publisher provenance (#370/#371): new Manifests record the SDK package and version, build revision and operation in the existing writer field. Optional application identity via Python Dataset.set_application(name, revision) and npm Writer.setApplication(name, revision). Self-reported diagnostics, not attestation; existing Manifests are not backfilled.
  • Compaction's deferred commit can proceed concurrently under the renderer's output-byte budget (#372). Not a whole-process memory bound.
  • rustls 0.23.45 for RUSTSEC-2026-0285.

Python 0.0.12 / npm 0.5.4 — 2026-09-10

Install dreamdb==0.0.12 or @dreamlake/dreamdb@0.5.4. These package versions are independent of the documentation site's version. The source baseline is a119479, including PR #366 and PR #367; release PR #368 binds the package versions.

Fixed: live reference-vector retention

#365 repairs GC deleting VectorStorage referenced only inside reference-mode Bucket records. Inline and paged indexes now share authenticated traversal, including header index/compressor and entry-side exact dependencies. Invalid or unreadable Bucket metadata aborts before sweep. The direct regression first reproduced missing vectors after real GC, then checked that copied snapshots survive GC and return identical query results while unrelated garbage is deleted.

Upgrade warning: upgrade or fence every collector processing these roots; upgrading readers alone is insufficient. GC requires an external maintenance fence and retained reader roots. Header authentication can add reads, and old Objects without Bao outboards may require whole-object verification. Reference bodies are materialized one at a time, not under a universal memory bound. Already-deleted Objects and #89's historical metadata damage are not repaired.

Query controls

Python and JavaScript expose query-local rerank pool size and inherit/approximate/exact policy (#342). Explicit exactness refuses unavailable exact sources; no silent fallback or global exact-recall promise. Graph queries reject explicit pool controls/non-inherit modes. See examples.

Rust operator capabilities

This source interval also adds read-only fragmentation observations (#343), explicit maintenance plans (#344), bounded Fragment repacking (#345), Reencode batch admission/resume (#356), pull-based Ref Watch (#357), create-only snapshot tags (#358), media Stream selection (#360), and verified closure-copy plans (#359). These do not add corresponding Python/JavaScript wrappers.

Copy plans require operator-held source roots and destination GC/root-mutation fences. They are not a background replication service, retain no data by themselves, buffer whole Objects serially, and explicitly refuse unsupported profiles. Tags are not backend WORM; Watch is not a durable event log; Reencode admission does not preempt an encoder. IVF/global-PQ composition evidence (#346) does not claim residual PQ.

Packaging and evidence boundaries

The versioned npm tarball passed the existing clean-install smoke, CommonJS version/export and JS boundary checks. Product-fix CI passed all 11 executed jobs. Package-CI and registry provenance belong to the core release record, not inferred from a documentation build. Python retains CPython 3.8 ABI-stable wheels for macOS arm64 and manylinux2014 x86_64/aarch64; no Windows/Intel Mac wheel or source distribution. npm retains its bundler/web/Node feature split.

Python 0.0.11 / npm 0.5.3 — 2026-09-10

Both packages are published. These are package versions, not a new protocol or documentation-site version. Release PR #348 pins the merged source. Install dreamdb==0.0.11 from PyPI or @dreamlake/dreamdb@0.5.3 from npm.

Implementation

Progressive geometry, optional entity keys, structured ragged/CSR arrays, magnitude-preserving L2, embedding identity enforcement, compressed/Fresh/routed graph capabilities, typed HotShards, scalar path-copy updates and executed hybrid plans are included. See feature examples and limits.

Storage work since the previous Python release also includes capacity-aware bucket compaction and configurable payload caps, bounded per-cell merge work, persistent scalar B-trees, paged Timeline-scoped tombstones, backfill coverage, canonical multi-vector records, federation, rendition playlists and reference-mode compression. Encryption-envelope work remains a specification, not SDK encryption.

Changed

Behavior change: embedding compaction rejects a zero threshold. Capacity is a record-payload cap, not a total process-memory bound. New stored forms require capable consumers and collectors; the patch version does not make old readers safe for every new feature. Preserve entity revision tokens and evaluate retained history before rollback. Exact reranking is not global exact recall, and cost-model latency budgets are not hard deadlines.

Release acceptance

The npm tarball passed existing installed-package smoke, CommonJS and SDK boundary checks. The PyPI publishing workflow completed successfully and published exactly three wheels: macOS arm64, Linux x86_64 and Linux aarch64 (CPython 3.8 ABI-stable). The installed macOS wheel also passed the existing geometry, entity-key and typed-array boundary tests. These checks do not claim universal cross-platform performance or general support for every normative capability.

Historical documentation snapshot — 2026-09-10

At that snapshot, the site reflected core main 65c8e05: 28 specs, 66 resolved / 38 open OQs, and 16 Draft headers. Newly documented implementations include optional entity keys, progressive geometry, structured ragged/CSR, L2, compressed/routed/Fresh graphs, typed HotShards, embedding identity checks, scalar path-copy updates and hybrid planning. See the feature guide and limits.

That documentation publication was not an SDK package release. At the time, Python 0.0.10 and npm 0.5.2 were the published versions and these examples required a source build. This paragraph records that historical state, not current registry availability.

Per-version release notes for the DreamDB protocol and its reference implementation. Pre-1.0 — minor bumps may include breaking changes; each release flags those under Changed.

SDK entries name both independently versioned packages explicitly; older entries below record protocol/reference-implementation staging rather than SDK releases. For current availability and the meaning of each version number, see Versions.

0.1.0 — 2026-05-22 (Initial staging)

Specification

  • 23 protocol spec documents (0000–0022) covering data model, content addressing, time encoding, spatial indexing, backend interface, protocol operations, streaming encapsulation, versioning, conformance, vector compression, scalar indexing, federation, graph indexing, streaming extensions, hybrid retrieval, streaming freshness, schema evolution, multi-tenant operation, encryption, tombstones, compaction, and fragment packs.
  • 11 Chinese translations of specs 0000–0009.

Implementation

  • Rust reference implementation: core, protocol, connector, CLI, dataset, conformance, bench crates.
  • Python SDK (dreamdb-dataset-python): Dataset, iter_stream, delete, merge, history, list_refs, count.
  • AWS S3 / SigV4 production path via dreamdb-connector-http.
  • MinIO dev backend preserved for local development.

Design Documents

  • 8 design documents covering dataset platform architecture, known flaws retrospective, scope boundaries, TODO roadmap, ML training tutorial, 10B-scale blockers, sharded ingest, and fragment packs.