openvibers/openvibe.sdk Commits

openvibe-sdk 0.44.0: the SQLite kits are gone (PostgreSQL only) (#41)

OP OpenVibers committed 11 Oct 2026 · tag v0.44. · 0 files, +0 −0

Plan T1, the deletion ledger: the SQLite kits go. Every OpenVibe service has run on PostgreSQL since 2026-10-08. Across the estate, nothing calls `createOutbox`, `createInbox` or `createRevocationStore` except the Examples webhook-consumer, which moves to `createPgInbox` on PGlite with its pin to this release. **Breaking** for a caller of what was removed.

**Removed:**
- `createOutbox` / `createInbox` (`openvibe-sdk/events`, better-sqlite3). Use `createPgOutbox` / `createPgInbox` on an `openvibe-sdk/db` handle (`createDb({ pglite: true })` for a small embedded app), with `outboxSchema()` / `inboxSchema()` in its migration.
- `createRevocationStore` (better-sqlite3 or memory). Use `createPgRevocationStore`.
- The stale `importSqlite` / `runSqliteMigration` type declarations; their code was already gone.
- `better-sqlite3` as a devDependency and as an optional peer dependency. It leaves the lockfile, and every service's lockfile with this pin; today each one carries the peer entry.

**Tests (no coverage lost):**
- The SQLite outbox suite is removed. Its two cases the PostgreSQL suite lacked move there:
  - a token-endpoint refusal is retried, never rejected;
  - a flush during a pass also publishes what was committed after it claimed.
- The SQLite revocation store's rule checks move into the PostgreSQL store's test (someone else, no iat, redelivery, foreign subject, bad `valid_after`, wrong type).
- The delivery-worker test's inbox runs on PGlite.

Also: README, CHANGELOG, STATUS, `SDK_VERSION`, the browser bundle and ESM entries regenerated.

The full suite (`ov test --all`): 62 files green.

This commit has no diff to show.