Forkbase 0.9.0
API fixes: GET /agents/v1/events pages by (created_at, id), so events made in the same millisecond are neither skipped nor repeated; each page…
- API fixes:
GET /agents/v1/eventspages by(created_at, id), so events made in the same millisecond are neither skipped nor repeated; each page returnsnext, the cursor to pass asafter(a bare time in ms still works). A function deploy (POST /jobs/v1/functions) takes bodies up to 8 MB, so the 5 MB limit on its files answers with its own error instead of axum's 2 MB one. MCP'spropose_runandpropose()in the TypeScript and Python SDKs answerconflictonly for a real conflict; a run already decided answers its status now withcode: "not_open", and other refusals are errors. Storage listings (POST /storage/v1/object/list/{bucket}) group folders, order and page in the database, so a prefix with more than 10,000 files lists every folder and file, in order. - MFA enroll's
totp.qr_codestays the raw SVG, exactly as Supabase's auth server (GoTrue) answers it; supabase-js (and supabase-py, supabase_flutter) turn it into adata:image/svg+xml;utf-8,data URL for<img src>. Not a format change: an end-to-end test now runs supabase-js's ownauth.mfa.enroll()in both database modes and checks the prefix appears once, and the auth docs say who adds it. - Actions no longer wait 5 minutes after a database error. When a merge releases an effect (
NOTIFY ON MERGE), the worker that turns it into an action claimed it for 5 minutes; if the database failed while it was being kept, the whole batch stayed claimed and hidden for those 5 minutes, logged only at debug. Now each effect that can't be kept goes back to the engine's outbox at once (RETRY OUTBOX) and is kept on the next pass, about 2 s later, while the rest of the batch goes on; the claim lasts 1 minute, and each failure is a warning. This was the cause of the intermittenttools_on_postgresandgateway_on_postgrestimeouts in full test runs. - Dashboard fixes, each checked in both database modes. Approvals lists past 500 runs: the held inbox loads every held run, the other tabs load 500 at a time with "Load more", and the counts and "merged on policy alone" come from the server over every run (
GET /agents/v1/runs?before=<run id>pages newest first by(created_at, id)and answersnext;/platform/v1/projecthascounts.runs, each status andby_policy). The table editor keeps integers past 2^53 (and long decimals) inside JSON, jsonb and array cells exact when it shows, copies, exports and writes them back, and still sends only the fields that were edited. Generated columns are read-only in the table editor, row form and CSV import (/platform/v1/tablesmarks themgenerated, fromis_generated, on Postgres and on the Chronos engine). Logs' agent events load past 1,000: from the range's start, a page at a time with an advancingaftercursor (the events API's(created_at, id)next), then the new ones every 5 s. Storage drops a folder listing that answers after another folder opened, so a slow listing no longer replaces the folder on screen. - Vault key rotation. Keys have an id and a status (active, retiring, retired; migration 33), and
POST /platform/v1/vault/keys/rotate(admins and the service key), the dashboard's Rotate key button on the Vault page, orforkbase vault rotatemake a new active key and seal every secret again with it in the background, 100 at a time, then retire the old key and overwrite its material. Reads keep working throughout (each secret opens with its own key), new values go to the new key, and a rotation stopped by a crash carries on at the next start.GET /platform/v1/vault/keysandforkbase vault keysshow each key's secrets and the progress. Tested in both database modes. - Version graph fields: the server now gives what the dashboard's version graph guessed. Each run, listed or alone, has
held_at,merged_atandundone_atfrom its events (and itsmode, as before);/platform/v1/projecthascreated_at; a migration merged from a dev branch keepsmerged_from(the branch) andapplied_by(who merged it, a member's email orservice_role, also for migrations pushed by a member, which kept the raw member header); a branch hasmerged_atandmerges; deleted branches stay listed underdeletedinGET /platform/v1/brancheswithdeleted_atanddeleted_by. Main keeps its branches' history inforkbase.branch_log(migration 0034). The graph reads these instead of scanning up to 20,000 events and matching migrations by checksum, and shows deleted branches, crossed out where they were deleted, and trial runs as trials. - Projects, the rest. Realtime's WebSocket works through
/p/<name>(and a dev branch's/b/<name>), with the host's service key or the project's own keys, so supabase-js subscribes to a project at its URL. A member can have another role in a project, or no access to it, which also hides it from their list (Settings, Team, orPUT /platform/v1/members/{id}/projects);/platform/v1/melists those roles. A project can have a domain of its own, which the main server routes to it, and a port of its own (a project's Settings on Settings, Projects,PATCH /platform/v1/projects/{name}, orforkbase project set). A project moves between installs with Export and Import (forkbase project export|import, admins only): a.tar.gzof its folder (data, storage, keys, secrets) and, on Postgres, apg_dumpof its database; its tables, files and auth users come with it, and its API keys are new at its new URL. Migration 35 addsforkbase.member_projects. - Realtime's
postgres_changesmessages also carryrecordandold_record, which supabase-js reads: its callbacks'payload.newheld{}before. (newandoldstay.) supabase-js 2.120 and later ask for realtime protocol 2.0.0 unless givenrealtime: { vsn: "1.0.0" }; Forkbase speaks 1.0.0. - The sign-in page no longer shows the key form for a moment before the email and password form.