Skip to content

v0.54.0

Choose a tag to compare

@rustyconover rustyconover released this 19 Nov 17:27
· 6 commits to main since this release

v0.54.0

Large values via the blob vendor

  • ExternalizingStorage sends storage values at or over VGI_STORAGE_EXTERNALIZE_BYTES (default 512 KiB) to a blob vendor (region-pinned, pre-signed R2 URLs; VGI_BLOB_VENDOR_URL, token VGI_BLOB_VENDOR_TOKEN or VGI_CF_DO_TOKEN) and stores a small pointer. Reads verify size and SHA-256. The function storage API is unchanged.
  • cloudflare-do is always wrapped: every value now carries a 1-byte envelope. Format change: a query in flight across an upgrade fails with StorageEnvelopeError. Without a vendor, values over 1 MiB fail with an error naming VGI_BLOB_VENDOR_URL.
  • Other backends opt in with VGI_STORAGE_EXTERNALIZE=1 (SQLite's format is unchanged otherwise).
  • vgi-serve --http with the vendor externalizes large results and vends client upload URLs; VGI_RPC_MAX_REQUEST_BYTES advertises the request cap. Needs vgi[external].

Idle exit

  • VGI_IDLE_EXIT_SECONDS: vgi-serve --http exits with status 0 after that many seconds with no request in flight (health checks don't count), under waitress and granian. For platforms that start the machine on the next request (Fly.io).

Requires vgi-rpc 0.56.0.