Documentation

VLite 0.3.0 upgrade and rollback

This experimental release extends VLite's single-owner, single-file engine with opt-in format V5, additional retrieval modes, transport security, offline tools and client integrations. It includes all changes since v0.2.0. The live dataset still resides in memory and the log is replayed on open; this is not a distributed database or a production-hardening guarantee. See capability contracts, storage features, REST and gRPC.

What's new since 0.2.0

Transports, security and operations

See server security for flags, quota behavior and tenant limits.

Format V5 and retrieval

See vector extensions and capabilities for exact bounds and format requirements; not every retrieval operation requires V5.

Storage, recovery and acceleration

Tools and ecosystem

See tools, clients, WASM build instructions and Helm operations.

Compatibility

V5 is opt-in. Older binaries refuse V5 files. There is no automatic migration. V1–V4 encodings and existing behavior remain unchanged. Database::create and ordinary server creation still default to V3. Explicitly select FormatVersion::V5, CreateOptions for encryption/timestamps, or server --create-format 5 when V5 functionality is required. Encrypted creation uses V5. Do not assume that a binary version bump changes a database's format.

V4/V5 collections, conditional writes and lineage rules still apply. Copy-out compaction/restore changes lineage: reacquire ETags, reissue lineage-bound grants, resync change consumers and rebuild derived indexes when selecting a new copy. Existing V1–V4 files do not acquire V5 mutations merely by being opened. Trial new-format creation on separate files and re-ingest through supported APIs when needed; there is no implicit V1–V4-to-V5 conversion.

Known limitations

The linked feature documents are authoritative for additional limits and error semantics. Defaults remain conservative; enable only what the deployment needs.

Safe upgrade sequence

  1. Stop writes or schedule a maintenance window. Make a consistent serialized backup, verify it, and preserve an independent copy outside the database volume. Never copy a live, actively written file with a generic filesystem command.
  2. Record API/dashboard image digests, binary versions, selected database path, admin-directory state and encryption-key custody. Retain compatible binaries and protected keys/configuration independently of the new deployment.
  3. Deploy matching 0.3.0 API/dashboard components against the unchanged existing file. Check health, authenticated capabilities, format, counts and read-only exact queries. Existing V1–V4 workloads need no format conversion.
  4. Trial V5 in a separate newly created file. Explicitly choose V5/encryption/ timestamps as required and populate it through supported application APIs. Test expiry, vector history, retrieval, backup/restore, credentials and consumer resync using representative data before deciding to select it for production.
  5. Verify the trial offline with vlite-maintain verify (use keyed maintenance for encryption). Test restore and keep the original recovery copy. Selecting a new file is an explicit operator action, never an automatic migration.

Rollback

Stop new writes and preserve current database/admin state before rollback. Restore recorded compatible API/dashboard images or binaries without removing volumes (compose down -v is destructive). Do not disturb unrelated services.

If the file remains V1–V4, a binary supporting that format can reopen it. Never point a pre-V5 binary at a V5 file. To roll back after selecting V5, restore a validated pre-upgrade copy to a separate path and explicitly select it offline; plan how to reconcile later writes. Binary rollback does not undo committed data. Keep encryption keys and the original logs/backups needed by consumers and PITR.

Release verification

Verify downloads against SHA256SUMS and check release-manifest.json for source identity. Checksums detect corruption; they are not signatures. Use matching API/dashboard versions or immutable image digests. Automation gates release assets on native tests, installed SDK checks, gRPC smoke tests, multi-platform image checks, HTTPS and browser verification. PyPI publication is handled by a separate trusted-publisher workflow; the Python 0.3.0 packages are available as vlite-embedded and vlite-client. See installation and platform limits before choosing an asset.

View or edit this page on GitHub ↗