v0.8.0
A callable claim coordination namespace and bring-your-own-database support
via a new databaseUrl option.
Minor Changes
-
Callable
claimcoordination namespace. Taking a claim and inspecting its state now live under one accessor:claim(id, work)acquires a claim and runsworkwhile it’s held, andclaim.state(id),claim.queue(id),claim.release(id), andclaim.reorder(id, order)cover the surrounding lifecycle. The README leads with the problem (who is allowed to act, and in what order) and the Quick Start now demonstratesclaimdirectly. -
Bring-your-own-database via
databaseUrl. Point a project at your own Postgres withAblo({ schema, apiKey, databaseUrl }). Ablo writes synced rows back into your database, so your data stays canonical. Server-side only; defaults toprocess.env.DATABASE_URL. See the data-sources guide for setup and role requirements.
Breaking
-
The flat coordination methods
claimState,queue,release, andreorderare removed in favor of theclaimnamespace above.- await ablo.task.claimState(id) - await ablo.task.release(id) + await ablo.task.claim.state(id) + await ablo.task.claim.release(id)