Skip to content

Releases

VLite v0.7.12

Choose a tag to compare

@github-actions github-actions released this 25 Nov 05:11

Container images (linux/amd64 and linux/arm64):

  • REST API: ghcr.io/mahpate/vlite-api@sha256:4b36dd04d4a36f4a8c4bb5cff59ac39d7d84ce86b7ba680a268aa78bca705fba
  • Dashboard: ghcr.io/mahpate/vlite-dashboard@sha256:90c3252f050ca67beecfc970fe2d8f66d645f1fba20092437ebd979fb822708d
  • Smoke/maintenance tools (legacy entrypoint): ghcr.io/mahpate/vlite@sha256:876d5854c6939f5981fa5e9fb1531b48a54f92ab187214d8d0d3012247689f36

Download the matching SDK below. Installation and platform limits: https://github.com/mahpate/Vlite/blob/v0.7.12/docs/INSTALL.md

Verify SHA256SUMS before installing. Back up before upgrading; see the Docker upgrade and rollback procedure in docs/DOCKER-OPERATIONS.md. Python wheels are uploaded to PyPI (vlite-embedded, vlite-client) by the separate pypi.yml workflow when its trusted publisher is configured; npm packages are not published. Checksums are integrity checks, not signatures.

VLite 0.7.12 upgrade and rollback

VLite 0.7.12 adds opt-in, unqualified dashboard sign-in through an HA
gateway
and the offline building blocks for managed tenant deployments
on Azure Container Apps: durable lifecycle intents with an admin REST, CLI and
read-only dashboard view, an Azure Resource Manager adapter, a control worker
and its ACA Job template. It builds on the experimental high-availability
features of 0.7.11. Check
published releases for
downloadable artifacts; a Git tag alone does not publish them.

The database, admin-state, memory-bindings-v1 and recovery-bundle formats are
unchanged from 0.7.11. No data migration is required. With none of the HA
commands, flags or files, a server runs exactly as 0.7.11 does. No benchmark
campaign was run for this patch; earlier measurements do not measure 0.7.12.

This is not production HA. Nothing in this release provisions, starts, stops
or routes an Azure resource in production: the control worker refuses at its
gates before it claims an operation or calls Azure, and every HA deployment
is still blocked by the qualification gate. Gateway dashboard sign-in has no
ACA run. Read
Opt-in HA operations on Azure Container Apps before trying any of
it, and only in an isolated environment.

What is new

Dashboard sign-in through a gateway (opt-in, unqualified)

A dashboard block in the gateway configuration lets any gateway replica sign
in tenant editor and viewer accounts and serve the unchanged dashboard.
Accounts come from a read-only, tenant-only export of users.json, mounted as
a secret on gateways only. Sessions are stateless cookies sealed with a shared
session key, so every replica that holds the key accepts them and no session
store is needed. Each request is re-checked on the replica that serves it and
reaches the backend as a user:<id> principal carrying the standalone editor
or viewer scope.

  • Super administrators, accounts without a tenant and password changes stay
    on the admin server.
  • Sign-out clears only that browser's cookie. An account change takes effect
    after re-export and a restart of every replica; suspending the tenant pauses
    its sessions within S_ctl.
  • The session key rotates in three rolling restarts without signing everyone
    out.
  • Without the block, a gateway refuses sign-in and dashboard routes as before.

Upgrade every gateway-trusted backend before any gateway uses a dashboard
block: older backends refuse user: envelopes with 401 envelope_invalid.
See Dashboard sign-in through a gateway
for the configuration, rollout, session ending and limits.

Managed tenant deployments (intent only, off by default)

vlite-server tenant-deployment create|readers|retire|status|resume|cancel|work
and, with --tenant-deployments-file, the matching
/v1/admin/tenant-deployments and /v1/admin/tenant-deployment-operations
routes record durable, idempotent
lifecycle intents beside the control state. A create reserves an unrouted
tenant. Cancelling a reserved create seals it and releases the reservation;
cancelling an unreserved reader change or retirement withdraws it atomically.
GET /v1/admin/tenant-deployment-operations lists operations by ID, limit
(1-100, default 50) per page, continuing with after from the previous
next_after.
Status shows phases, generation tokens and journal counts, never keys,
profile contents or secrets. migrate, rollback, release,
acknowledge-delivery and replace-credentials stay unavailable.

Without the flag, authenticated requests answer 409
tenant_deployments_not_configured. See
Managed tenant deployments
and the API reference.

Control worker, ARM adapter and ACA Job (offline only)

  • Control worker. vlite-server tenant-deployment work selects one
    reserved create, runs its gates, claims it with a compare-and-swap and runs
    one provision attempt. In production it always refuses before the claim, at
    the latest with qualification_missing. Each attempt on a selected
    operation is audited as tenant_deployment_attempt.
  • ARM adapter. An Azure Resource Manager client for Container Apps,
    journaling every action before it is sent and settling it only from an exact
    readback. It never resends an unknown action or adopts a foreign resource.
    It is exercised only against offline fakes; production never constructs it.
  • ACA Job template. New-VLiteHaWorkerJobTemplate renders a manual,
    single-attempt Microsoft.App/jobs body with its own identity and only the
    control-target secret. deploy.ps1 never calls it.

Reader pin isolation (offline only)

The reader option isolated_pins (default false) pins with per-replica
objects under <prefix>reader-pins/ instead of rewriting the set record.
New-VLiteHaReaderStorageGrants builds the proposed per-tenant reader role
and conditional assignments without calling Azure. Neither Azure RBAC/ABAC
scoping nor mount enforcement is qualified, and provisioned reader fleets
still refuse pin_scope_unproven.

Dashboard

  • Tenant deployments (read only). Super administrators signed in to the
    server directly see Administration → Users & access → Tenant
    deployments
    , 20 operations at a time. The panel submits nothing and stays
    locked with open development access and through a gateway.
  • Automatic failover in open development access. The switch is shown read
    only with the reason, instead of offering a change the server refuses.

Measurement harnesses

The offline MEAS-004 harness gains diagnostics and dedicated-thread pacing for
high request rates, and MEAS-005 gains offline modes. They run nothing against
production and do not change any measurement result.

Upgrade

Verify release checksums and back up the database, private bindings file and
admin state. Stop 0.7.11 before starting 0.7.12; keep one writer per database
file. Preserve existing authentication, durability, proxy, storage and memory
settings. No HA feature is enabled by the upgrade. Keep a separate dashboard
image at the same version as the API. Before adding a gateway dashboard
block, upgrade every gateway-trusted backend.

When upgrading from 0.7.8 or earlier, also read the
0.7.9 upgrade notes.

Rollback

Remove any gateway dashboard block, turn the automatic-failover switch off
with vlite-server failover policy disable and stop every supervisor. Then
stop 0.7.12 before starting 0.7.11. Formats are compatible; no reverse
migration is required.

Once a tenant-deployment operation has reserved or been withdrawn, the
control-state object carries a lifecycle or withdrawn field. Older strict
readers then fail closed on it rather than ignoring it, so after using
managed tenant deployments roll the binary forward instead. Never strip those
fields, reservations or operation records to make an older binary start. For
earlier rollback targets, follow the
0.7.11 rollback guidance.

Compatibility and known limits

The 0.7.11 limits apply.
In addition:

  • Gateway dashboard sign-in is unqualified: no multi-process, Azurite or ACA
    run covers it, sign-out is per browser, there is no server-side session
    revocation and the sign-in throttle is per replica.
  • Managed tenant deployments record intent only. No production ARM adapter or
    qualification exists, no route is published and no credential is delivered.
    Existing-tenant migration is not implemented.
  • The dashboard shows tenant deployments but cannot submit, resume or cancel
    them; use the CLI or REST routes.
  • No ACA-qualified deployment. Gateway load and control-state measurements
    have not qualified, and the writer-fencing measurement has not produced a
    usable ACA result; see the
    HA measurement summary.

VLite v0.7.11

Choose a tag to compare

@github-actions github-actions released this 23 Nov 00:49

Container images (linux/amd64 and linux/arm64):

  • REST API: ghcr.io/mahpate/vlite-api@sha256:f48fd8972364eff88d5d7aeb11d5b1e10d3a4c48a24ce7cdce160ab1a560e1ee
  • Dashboard: ghcr.io/mahpate/vlite-dashboard@sha256:32ff1579a70209545f5bb1ea62cfc657e6a633b5c6c5ee2ae31524b4c6db574c
  • Smoke/maintenance tools (legacy entrypoint): ghcr.io/mahpate/vlite@sha256:755486c682f7ec927745cff25d14a81bb6248859720f293efd0b7c508b0f626f

Download the matching SDK below. Installation and platform limits: https://github.com/mahpate/Vlite/blob/v0.7.11/docs/INSTALL.md

Verify SHA256SUMS before installing. Back up before upgrading; see the Docker upgrade and rollback procedure in docs/DOCKER-OPERATIONS.md. Python wheels are uploaded to PyPI (vlite-embedded, vlite-client) by the separate pypi.yml workflow when its trusted publisher is configured; npm packages are not published. Checksums are integrity checks, not signatures.

VLite 0.7.11 upgrade and rollback

VLite 0.7.11 adds an opt-in, unqualified automatic-failover supervisor with
an off-by-default switch in the dashboard, a dashboard view of the server's
HA role and replication status, and fixes to the experimental
high-availability building blocks introduced in 0.7.9 and
first published in 0.7.10. Check
published releases for
downloadable artifacts; a Git tag alone does not publish them.

The database, admin-state, memory-bindings-v1 and recovery-bundle formats are
unchanged from 0.7.10. No data migration is required. With none of the HA
commands, flags or files, a server runs exactly as 0.7.10 does. No benchmark
campaign was run for this patch; earlier measurements do not measure 0.7.11.

This is not production HA. Automatic failover is unqualified: the
failover drills and loss-report review of GATE-005 have not passed, and when
it is on, recent commits can be lost without a person reviewing the loss
report. There is still one writer per database and no qualified RPO, RTO or
availability SLO. Read
Opt-in HA operations on Azure Container Apps before trying any of
it, and only in an isolated environment.

What is new

Automatic failover supervisor (unqualified, off by default)

vlite-server failover auto --config <json> runs an operator-started
supervisor that probes the writer's /ready. After a configured number of
consecutive failures for the same authority epoch, it fences the old writer
with an operator-supplied command, takes a loss report and transfers writer
authority exactly as failover execute does, then optionally starts a
replacement. It makes one attempt and exits. Nothing changes unless the switch
is on and a supervisor is running.

  • The switch. One policy object beside the authority record
    (<prefix>auto-failover.json) turns every supervisor of that target on or
    off. A missing or unreadable policy counts as off. Change it with
    vlite-server failover policy show|enable|disable, the dashboard
    (Administration → Backup & recovery → Automatic failover, super
    administrators only) or GET/PUT /v1/admin/auto-failover on the writer.
    Turning it on needs an explicit unqualified acknowledgement and the
    revision last read, so concurrent changes are refused. Turning it off
    always writes a fresh disabled revision; the command-line
    failover policy disable is the primary kill switch because it needs
    neither the dashboard nor a running writer. Changes are audited as
    auto_failover_policy_changed. Open development administration refuses
    the PUT with 401 admin_auth_required.
  • Probing. Only HTTP 200 from /ready with status: "ready",
    mode: "writer" and the expected epoch counts as healthy. Unauthorized,
    redirected or throttled probes and a mismatched identity hold the
    supervisor instead of counting as failures. It acts only on a writer it has
    itself seen healthy in the same epoch.
  • Fencing and cutoff. fence_command must stop every old writer replica
    and print exactly {"old_replicas":0}. The switch is read again before
    every probe, before and after fencing, and immediately before transfer;
    disabling before that final check aborts promotion, but a transfer already
    past it may complete, and a running fence command cannot be recalled.
  • Outcomes. A promotion prints JSON with state promoted and the full
    loss report, and exits 0. Otherwise it exits nonzero with
    auto_failover_standby_failed or auto_failover_aborted: <reason>.

The private config, its limits, every hold and abort reason, and the
back-out procedure are in
Automatic failover
and the API reference.
Run exactly one supervisor per authority target, and turn the switch off
before any planned maintenance, restart or manual failover of the writer.

Dashboard: server role and replication

The live monitor gains a Server role and replication panel built on
GET /v1/admin/serve-status. It shows the configured role, write behavior,
draining, data position, archive health and
reader freshness. With agent
memory on, sign-in and this panel still work while metrics stay off. The
dashboard shows status and the automatic-failover switch; it does not perform
failover.

Gateway, archive and harness fixes

  • Gateway drain. Requests still running when drain_timeout_ms passes
    are cancelled without retry: 503 draining when nothing or only a read was
    sent, 502 write_outcome_unknown for a sent write, and a stream is cut
    short. Releasing slots and stopping the control-state poller get at most
    1 s each (poller_stop_timeout), so a gateway exits within about
    readiness_propagation_ms + drain_timeout_ms + 2 s.
  • Gateway slots. A request body that stalls for longer than
    upstream_timeout_ms gets 408 request_body_timeout with nothing sent
    upstream, and a client that stops reading a response loses it
    (gateway_client_stalled); neither holds an in-flight slot indefinitely.
  • Archive status. An idle archive run reports the index's latest
    checkpoint as tip, so a checkpoint whose commit an earlier run could not
    confirm is shown without being counted again.
  • Archive size check. The legacy single-segment path now refuses an
    encoded segment over 64 MiB with pitr_delta_too_large before anything is
    uploaded.
  • OpenAPI. The backup-policy PUT schema lists archive.
  • Measurement harnesses. The offline MEAS-004/005/006 harnesses for the
    gateway, control-state and writer-fencing measurements are hardened. They
    run nothing against production and do not change any measurement result.

Upgrade

Verify release checksums and back up the database, private bindings file and
admin state. Stop 0.7.10 before starting 0.7.11; keep one writer per database
file. Preserve existing authentication, durability, proxy, storage and memory
settings. No HA feature, including automatic failover, is enabled by the
upgrade. Keep a separate dashboard image at the same version as the API.

When upgrading from 0.7.8 or earlier, also read the
0.7.9 upgrade notes.

Rollback

Before rolling back, turn the automatic-failover switch off with
vlite-server failover policy disable and stop every supervisor. Then stop
0.7.11 before starting 0.7.10. Formats are compatible; no reverse migration is
required. 0.7.10 ignores auto-failover.json and has neither the supervisor
nor the dashboard panels. For earlier rollback targets, follow the
0.7.10 rollback guidance.

Compatibility and known limits

The 0.7.9 limits apply,
except that an unqualified automatic failover now exists and the dashboard
shows HA status. In short:

  • Automatic failover is unqualified and not for production. Nothing prevents
    a second supervisor for the same target, policy and transfer are not
    atomic, and the fence command's report is the only proof that the old
    writer stopped.
  • One writer per database. Gateway and reader replicas add read capacity and
    isolation, not write capacity.
  • No ACA-qualified deployment. Gateway load and control-state measurements
    have not run on ACA, and the writer-fencing measurement has not produced a
    usable ACA result; see the
    HA measurement summary.
  • Azure Files remains experimental, not power-loss or cross-host writer-lock
    qualified.

VLite v0.7.10

Choose a tag to compare

@github-actions github-actions released this 20 Nov 06:40

Container images (linux/amd64 and linux/arm64):

  • REST API: ghcr.io/mahpate/vlite-api@sha256:3033a6558311de6f96e20a231c617a0c919b17d968c732dd426ec1684b6a77e5
  • Dashboard: ghcr.io/mahpate/vlite-dashboard@sha256:9ec1ff8b04652475ec1dc2312e8f6937dd24fcbc0830f3aa552533d46cab958b
  • Smoke/maintenance tools (legacy entrypoint): ghcr.io/mahpate/vlite@sha256:ac36c97f6127784d8534e97b593ffed506e0924899184085ce63a6ce47e0ab84

Download the matching SDK below. Installation and platform limits: https://github.com/mahpate/Vlite/blob/v0.7.10/docs/INSTALL.md

Verify SHA256SUMS before installing. Back up before upgrading; see the Docker upgrade and rollback procedure in docs/DOCKER-OPERATIONS.md. Python wheels are uploaded to PyPI (vlite-embedded, vlite-client) by the separate pypi.yml workflow when its trusted publisher is configured; npm packages are not published. Checksums are integrity checks, not signatures.

VLite 0.7.10 upgrade and rollback

VLite 0.7.10 is the first published release of the experimental, opt-in
high-availability building blocks for Azure Container Apps
described in the
0.7.9 notes. The v0.7.9 tag exists, but its release build
failed Windows lint and a macOS compaction test before publication. There are
no 0.7.9 release assets, container images, Python wheels or npm packages.

0.7.10 contains every 0.7.9 change plus two fixes. The gateway measurement
harness builds without an unused-mut warning on non-Unix targets. When an
operator polls a compaction job, its terminal outcome is now visible only
after the corresponding serving fence has reopened or entered recovery.
The database, admin-state, memory-bindings-v1 and
recovery-bundle formats are unchanged from 0.7.8. No data migration is
required. No benchmark campaign was run for this patch; earlier measurements
do not measure 0.7.10.

This is not production HA. There is one writer per database, no automatic
failover and no qualified RPO, RTO or availability SLO. Read
Opt-in HA operations on Azure Container Apps before trying any of
it, and only in an isolated environment.

What is new

Everything listed in What is new in 0.7.9:
serving modes and GET /v1/admin/serve-status, reader replicas from the Blob
archive, the stateless gateway, writer authority with epoch fencing and
operator-run failover, and the HA deployment tooling. With none of the new
commands, flags or files, a server runs exactly as 0.7.8 does.

Upgrade

Upgrade from 0.7.8 as described in the 0.7.9 upgrade notes,
using 0.7.10 artifacts. Verify release checksums and back up the database,
private bindings file and admin state. Stop the old server before starting
0.7.10; keep one writer per database file. No HA feature is enabled by the
upgrade. Keep a separate dashboard image at the same version as the API.

Rollback

Stop 0.7.10 before starting 0.7.8; there are no 0.7.9 artifacts to roll back
to. Follow the 0.7.9 rollback guidance: formats
are compatible, but 0.7.8 cannot read writer-authority records, HA archive
manifests, control state or reader-apply configuration, so roll back only to a
standalone database.

Compatibility and known limits

The 0.7.9 limits all apply.
In short: no automatic failover, one writer per database, no ACA-qualified
deployment (gateway load and staleness measurements have not run on ACA, and
the Blob fencing measurement has not completed there), Azure Files remains
experimental, and the dashboard has no HA view.

VLite v0.7.8

Choose a tag to compare

@github-actions github-actions released this 16 Nov 23:44

Container images (linux/amd64 and linux/arm64):

  • REST API: ghcr.io/mahpate/vlite-api@sha256:b31cf654f55d13674344e7c85cdb83e934ebf7130118a1e72cffd6220760ef21
  • Dashboard: ghcr.io/mahpate/vlite-dashboard@sha256:b7fe176725d6266d976252f674380d0391fe363d489bf03bf8834edc62ee76a2
  • Smoke/maintenance tools (legacy entrypoint): ghcr.io/mahpate/vlite@sha256:fcbbcb1011b9430d82e55903b2d155b723a5b2e5c7f3e7fe968d21490745dd11

Download the matching SDK below. Installation and platform limits: https://github.com/mahpate/Vlite/blob/v0.7.8/docs/INSTALL.md

Verify SHA256SUMS before installing. Back up before upgrading; see the Docker upgrade and rollback procedure in docs/DOCKER-OPERATIONS.md. Python wheels are uploaded to PyPI (vlite-embedded, vlite-client) by the separate pypi.yml workflow when its trusted publisher is configured; npm packages are not published. Checksums are integrity checks, not signatures.

VLite 0.7.8 upgrade and rollback

VLite 0.7.8 adds memory-aware Azure Blob backup and recovery. A server with
agent-memory bindings can now back up, drill and restore its database instead
of being refused with memory_reservations_present.

The database format and memory-bindings-v1 file format are unchanged. No data
migration is required. There is no new route or request field; recovery reports
add memory counts and the offline restore reports its bindings-file path.
Backups carrying bindings use a new recovery-bundle schema, described below.
No benchmark campaign was run for this patch; earlier measurements do not
measure 0.7.8.

What is new

Capture bindings with the database

A backup captures the binding set in force under the same exclusive write lock
as the database snapshot. A concurrent binding reload cannot pair one
generation's database with another generation's grants.

When bindings are present, the recovery bundle uses
vlite.recovery-bundle/2 and carries their strict memory-bindings-v1
representation. Backups without a binding set keep the existing /1 schema.
Orphaned binding records remain reserved in a restored database without
granting access, even if the source had no bindings file.

Validate memory before publishing a restore

A drill and both restore paths run the startup binding checks against the
restored copy. Missing graphs or evidence collections, invalid records and
incompatible binding generations fail recovery rather than silently dropping
memory protection. A failed offline restore publishes no output.

Reports give binding, active, retired, principal-to-rekey and orphan-record
counts, not binding or principal names. A malformed memory section returns
cloud_restore_memory_invalid; a failed startup check returns
cloud_restore_memory_failed. The REST errors are 409, and a failed drill
reports ok: false.

Recover onto a new host without restoring old grants

Offline vlite-server cloud-restore writes the captured set to
memory-bindings.json beside database.vlite and admin/. The file is
owner-only on Linux and macOS; on Windows, use an operator-private output
parent because the output inherits its access list.

Credentials and sessions are still not restored. Before serving memory,
re-issue credentials, replace each binding's principal IDs, raise its
generation and preserve or narrow raw_access. Then start with
--memory-bindings-file. Without the file, the restored memory remains
reserved with no grant. REST restore validates memory and reports its counts
but writes no bindings file; provision that file separately.

See the recovery runbook,
API details and
security boundaries.

Upgrade

Verify release checksums and back up the database, private bindings file and
admin state. Stop the old server before starting 0.7.8; keep one writer per
database file. Preserve existing authentication, durability, proxy, storage
and memory settings. Existing bindings need no generation change for the
upgrade itself.

Upgrade all tools that read cloud backup sets before relying on memory-aware
backups. Servers and restore tools older than 0.7.8 reject /2 bundles; they
cannot drill or restore these sets. Existing /1 sets remain readable.

Cloud backups remain off until configured, and the upgrade does not enable
them, retention or compaction. The existing dashboard Cloud backup card drives
the feature without a UI change. The Windows and Ubuntu setup scripts now
default to the current release images; an explicit version still overrides
that default. Keep a separate dashboard image at the same version as the API.

When upgrading from older releases, also read the
0.7.7 notes and
0.7.6 cloud-backup prerequisites.

Rollback

Stop 0.7.8 before starting 0.7.7. The existing live database, binding file and
admin-state formats are compatible; no reverse migration is required.
However, 0.7.7 refuses cloud backup on a server with memory reservations and
cannot read the new /2 recovery bundles. Keep 0.7.8 restore tooling for those
sets; do not relabel or strip a bundle to make an older tool accept it.

Rolling back the server does not undo a restore or its re-issued credentials.
Keep the restored database, updated bindings and corresponding admin state
together. For earlier rollback targets, follow the
0.7.7 rollback guidance.

Compatibility and known limits

  • Memory-aware backup does not add HA, automatic failover, continuous log
    archiving or same-lineage standby seeding.
  • Encrypted databases, in-memory servers, databases over 1 GiB and unrecognized
    admin-directory contents retain their existing cloud-backup refusals.
  • File compaction still refuses memory reservations. Its filesystem
    qualification and all other safety gates are unchanged.
  • Restoring an older backup can bring back memories and evidence forgotten or
    erased after capture. Apply retention, legal holds and key-retirement policy
    to every backup copy.
  • This release adds no real-Azure recovery-time, power-loss or HA qualification.
    Azure Files remains experimental, not power-loss or cross-host writer-lock
    qualified. Blob replication does not provide writer fencing, and the
    coordination container must not fail over across regions.

VLite v0.7.7

Choose a tag to compare

@github-actions github-actions released this 16 Nov 05:23

Container images (linux/amd64 and linux/arm64):

  • REST API: ghcr.io/mahpate/vlite-api@sha256:207675c31143c6f1c8137667f6966d8ab0efdb8b3cbf5559fe416b3516d6a165
  • Dashboard: ghcr.io/mahpate/vlite-dashboard@sha256:bd3cea801420fb6c1151170642785b994d85a34053db00626cfc4e383a149d28
  • Smoke/maintenance tools (legacy entrypoint): ghcr.io/mahpate/vlite@sha256:6a58bae44f6558a814a6177dacdc1fad629ddc1c05589bbb13b0608a3c7c425d

Download the matching SDK below. Installation and platform limits: https://github.com/mahpate/Vlite/blob/v0.7.7/docs/INSTALL.md

Verify SHA256SUMS before installing. Back up before upgrading; see the Docker upgrade and rollback procedure in docs/DOCKER-OPERATIONS.md. Python wheels are uploaded to PyPI (vlite-embedded, vlite-client) by the separate pypi.yml workflow when its trusted publisher is configured; npm packages are not published. Checksums are integrity checks, not signatures.

VLite 0.7.7 upgrade and rollback

VLite 0.7.7 is a dashboard patch. It adds a Cloud backup card for the Azure
Blob backups that arrived in 0.7.6, and it lets the MemoryAI Remember form
attach an evidence record or merge a source into an existing memory.

The server's routes, requests and responses, the database format and the
binding-file schema are unchanged. No data migration is required. No benchmark
campaign was run for this patch release; earlier measurements do not measure
0.7.7.

What is new

Cloud backup card

A super administrator can now open Administration → Cloud backup (Azure
Blob)
instead of calling /v1/admin/cloud-backup by hand. The card:

  • shows the current status and, in plain words, what needs attention before a
    backup can run;
  • saves the settings: Back up automatically, the storage account,
    container, an optional separate coordination container, folder, optional
    managed identity client ID, how often to back up, how often to test a
    restore, and the clean-up settings;
  • runs Back up now and Clean up now;
  • loads the stored backups, then tests one, restores it as a new copy, or holds
    it and later releases the hold.

No password or key is entered or shown: the server signs in to Azure with its
managed identity. Saving settings uploads and deletes nothing, and nothing is
uploaded until you turn on automatic backups or select Back up now. As in
0.7.6, nothing is deleted unless Delete old backups automatically is on,
and even then the server keeps held backups, the newest verified backup and any
backup being restored. Opening the dashboard does not read cloud backup state;
select Refresh status.

See the
dashboard walkthrough
and the
Azure setup and restore steps.

MemoryAI: evidence and merge in Remember

The Remember form in the MemoryAI workspace has two new optional parts. Both
use features the memory REST API already had.

  • Evidence record number attaches one existing record from the binding's
    evidence collection. It needs a token with raw access, and the dashboard does
    not create the record. Attaching transfers the record to the memory, so
    forgetting the memory deletes the record too; do not attach a record you
    still need.
  • Add this source to an existing memory merges provenance into a memory
    that already exists. It needs the same memory ID, kind and content, a new
    source ID and the memory's current revision from a recent recall. A wrong
    revision is refused, so recall again before retrying.

After the first attached evidence reference the database cannot roll back to
0.7.0 (see Rollback). See the
MemoryAI guide and
evidence references.

Tests and website

The scheduled-compaction test now retries a write that a starting run refuses
with 503 maintenance_in_progress. The website's dashboard tours were
recaptured to show the new card and the Remember form. Neither changes the
server.

Upgrade

Verify release checksums and back up the database, private bindings file and
admin state. Stop the old server before starting 0.7.7; keep one writer per
database file. Preserve existing durability, authentication, proxy and storage
settings. There is no format conversion or binding-generation change for this
upgrade.

The server serves the dashboard from its own binary, so upgrading the server
brings both dashboard changes. If you also run the separate dashboard image
(ghcr.io/mahpate/vlite-dashboard:<version>), upgrade it together with the
server and use the same version for both; see
Docker operations.

Existing clients work unchanged, and cloud backups stay off until a super
administrator turns them on. Before enabling them, read the
0.7.6 upgrade notes: the app needs a managed
identity with Storage Blob Data Contributor on the two containers, and only
server-written files may sit in VLITE_ADMIN_DIR.

When upgrading from 0.7.2 or earlier, also read the
0.7.3 compatibility guidance, especially before introducing
read-only shared scopes.

Rollback

Stop 0.7.7 before starting 0.7.6. The two releases share the database format,
the binding file and the compaction/ and cloud-backup/ folders in the admin
directory, so 0.7.6 starts on the same files with no migration. Cloud backup
settings saved from the new card stay in place, because the card uses the same
admin routes as 0.7.6.

To go back further than 0.7.6, follow the
0.7.6 rollback notes, in particular the warning
about a compaction that has already switched files. For 0.7.2 or earlier,
follow the 0.7.3 rollback instructions.

Once a memory holds an evidence reference, whichever client attached it, do not
roll back to 0.7.0; see the 0.7.1 notes.

Compatibility and known limits

  • The card drives the 0.7.6 cloud backup feature and has its limits; see the
    0.7.6 known limits. The
    card is covered by dashboard unit tests and a browser test against a stand-in
    for the admin routes. Nothing in them reaches Azure, and this release adds no
    live Azure measurement.
  • The Remember form attaches an existing evidence record; it cannot create
    one. Creating evidence still needs a raw-access client.
  • File compaction is unchanged and remains experimental, qualified on one local
    ext4 profile with process kills only.
  • Azure Files remains an experimental deployment option, not power-loss or
    cross-host writer-lock qualified.

VLite v0.7.6

Choose a tag to compare

@github-actions github-actions released this 14 Nov 10:55

Container images (linux/amd64 and linux/arm64):

  • REST API: ghcr.io/mahpate/vlite-api@sha256:c82a80c12dfa47e856b3446a133807b92c8f30b994814db928f46ecbafba1ac4
  • Dashboard: ghcr.io/mahpate/vlite-dashboard@sha256:5e989320037d32dc102a871a7689d51ee07e9e1c3b313b04ce5d9aac5cf24e4c
  • Smoke/maintenance tools (legacy entrypoint): ghcr.io/mahpate/vlite@sha256:2e01c96a524a3195d5bca7f88590d96468f75853966ddd402d16e93440c41cc4

Download the matching SDK below. Installation and platform limits: https://github.com/mahpate/Vlite/blob/v0.7.6/docs/INSTALL.md

Verify SHA256SUMS before installing. Back up before upgrading; see the Docker upgrade and rollback procedure in docs/DOCKER-OPERATIONS.md. Python wheels are uploaded to PyPI (vlite-embedded, vlite-client) by the separate pypi.yml workflow when its trusted publisher is configured; npm packages are not published. Checksums are integrity checks, not signatures.

VLite 0.7.6 upgrade and rollback

VLite 0.7.6 adds two server features, both off by default: file compaction,
which a super administrator can run from the dashboard, and cloud backups to
Azure Blob Storage with an isolated, rekey-only restore.

The database format and binding-file schema are unchanged. No data migration
is required. No benchmark campaign was run for this patch release; earlier
measurements do not measure 0.7.6.

What is new

File compaction (experimental)

A single-file database keeps old pages after updates and deletes, so the file
grows. File compaction writes a compact copy, checks it and switches the
server to it. In the dashboard, open Administration → Backup & recovery →
File compaction
and choose Compact now, or turn on the daily automatic
window (UTC, off by default). The same actions are available through
/v1/admin/compaction for super administrators.

  • It runs only on the managed vlite-server with VLITE_ADMIN_DIR, a
    persisted database and no gRPC listener. The only qualified profile is
    linux-local-ext4-v1: Linux, the database and admin directory on the same
    local ext4 filesystem, files up to 1 GiB and about four times the file size
    free. Anything else, including Azure Files, native Windows and macOS,
    encrypted files and open mode, is refused with a plain reason.
  • While a job runs, reads and writes answer 503 maintenance_in_progress
    with Retry-After: 5. The recorded 1.02 GB run took 8.6 seconds in total.
  • Records, graphs, credentials, accounts and the lineage are kept. Change
    history from before the run is dropped (cursor_compacted), and record
    ETags and graph revisions can advance, so both are acknowledged before a
    run. The original file is kept as a recovery copy.
  • Qualification used process kills on one host; there is no power-loss
    evidence. Run tests/compaction_qualification.py on your own host first.

See API.md and
running it safely.

Cloud backups to Azure Blob

A super administrator saves a policy with PUT /v1/admin/cloud-backup. The
server then publishes verified backup sets of the database and a secret-free
recovery bundle (tenants, account names and roles, the credential inventory)
to two Blob containers, using the container app's managed identity. Each set
is hashed end to end, read back before it is published and can be drilled
(downloaded, restored to scratch and queried) without touching the live
database. Retention is off by default and never removes the newest verified
set, pinned sets or sets inside keep_sets (at least 3) or keep_days (at
least 30).

Restore is rekey-only. POST .../sets/{id}/restore writes a new-lineage
restore-*.vlite copy for the existing restore selection, and the offline
vlite-server cloud-sets and vlite-server cloud-restore commands rebuild a
database and admin directory on a new host. Restored accounts are disabled,
a fresh super administrator is the only working sign-in, and credentials,
sessions and webhooks must be issued again.

There is no dashboard card yet. See
API.md and the
Azure setup and restore steps.

Upgrade

Verify release checksums and back up the database, private bindings file and
admin state. Stop the old server before starting 0.7.6; keep one writer per
database file. Preserve existing durability, authentication, proxy and storage
settings. There is no format conversion or binding-generation change for this
upgrade.

Existing clients and the dashboard work unchanged, and both features stay off
until a super administrator turns them on. Before enabling cloud backups, give
the app a managed identity with Storage Blob Data Contributor on the two
containers, and keep only server-written files in VLITE_ADMIN_DIR; a token or
TLS file there makes runs answer 409 recovery_config_unrecognized.

When upgrading from 0.7.2 or earlier, also read the
0.7.3 compatibility guidance, especially before introducing
read-only shared scopes.

Rollback

Stop 0.7.6 before starting 0.7.5. Do not roll back while a compaction job is
running or the server reports recovery_required.

  • If file compaction never switched the server to a compacted file, 0.7.5
    starts on the same files with no migration. It ignores the
    compaction/ and cloud-backup/ folders in the admin directory, so
    scheduled cloud backups stop. Published sets stay in Blob Storage, and
    0.7.6 can list and restore them again.
  • After a compaction has switched files, do not start 0.7.5 on that
    installation. It does not read the compaction selection that chooses the
    startup file, so it could open the original file and lose later writes.
    To go back, restore a backup into a separate installation with an empty
    admin directory, as described in
    DOCKER-OPERATIONS.md. Writes made
    after that backup are not in it.

For rollback to 0.7.2 or earlier, follow the
0.7.3 rollback instructions.

Compatibility and known limits

  • Compaction is experimental and qualified on one local ext4 profile with
    process kills only. Encrypted files, memory bindings, webhook subscriptions
    and imports in progress are refused.
  • Cloud backup evidence comes from fakes and the Azurite emulator; real Azure
    role assignments, immutability policies, power loss and recovery time are
    not yet measured. Databases over 1 GiB, encrypted databases and servers with
    memory reservations are refused.
  • One identity both uploads and deletes, and sets are hashed, not signed:
    authenticity rests on who may write the containers.
  • Same-lineage standby seeding ({"mode": "seed"}) is refused with
    cloud_seed_mode_deferred. This release does not add managed followers,
    automatic failover or fencing.
  • Azure Files remains an experimental deployment option, not power-loss
    or cross-host writer-lock qualification.

VLite v0.7.5

Choose a tag to compare

@github-actions github-actions released this 13 Nov 00:57

Container images (linux/amd64 and linux/arm64):

  • REST API: ghcr.io/mahpate/vlite-api@sha256:abe765766163334f921767fecae8fd57ec180e3dac13f06115be5aa0dd5d6925
  • Dashboard: ghcr.io/mahpate/vlite-dashboard@sha256:28405007d71e30c2d293988d4f55aa33bba237316ef54628dfdd991b462b1ecd
  • Smoke/maintenance tools (legacy entrypoint): ghcr.io/mahpate/vlite@sha256:8c1455e656f46b5d22a78d8123be0c32fddc7caf52f45e784b6d8c4aa59a72bc

Download the matching SDK below. Installation and platform limits: https://github.com/mahpate/Vlite/blob/v0.7.5/docs/INSTALL.md

Verify SHA256SUMS before installing. Back up before upgrading; see the Docker upgrade and rollback procedure in docs/DOCKER-OPERATIONS.md. Python wheels are uploaded to PyPI (vlite-embedded, vlite-client) by the separate pypi.yml workflow when its trusted publisher is configured; npm packages are not published. Checksums are integrity checks, not signatures.

VLite 0.7.5 upgrade and rollback

VLite 0.7.5 adds an opt-in server switch, VLITE_METRICS_WITH_MEMORY=1, that
keeps server-wide metrics and the dashboard views built on them available
while agent memory is enabled.

The database format and binding-file schema are unchanged. No data migration
is required. No benchmark campaign was run for this patch release; earlier
measurements do not measure 0.7.5.

What is new

Metrics with agent memory

In 0.7.4, a configured memory bindings file makes GET /metrics and
GET /v1/admin/metrics/summary answer 403 forbidden_scope, because their
global totals include memory-backed data. The dashboard marks the views that
depend on them as unavailable; sign-in still works.

Start vlite-server with VLITE_METRICS_WITH_MEMORY=1 to serve both routes
again. Library embedders set ServerOptions::metrics_with_memory. The variable
accepts 0, 1, true or false; any other value stops startup. It is read
once at start, so changing it needs a restart, and it is off by default.

With the switch on:

  • Both routes answer as they do without memory. Their totals (database bytes,
    record and collection counts, search counters) include memory data, so anyone
    who can read metrics learns how much memory data exists. Leave the switch off
    when those aggregate sizes must stay private.
  • Reserved memory graph and evidence names never appear in per-collection
    rows, and scoped callers still see only their own collections.
  • Nothing else about memory changes: reservations, grants and every other
    memory guard behave as before.

See Memory-bound resources and the
dashboard guide.

Upgrade

Verify release checksums and back up the database, private bindings file and
admin state. Stop the old server before starting 0.7.5; keep one writer per
database file. Preserve existing durability, authentication, proxy and storage
settings. There is no format conversion or binding-generation change solely
for this upgrade.

Existing clients and the dashboard work unchanged. To use the switch, add
VLITE_METRICS_WITH_MEMORY=1 to the server's environment for the upgrade
restart, then check that GET /metrics answers 200. Without the variable,
0.7.5 behaves as 0.7.4 does.

When upgrading from 0.7.2 or earlier, also read the
0.7.3 compatibility guidance, especially before introducing
read-only shared scopes.

Rollback

Stop 0.7.5 before starting 0.7.4. The unchanged database format and binding
schema require no migration. 0.7.4 ignores VLITE_METRICS_WITH_MEMORY, so the
two routes answer 403 again while memory is enabled; the variable can stay set
or be removed.

For rollback to 0.7.2 or earlier, follow the
0.7.3 rollback instructions. Those releases
refuse bindings files containing read_scopes; never turn read-only grants
into read/write grants without reviewing the intended access.

Compatibility and known limits

  • Memory remains opt-in and REST-only.
  • The switch lifts only the two metrics routes. Graph statistics, replication
    export, webhook list and status, imports and automatic-maintenance routes
    still answer 403 forbidden_scope while a binding exists, and the server
    still refuses --grpc-bind and scheduled automatic index maintenance.
  • Totals do not separate memory data from other data, and there is no
    per-scope breakdown of reserved resources.
  • This release does not add managed followers, multi-writer operation,
    automatic failover or a larger request-concurrency limit.
  • Azure Files remains an experimental deployment option, not power-loss
    or cross-host writer-lock qualification.

VLite v0.7.4

Choose a tag to compare

@github-actions github-actions released this 11 Nov 00:44

Container images (linux/amd64 and linux/arm64):

  • REST API: ghcr.io/mahpate/vlite-api@sha256:2de2de3a2da4382f6a1471e3fb6d39700e91cca93490c18a87ef2380dd32f687
  • Dashboard: ghcr.io/mahpate/vlite-dashboard@sha256:07efa5fd733bd14d1275bfec3f2ff1110c3e08695217d68358ade39f9d107de6
  • Smoke/maintenance tools (legacy entrypoint): ghcr.io/mahpate/vlite@sha256:b70939cc0b769caff51042c72f4cc4c6e732c0917e929fc2d930321d69469aaf

Download the matching SDK below. Installation and platform limits: https://github.com/mahpate/Vlite/blob/v0.7.4/docs/INSTALL.md

Verify SHA256SUMS before installing. Back up before upgrading; see the Docker upgrade and rollback procedure in docs/DOCKER-OPERATIONS.md. Python wheels are uploaded to PyPI (vlite-embedded, vlite-client) by the separate pypi.yml workflow when its trusted publisher is configured; npm packages are not published. Checksums are integrity checks, not signatures.

VLite 0.7.4 upgrade and rollback

VLite 0.7.4 adds read-only preflight and status checks around MemoryAI's
restart-free grant reload, and requires exact-commit full CI before publishing
release images, GitHub assets or Python wheels.

The database format and binding-file schema are unchanged. No data migration
is required. No benchmark campaign was run for this patch release; earlier
measurements do not measure 0.7.4.

What is new

Grant-change preflight and status

Administrators can call POST /v1/admin/memory/bindings/preflight to check the
configured private bindings file without applying it. Inspect the response's
outcome, not just HTTP 200: reload or unchanged passes the current checks.
Preflight is advisory, does not take the reload lock, and cannot guarantee that
a later reload succeeds. Reload always rereads and validates the file.

After a successful reload, GET /v1/admin/memory/bindings/status reports whether
the file agrees with the served grants and whether requests using older grants
have drained. Status is read-only and takes no database or reload lock; its
snapshot can lag a concurrent reload by one call. Poll for file: "agrees" and
drained: true. A failed reload is not a revocation.

The dashboard Administration workspace exposes preflight, reload and status
together. Both new endpoints require administrator authorization and report
bounded, sanitized results rather than binding names, paths or private grants.
See the memory guide and
API contract.

Exact-commit publication guard

Publication requires a successful full ci.yml run at the tagged commit,
including Docker and the complete required matrix. Older, partial, foreign
or pull-request CI does not qualify. This guards image digest pushes as well
as image tags, GitHub release assets and PyPI uploads.

PyPI additionally verifies the release manifest, checksums and each wheel's
source commit. Every distinct source must have qualifying CI. GitHub API
retries and polling are bounded and fail closed. Branch release dry runs
report qualification without publishing. See
release CI guard for the required ordering.

Upgrade

Verify release checksums and back up the database, private bindings file and
admin state. Stop the old server before starting 0.7.4; keep one writer per
database file. Preserve existing durability, authentication, proxy and storage
settings. There is no format conversion or binding-generation change solely
for this upgrade.

Existing clients continue to work. Clients using the new admin endpoints must
wait until the server is upgraded. Grants-only reload remains limited to
bindings already served by that process; first-time enablement and structural
binding changes still require a restart.

When upgrading from 0.7.2 or earlier, also read the
0.7.3 compatibility guidance, especially before introducing
read-only shared scopes.

Rollback

Stop 0.7.4 before starting 0.7.3. The unchanged database format and binding
schema require no migration. Stop clients from calling preflight/status on
the older server; use its existing reload procedure instead.

For rollback to 0.7.2 or earlier, follow the
0.7.3 rollback instructions. Those releases
refuse bindings files containing read_scopes; never turn read-only grants
into read/write grants without reviewing the intended access.

Compatibility and known limits

  • Memory remains opt-in and REST-only. Binding lifecycle operations, file
    watching, gRPC memory and gRPC live reload are not added.
  • Preflight and status do not edit the file, mutate the database, apply
    grants or replace reload validation. Status alone cannot repair a failed
    reload.
  • Existing receipt lookup and idle-binding cleanup limitations are unchanged.
  • This release does not add managed followers, multi-writer operation,
    automatic failover or a larger request-concurrency limit.
  • Azure Files remains an experimental deployment option, not power-loss
    or cross-host writer-lock qualification.

VLite v0.7.3

Choose a tag to compare

@github-actions github-actions released this 10 Nov 01:57

Container images (linux/amd64 and linux/arm64):

  • REST API: ghcr.io/mahpate/vlite-api@sha256:fbcc9c026693fb4907214426fe4198861d99689d1720168efc601646cdeeab44
  • Dashboard: ghcr.io/mahpate/vlite-dashboard@sha256:1b930177bedb3e844bbdbebac596a65db01ea45ad7f87b8ae78a4935fec8b4f4
  • Smoke/maintenance tools (legacy entrypoint): ghcr.io/mahpate/vlite@sha256:8efa5c122599776ad715f0900ff19d62a1652e9e7a2450d8d8d6f116beebb65e

Download the matching SDK below. Installation and platform limits: https://github.com/mahpate/Vlite/blob/v0.7.3/docs/INSTALL.md

Verify SHA256SUMS before installing. Back up before upgrading; see the Docker upgrade and rollback procedure in docs/DOCKER-OPERATIONS.md. Python wheels are uploaded to PyPI (vlite-embedded, vlite-client) by the separate pypi.yml workflow when its trusted publisher is configured; npm packages are not published. Checksums are integrity checks, not signatures.

VLite 0.7.3 upgrade and rollback

VLite 0.7.3 hardens opt-in agent memory with per-scope read grants and bounded
cleanup of expired write receipts, and lets administrators reload grants for
already-served bindings without restarting the server.

The database format is unchanged; no data migration is required. Existing
bindings files continue to work until they use the optional read_scopes field.
No benchmark campaign was run for this minor release.

What is new

Per-scope read grants

A credential may list read_scopes alongside its read/write scopes. A
read-only scope can use recall (and the currently unavailable facts/query
surface); it cannot write, look up receipts or access erasure operations. This
allows a publisher credential to write reviewed shared memory while session
credentials write personal scopes and read the shared scopes. A grant with
read_scopes cannot also have raw_access.

The field is optional and existing binding files retain their behavior. Servers
older than 0.7.3 refuse a bindings file containing read_scopes.

Bounded cleanup of expired receipts

Successful remember, forget and consolidate writes reclaim a bounded
number of receipt/result groups that expired at least five minutes earlier.
This includes eligible receipts created by earlier releases. Each write
examines at most 512 receipts and removes at most 1,024 graph nodes, except
that one larger receipt group may be removed when it fits in the write.

Cleanup shares the caller's commit. If adding cleanup would make that commit
too large, the operation commits on its own and cleanup waits for a later
write. Expired receipts already answer as missing; this does not change the
retry window. Removal is logical, not secure erasure: old bytes may remain in
the log and backups until those are compacted or expire.

Restart-free grant reload

For a binding the server already serves, an administrator can edit the private
bindings file, raise the changed binding's generation, replace the file
atomically, then call POST /v1/admin/memory/bindings/reload. The dashboard
Administration workspace also exposes the reload action. The endpoint applies
only changes to principals, scopes, read_scopes and raw_access; it does
not edit the file.

Requests pin the grants version they first consult. A durable grant update is
served before subsequent requests use it, and a write admitted under superseded
grants fails closed. The response's drained value reports whether requests
using older grants have finished. If it is false, resend the request to wait
again; disconnecting the caller does not cancel an apply already in progress.
The memory guide documents the full procedure.

This is not a binding lifecycle API. Adding, removing, renaming or retiring a
binding; changing its tenant, graph, evidence collection, state or receipt
window; and enabling memory for the first time still require a restart. Reload
is unavailable when a gRPC router was built; the server continues to refuse a
gRPC listener while memory bindings are configured.

Upgrade

Back up the database and verify the release checksums first. Stop the old
server before starting 0.7.3; keep one writer per file. There is no format
change, conversion or migration. To use read-only shared scopes, upgrade the
server first, then add read_scopes with a higher binding generation. Older
servers refuse that field. Grant reload applies only after memory is already
enabled; initial setup still requires a restart.

REST clients do not need an upgrade unless they call the new admin endpoint
directly. The endpoint and its capability flag are documented in the
API reference.

Rollback

Stop 0.7.3 before starting the previous server. When the bindings file does not
use read_scopes, the unchanged file format and binding records require no
migration; grant-only reloads have the same durable records as a restart with
that file.

If the file uses read_scopes, older servers refuse to start with it. Before
rolling back, remove read_scopes and remove or rewrite read-only grants so
each remaining scopes list grants only access that should be read/write on
the older server. Raise the generation of every changed binding, then restart
the older server. Review this downgrade carefully: older grants do not
distinguish read-only from read/write access.

Compatibility and known limits

  • No database format, file migration, or new server setting is introduced.
  • Read-only grants affect recall and the currently unavailable
    facts/query operation only. Memory remains opt-in and REST-only.
  • Grant reload applies only grant changes to existing bindings. Binding
    lifecycle changes and first-time setup still need a restart.
  • The new receipt cleanup is bounded and best-effort within each successful
    write; a receipt backlog clears only as later writes occur.
  • The gRPC listener remains disabled while memory bindings are configured.
  • The 0.7.3 release does not add memory facts/erasure APIs, self-service
    binding management, a file watcher, gRPC memory or gRPC live reload.
  • No benchmark campaign was run for this minor release; existing benchmark
    results do not measure 0.7.3.

VLite v0.7.2

Choose a tag to compare

@github-actions github-actions released this 07 Nov 00:45

Container images (linux/amd64 and linux/arm64):

  • REST API: ghcr.io/mahpate/vlite-api@sha256:73d3fd03b65700ffa96ee23303b1167ccc1853b128be9710a0224526fc8a1037
  • Dashboard: ghcr.io/mahpate/vlite-dashboard@sha256:792d21c3de68137707f34cce7c8c658520c44de5d111cdc9de9b9c1629e96f74
  • Smoke/maintenance tools (legacy entrypoint): ghcr.io/mahpate/vlite@sha256:77e1254293bc171b5ed6950b3e8332e8c26e9ff2a72d41d50c16c2052843eb6a

Download the matching SDK below. Installation and platform limits: https://github.com/mahpate/Vlite/blob/v0.7.2/docs/INSTALL.md

Verify SHA256SUMS before installing. Back up before upgrading; see the Docker upgrade and rollback procedure in docs/DOCKER-OPERATIONS.md. Python wheels are uploaded to PyPI (vlite-embedded, vlite-client) by the separate pypi.yml workflow when its trusted publisher is configured; npm packages are not published. Checksums are integrity checks, not signatures.

VLite 0.7.2 upgrade and rollback

VLite 0.7.2 adds an atomic key-value batch and a multi-key read (REST, gRPC, the clients, the shell and the MCP tools), adds key-value operations to the embedded libraries and lets the dashboard sign in while agent memory is enabled.

It follows 0.7.1. The store opens unchanged: there is no new file format, setting or migration, and files written by 0.7.1 open as before. The REST and gRPC surfaces of vlite-server only gain: two REST routes, two gRPC calls, one audit event and one capability flag; vlite-mcp and vlite-shell gain two tools and two commands. The OpenAPI document also corrects the entry of one existing route without changing the route (see Compatibility). Programs that build the routers themselves with the library see the gRPC change described under Upgrade. A file written by 0.7.2 opens in 0.7.1 (see Rollback). No benchmarks were run for this release, and the 0.7.0 numbers make no claim about it.

What is new

Key-value: atomic batch and multi-get

Two operations join get, put, delete and list. A batch writes several keys of one collection, all or nothing, and a multi-get reads several keys in one call. Both need explicit use; single-key operations are unchanged. The key-value guide has the full rules.

  • Where. REST POST /v1/collections/{collection}/kv/batch (needs write) and POST /v1/collections/{collection}/kv/entries/get (needs read, so the read-only token may call it); gRPC WriteKvBatch and GetKvEntries on vlite.v1.Kv; the local MCP tools vlite_kv_batch (listed and callable only with --writable) and vlite_kv_get_many; the shell commands kv-batch and kv-get-many; the Rust methods KvStore::write_batch and KvView::get_many; and the clients: kv_batch and kv_get_many in Python, kvBatch and kvGetMany in JavaScript, KvBatchAsync and KvGetManyAsync in .NET, and KvBatch and KvGetMany in Go. The Go client had no key-value operations before; it now has all six (get, put, delete, list, multi-get and batch).
  • What a batch does. It holds up to 1,000 puts and deletes, for any namespaces of the collection, and commits them as one frame: after a crash you find all of it or none of it, and a reader sees the state before the batch or the state after it, never part of it. Each operation takes the same expected condition as the single call (any, absent or a revision). The first operation that cannot run fails the whole batch and nothing is written. Every put of one batch gets the same version, the commit's sequence, and each is a valid expected revision for its own key. A delete of a key with no live entry succeeds with deleted: false; if an expired record of the key is still stored, the delete removes it, still reports false and counts as a change. A batch that changes no record commits nothing.
  • Rules. Each (namespace, key) may appear once. The values of all puts total at most 4,194,304 decoded bytes. A put in a batch has no expires_at_ms (the field is unknown, so 422 invalid_json) and, like any put without a deadline, clears the deadline of the entry it replaces; use single puts for entries that need one. The request is checked as a whole before anything runs, and a bound, encoding, size, duplicate-key or expected fault is 422 invalid_input whose message names the operation.
  • Errors and quota. A failed condition is 412 precondition_failed (gRPC ABORTED). All 16 record IDs of a key taken is 409 kv_slots_exhausted, and a delete of an entry that a graph node is attached to is 409 graph_attached_record (both FAILED_PRECONDITION). A batch that changes a record in a file of format 1 is 409 upgrade_required. The record quota is judged once, on the count that the whole batch leaves, and only when the batch writes at least one record, so an empty batch or a batch of deletes is never refused for quota. A 503 commit_indeterminate (gRPC UNKNOWN) means that all of the batch or none of it was written and nobody can tell which: read the keys back with a multi-get before you decide, and do not retry blindly.
  • Multi-get. It names 0 to 1,000 keys (a key may repeat) and answers one element per key, in order, with null for a key that is absent or due. One read and one expiry clock serve the call. If the entries would pass 16,777,216 bytes of compact JSON, the call returns the longest prefix that fits and next_index names the first key it did not read; ask again for the rest. Calls share no snapshot, so a key can change between two calls.
  • Audit and metrics. A batch writes one kv_batch audit event, not one per operation. It carries the request ID, principal, actor, collection, outcome and duration_ns, plus the counts puts and deletes, and never a namespace, key or value. A batch refused for slots counts once in kv_slots_exhausted_total. See Key-value permissions.
  • Finding out whether a server has the routes. GET /v1/capabilities lists both routes in routes for every file format and gains features.kv_batch, which is true for format 5 and later. Look for the two paths in routes, not at the flag: a file before format 5 serves both routes while the flag is false.

Key-value in the embedded libraries

The C library, the Python package (vlite-embedded), the Node.js package (@vlite/embedded) and WebAssembly now carry get, put, delete and list, with the rules of the other surfaces: byte values under namespaced text keys, compare-and-set on versions, an optional absolute expiry (it needs a file of format 5) and ordered prefix listing. They work in an existing collection of one dimension, such as the default collection of a file created with one dimension, and never create one. A page of a list holds at most limit entries (1 to 10,000, default 100) and 16 MiB of JSON. There are no batch, multi-get or lease operations in the embedded libraries.

  • C library. Key-value is one more request of vlite_execute, {"op":"kv","request":{"op":"get",...}}. vlite_abi_version() still returns 1 and no symbol is added. A library older than the request answers invalid_input; the Python and Node.js wrappers report that as unsupported.
  • Python, Node.js and WebAssembly. db.kv_get, db.kv_put, db.kv_delete and db.kv_list (keyword-only arguments, bytes and int); db.kvGet, db.kvPut, db.kvDelete and db.kvList in Node.js (an options object, Uint8Array and bigint) and in WebAssembly (positional arguments). A key that is absent or due is kv_not_found in the C library, Python and Node.js, and undefined from WebAssembly's kvGet. A read-only handle refuses writes with read_only.

gRPC applies the memory reservations of its REST router

This is a security fix for programs that build the routers with the library. vlite-server was never exposed: it refuses --grpc-bind while a memory binding is configured or reserved records remain (see Known limits), so a server that runs with memory serves no gRPC. In 0.7.1 a gRPC adapter built after a configured REST router adopted that router's tokens, credential store and audit log but none of its memory reservations, so its lists, reads and imports ignored them. The adapter now adopts the reservations too, and a reserved collection or graph answers like a missing one on every RPC. A generated differential runs the checks of the REST differential on every RPC, with and without bindings.

A program that builds the routers i...

Read more