@quickback-dev/cli 0.70.25 → 0.70.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import pc from "picocolors";
12
12
  // Version injected at build time by scripts/inject-version.ts
13
- const CLI_VERSION = "0.70.25";
13
+ const CLI_VERSION = "0.70.26";
14
14
  function getPackageVersion() {
15
15
  return CLI_VERSION;
16
16
  }
@@ -29,7 +29,7 @@ The write chokepoint (the audit-wrapped `db`) sends one frame per (organization,
29
29
  - **After commit.** Inside `db.transaction()` the frames wait for the commit and are dropped on rollback. Outside a transaction each statement has already committed when its frame is sent.
30
30
  - **Audience.** `access.roles` (expanded through `auth.roleHierarchy`) becomes the frame's `targetRoles`, in the caller's active organization. A cron or queue write has no active organization, so the frame goes to the `organizationId` of the written rows — which requires `.returning()`; without it there are no rows to read and no frame.
31
31
  - **Coverage.** Every write through the wrapped `db`: CRUD routes, actions, cron, queue, and email handlers. Raw SQL and writes through an unwrapped handle send nothing — use the counter to catch those.
32
- - **Best-effort.** A failed send never fails the write.
32
+ - **Best-effort, but delivered.** A failed send never fails the write. The send is registered with `waitUntil` (from `cloudflare:workers`), so it finishes after the response is returned instead of being cancelled. This applies to fetch, queue and scheduled handlers alike.
33
33
 
34
34
  `table` is the SQL table name — the same name trigger handlers receive.
35
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quickback-dev/cli",
3
- "version": "0.70.25",
3
+ "version": "0.70.26",
4
4
  "description": "CLI for Quickback — define your backend in TypeScript, compile to a fully wired Cloudflare Worker (or Bun / Node) with auth, database, migrations, security, CMS, and Account UI.",
5
5
  "author": "Kardoe Incorporated <paul@kardoe.com>",
6
6
  "license": "MIT",
@@ -29,7 +29,7 @@ The write chokepoint (the audit-wrapped `db`) sends one frame per (organization,
29
29
  - **After commit.** Inside `db.transaction()` the frames wait for the commit and are dropped on rollback. Outside a transaction each statement has already committed when its frame is sent.
30
30
  - **Audience.** `access.roles` (expanded through `auth.roleHierarchy`) becomes the frame's `targetRoles`, in the caller's active organization. A cron or queue write has no active organization, so the frame goes to the `organizationId` of the written rows — which requires `.returning()`; without it there are no rows to read and no frame.
31
31
  - **Coverage.** Every write through the wrapped `db`: CRUD routes, actions, cron, queue, and email handlers. Raw SQL and writes through an unwrapped handle send nothing — use the counter to catch those.
32
- - **Best-effort.** A failed send never fails the write.
32
+ - **Best-effort, but delivered.** A failed send never fails the write. The send is registered with `waitUntil` (from `cloudflare:workers`), so it finishes after the response is returned instead of being cancelled. This applies to fetch, queue and scheduled handlers alike.
33
33
 
34
34
  `table` is the SQL table name — the same name trigger handlers receive.
35
35