@quickback-dev/cli 0.34.3 → 0.38.0
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/docs/content.d.ts.map +1 -1
- package/dist/docs/content.js +35 -5
- package/dist/docs/content.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/skill/SKILL.md +3 -3
- package/dist/skill/agents/quickback-specialist/AGENT.md +3 -3
- package/dist/skill/docs/changelog.md +442 -0
- package/dist/skill/docs/compiler/definitions/arrows.md +269 -0
- package/dist/skill/docs/compiler/definitions/diagnostics.md +136 -0
- package/dist/skill/docs/compiler/definitions/feature.md +3 -3
- package/dist/skill/docs/compiler/definitions/fga.md +314 -0
- package/dist/skill/docs/compiler/definitions/firewall.md +93 -6
- package/dist/skill/docs/compiler/definitions/permissions.md +145 -0
- package/dist/skill/docs/compiler/definitions/scopes.md +339 -0
- package/dist/skill/docs/compiler/definitions/views.md +66 -0
- package/dist/skill/docs/stack/realtime/durable-objects.md +43 -0
- package/dist/skill/docs/stack/realtime/live-views.md +168 -0
- package/dist/skill/docs/stack/realtime/partyserver-rooms.md +22 -2
- package/package.json +1 -1
- package/src/skill/SKILL.md +3 -3
- package/src/skill/agents/quickback-specialist/AGENT.md +3 -3
- package/src/skill/docs/changelog.md +442 -0
- package/src/skill/docs/compiler/definitions/arrows.md +269 -0
- package/src/skill/docs/compiler/definitions/diagnostics.md +136 -0
- package/src/skill/docs/compiler/definitions/feature.md +3 -3
- package/src/skill/docs/compiler/definitions/fga.md +314 -0
- package/src/skill/docs/compiler/definitions/firewall.md +93 -6
- package/src/skill/docs/compiler/definitions/permissions.md +145 -0
- package/src/skill/docs/compiler/definitions/scopes.md +339 -0
- package/src/skill/docs/compiler/definitions/views.md +66 -0
- package/src/skill/docs/stack/realtime/durable-objects.md +43 -0
- package/src/skill/docs/stack/realtime/live-views.md +168 -0
- package/src/skill/docs/stack/realtime/partyserver-rooms.md +22 -2
package/dist/docs/content.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../src/docs/content.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,0DAA0D;AAO1D,MAAM,CAAC,MAAM,IAAI,GAA6B;IAC5C,WAAW,EAAE;QACX,OAAO,EAAE,WAAW;QACpB,SAAS,EAAE,umoIAAumoI;KACnnoI;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,oBAAoB;QAC7B,SAAS,EAAE,giRAAgiR;KAC5iR;IACD,wCAAwC,EAAE;QACxC,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,2nEAA2nE;KACvoE;IACD,6BAA6B,EAAE;QAC7B,OAAO,EAAE,eAAe;QACxB,SAAS,EAAE,ypSAAypS;KACrqS;IACD,mCAAmC,EAAE;QACnC,OAAO,EAAE,WAAW;QACpB,SAAS,EAAE,iuGAAiuG;KAC7uG;IACD,yBAAyB,EAAE;QACzB,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,4kFAA4kF;KACxlF;IACD,wCAAwC,EAAE;QACxC,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,+tFAA+tF;KAC3uF;IACD,yCAAyC,EAAE;QACzC,OAAO,EAAE,iBAAiB;QAC1B,SAAS,EAAE,k/DAAk/D;KAC9/D;IACD,wBAAwB,EAAE;QACxB,OAAO,EAAE,oBAAoB;QAC7B,SAAS,EAAE,w+MAAw+M;KACp/M;IACD,sBAAsB,EAAE;QACtB,OAAO,EAAE,YAAY;QACrB,SAAS,EAAE,sqPAAsqP;KAClrP;IACD,0BAA0B,EAAE;QAC1B,OAAO,EAAE,iBAAiB;QAC1B,SAAS,EAAE,yjQAAyjQ;KACrkQ;IACD,yBAAyB,EAAE;QACzB,OAAO,EAAE,2BAA2B;QACpC,SAAS,EAAE,0wTAA0wT;KACtxT;IACD,iBAAiB,EAAE;QACjB,OAAO,EAAE,eAAe;QACxB,SAAS,EAAE,yiyBAAyiyB;KACrjyB;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sDAAsD;IACtD,mDAAmD;IACnD,kBAAkB;IAClB,0BAA0B;IAC1B,OAAO;IACP,gCAAgC;IAChC,wCAAwC;IACxC,iCAAiC;IACjC,oCAAoC;IACpC,mCAAmC;IACnC,yCAAyC;IACzC,2BAA2B;IAC3B,yCAAyC;IACzC,oCAAoC;IACpC,wCAAwC;IACxC,oCAAoC;IACpC,wBAAwB;IACxB,kBAAkB;IAClB,iCAAiC;IACjC,qBAAqB;IACrB,wBAAwB;IACxB,YAAY;IACZ,6BAA6B;IAC7B,+BAA+B;IAC/B,4BAA4B;IAC5B,4BAA4B;IAC5B,+BAA+B;IAC/B,oBAAoB;IACpB,sCAAsC;IACtC,qBAAqB;IACrB,uBAAuB;IACvB,mBAAmB;IACnB,sBAAsB;IACtB,sBAAsB;IACtB,qBAAqB;IACrB,WAAW;IACX,0BAA0B;IAC1B,iBAAiB;IACjB,0BAA0B;IAC1B,yBAAyB;IACzB,2BAA2B;IAC3B,oBAAoB;IACpB,uBAAuB;IACvB,OAAO;IACP,uBAAuB;IACvB,cAAc;IACd,2BAA2B;IAC3B,gCAAgC;IAChC,gBAAgB;IAChB,2BAA2B;IAC3B,kCAAkC;IAClC,+BAA+B;IAC/B,eAAe;IACf,kBAAkB;IAClB,kBAAkB;IAClB,wBAAwB;IACxB,wBAAwB;IACxB,yBAAyB;IACzB,cAAc;IACd,+BAA+B;IAC/B,wBAAwB;IACxB,gBAAgB;IAChB,yBAAyB;CAC1B,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/skill/SKILL.md
CHANGED
|
@@ -119,7 +119,7 @@ export default feature("todos", {
|
|
|
119
119
|
// quickback/features/todos/actions/complete.ts
|
|
120
120
|
import { z } from "zod";
|
|
121
121
|
import { defineAction } from "../.quickback/define-action";
|
|
122
|
-
import todos from "../todos";
|
|
122
|
+
import { todos } from "../todos";
|
|
123
123
|
|
|
124
124
|
export default defineAction({
|
|
125
125
|
description: "Mark todo as complete",
|
|
@@ -128,9 +128,9 @@ export default defineAction({
|
|
|
128
128
|
roles: ["member", "admin"],
|
|
129
129
|
record: { completed: { equals: false } },
|
|
130
130
|
},
|
|
131
|
-
async execute({ db, record, whereRecord
|
|
131
|
+
async execute({ db, record, whereRecord }) {
|
|
132
132
|
await db.update(todos)
|
|
133
|
-
.set({ completed: true
|
|
133
|
+
.set({ completed: true })
|
|
134
134
|
.where(whereRecord!(todos));
|
|
135
135
|
return { success: true };
|
|
136
136
|
},
|
|
@@ -97,7 +97,7 @@ One file per action under `actions/<name>.ts`. The filename (sans `.ts`) is the
|
|
|
97
97
|
// quickback/features/todos/actions/complete.ts
|
|
98
98
|
import { z } from "zod";
|
|
99
99
|
import { defineAction } from "../.quickback/define-action";
|
|
100
|
-
import todos from "../todos"; //
|
|
100
|
+
import { todos } from "../todos"; // named import: feature() re-exports each table
|
|
101
101
|
|
|
102
102
|
export default defineAction({
|
|
103
103
|
description: "Mark todo as complete",
|
|
@@ -108,9 +108,9 @@ export default defineAction({
|
|
|
108
108
|
roles: ["member", "admin"],
|
|
109
109
|
record: { completed: { equals: false } },
|
|
110
110
|
},
|
|
111
|
-
async execute({ db, record, whereRecord
|
|
111
|
+
async execute({ db, record, whereRecord }) {
|
|
112
112
|
await db.update(todos)
|
|
113
|
-
.set({ completed: true
|
|
113
|
+
.set({ completed: true })
|
|
114
114
|
.where(whereRecord!(todos));
|
|
115
115
|
return { success: true };
|
|
116
116
|
},
|
|
@@ -1,5 +1,447 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.38.0 — May 26, 2026
|
|
4
|
+
|
|
5
|
+
**Per-matched-lane authorization** for multi-lane namespaces — across both the
|
|
6
|
+
REST scope refresh/mint and the realtime ws-ticket. A namespace gated by several
|
|
7
|
+
`via:` lanes (attendees *or* organizers *or* contractors *or* org admins) now
|
|
8
|
+
confers the scope role of **whichever lane the caller actually matched**, instead
|
|
9
|
+
of suppressing the grant. This retires the v0.37.0 single-conferring-lane
|
|
10
|
+
limitation.
|
|
11
|
+
|
|
12
|
+
### Scope refresh & `mintScope` — per matched lane
|
|
13
|
+
|
|
14
|
+
A **multi-lane `via:`** now refreshes and mints the matched lane's role:
|
|
15
|
+
`attendeeOf` → `scope.event.roles = ['attendee']`, `organizerOf` → `['organizer']`.
|
|
16
|
+
The resolver records which lane opened the gate (first-match-wins), so a caller
|
|
17
|
+
can only ever carry the role they proved this request. A **bulk-grant lane**
|
|
18
|
+
(`{ roles: [...] }` / `{ team: true }`) still confers **no** scope role — it
|
|
19
|
+
authorizes via the caller's org role, with nothing to stamp. Previously any
|
|
20
|
+
multi-lane / bulk / mixed `via:` suppressed the stamp and mint entirely; that
|
|
21
|
+
restriction is lifted. See [Scopes](/compiler/definitions/scopes#mintscope-mint-the-scope-token-from-the-namespace-resolver).
|
|
22
|
+
|
|
23
|
+
### Namespace-backed ws-ticket — realtime, per matched lane
|
|
24
|
+
|
|
25
|
+
`realtime.wsTicket` accepts a **`namespace`** reference, so the
|
|
26
|
+
`/broadcast/v1/ws-ticket` route authorizes through that namespace's full
|
|
27
|
+
multi-lane `via:` and issues a per-matched-lane WebSocket ticket — the socket
|
|
28
|
+
gate and the REST gate stay identical, from a single source of truth.
|
|
29
|
+
|
|
30
|
+
```typescript
|
|
31
|
+
realtime: {
|
|
32
|
+
wsTicket: { namespace: "eventScope", requestField: "eventId", scopeTable: "events" },
|
|
33
|
+
},
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
An attendee gets an `attendee` ticket, an organizer an `organizer` ticket, and an
|
|
37
|
+
org admin who reaches the room through the bulk lane now gets a ticket scoped to
|
|
38
|
+
their org/membership roles — closing the gap where the single-`role` form `403`'d
|
|
39
|
+
a legitimate admin and left their realtime socket dead.
|
|
40
|
+
|
|
41
|
+
**Tenant-bound, fail-closed.** Before minting, the route loads the `scopeTable`
|
|
42
|
+
row through *its own firewall*, so a ticket can only target a room whose resource
|
|
43
|
+
resolves under the caller's tenant — an org-A admin requesting an org-B `eventId`
|
|
44
|
+
gets `403`, never a cross-tenant socket. Because the room *is* the data (no
|
|
45
|
+
firewall sits between a ticket and a Durable Object room), the compiler **rejects
|
|
46
|
+
at build time** a namespace-backed `wsTicket` whose `scopeTable` isn't
|
|
47
|
+
tenant-scoped (`firewall: { exception: true }` or a literal-only firewall with no
|
|
48
|
+
org/owner/team isolation). See
|
|
49
|
+
[Realtime tickets](/stack/realtime/durable-objects#namespace-backed-tickets-per-matched-lane).
|
|
50
|
+
|
|
51
|
+
## v0.37.0 — May 26, 2026
|
|
52
|
+
|
|
53
|
+
The **authz-as-compile-target** roadmap ships. Your authorization model —
|
|
54
|
+
relationships, named permissions, FK-traversal arrows, scope axes — compiles
|
|
55
|
+
into one normalized policy IR, lowers to SQL `WHERE` clauses / signed claims /
|
|
56
|
+
guards, and is checked by a static analyzer before a single route is emitted.
|
|
57
|
+
This release lands milestones M0.1, M0.3, M1, M2, and M4, plus §5.3 namespace
|
|
58
|
+
scope-minting.
|
|
59
|
+
|
|
60
|
+
### Named permissions (`authz.permissions`) — M1
|
|
61
|
+
|
|
62
|
+
A `via:` arm references **one** relationship. When the *same* grant rule recurs
|
|
63
|
+
across resources — "organizer **or** confirmed attendee" — name it **once**
|
|
64
|
+
under `authz.permissions` as a boolean expression and reference it everywhere
|
|
65
|
+
with a `{ permission }` firewall arm.
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
authz: {
|
|
69
|
+
permissions: {
|
|
70
|
+
'event:view': { anyOf: ['organizerOf', 'attendeeOf'] },
|
|
71
|
+
'org:admin': { anyOf: [{ role: 'admin' }, { role: 'owner' }] },
|
|
72
|
+
},
|
|
73
|
+
}
|
|
74
|
+
// then on a resource:
|
|
75
|
+
// firewall: [ { field: 'eventId', permission: 'event:view' } ]
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
`anyOf` lowers to an OR of relationship subqueries, `allOf` to an AND, and a
|
|
79
|
+
`{ permissionRef }` inlines another permission's arms — byte-identical to
|
|
80
|
+
writing the `via:` arms by hand. The full DSL (`anyOf` / `allOf` / `not`, bare
|
|
81
|
+
strings, and the object-leaf escape hatch) is accepted so configs stay
|
|
82
|
+
forward-compatible; a firewall enforces the **SQL-pushable** subset (claim-site
|
|
83
|
+
leaves like `{ role }` / `{ scopeRole }` and `not` over a SQL site are rejected
|
|
84
|
+
at compile time — gate those on `access` instead). See
|
|
85
|
+
[Permissions](/compiler/definitions/permissions).
|
|
86
|
+
|
|
87
|
+
### FK-traversal arrows (`authz.arrows`) — M2
|
|
88
|
+
|
|
89
|
+
An **arrow** inherits authority across a foreign key: *"you can see this row
|
|
90
|
+
because you administer the organization it belongs to"*, or *"because you
|
|
91
|
+
control an ancestor in the tree."* Declare an FK hop, reference it from a
|
|
92
|
+
permission as `{ arrowRef, permission }`, and it lowers to SQL.
|
|
93
|
+
|
|
94
|
+
```typescript
|
|
95
|
+
authz: {
|
|
96
|
+
arrows: {
|
|
97
|
+
eventOrg: { from: 'event', fk: 'organizationId', to: 'organization' },
|
|
98
|
+
folderTree: { from: 'folder', fk: 'parentId', to: 'folder', recursive: true },
|
|
99
|
+
},
|
|
100
|
+
permissions: {
|
|
101
|
+
'event:view': { anyOf: ['organizerOf', { arrowRef: 'eventOrg', permission: 'org:admin' }] },
|
|
102
|
+
'folder:read': { anyOf: [{ arrowRef: 'folderTree', permission: 'org:admin' }] },
|
|
103
|
+
},
|
|
104
|
+
}
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
A single hop lowers to an FK-hop subquery; a self-referential hop
|
|
108
|
+
(`folder.parentId -> folder`) lowers to a **bounded `WITH RECURSIVE` CTE**
|
|
109
|
+
(default depth 8, override per-arrow with `maxDepth` or per-permission with
|
|
110
|
+
`permissionMaxDepth`). The seed and **every walked row** are re-constrained to
|
|
111
|
+
the caller's active-org claim, an absent claim fails closed (`1 = 0`), and the
|
|
112
|
+
identifiers are compile-time constants while the claim binds as a parameter —
|
|
113
|
+
so an arrow is never an injection surface. An `unbounded: true` arrow with no
|
|
114
|
+
claim path is a hard compile error. Valid on both D1 and Neon. See
|
|
115
|
+
[Arrows](/compiler/definitions/arrows).
|
|
116
|
+
|
|
117
|
+
### Compile-time authz analyzer + diagnostics — M4
|
|
118
|
+
|
|
119
|
+
The compiler now projects your whole authorization model into a single policy
|
|
120
|
+
IR and runs static checks over it, reporting on the existing
|
|
121
|
+
**`[quickback:authz]`** console channel with stable, greppable codes:
|
|
122
|
+
|
|
123
|
+
- `AUTHZ_EMPTY_PERMISSION` — a permission that can never be satisfied (e.g. `allOf(a, not(a))`).
|
|
124
|
+
- `AUTHZ_SHADOWED_ARM` — an `anyOf` arm subsumed by a broader sibling.
|
|
125
|
+
- `AUTHZ_UNREACHABLE_ROLE` / `AUTHZ_UNREACHABLE_VIEW` — dead scope config.
|
|
126
|
+
- `AUTHZ_NOT_OVER_RESOURCE` — a `not` over a SQL site (the null-trap).
|
|
127
|
+
- `AUTHZ_PUSHDOWN_COST` — an `info` report of each permission's subquery count and recursive-CTE depth.
|
|
128
|
+
- `AUTHZ_CAPABILITY_CEILING` — **error** — a resource grants a `scope:<kind>:<role>` read beyond its `grants` profile.
|
|
129
|
+
|
|
130
|
+
Checks are **warn-by-default, compile-continues** (so a new check never breaks
|
|
131
|
+
an existing build on upgrade); set **`QUICKBACK_AUTHZ_STRICT=true`** to promote
|
|
132
|
+
every warning to a hard error. The analyzer is compile-time only — a defect in
|
|
133
|
+
a check downgrades to a single warning in the default path and can never take
|
|
134
|
+
down an otherwise-valid compile. See
|
|
135
|
+
[Diagnostics](/compiler/definitions/diagnostics).
|
|
136
|
+
|
|
137
|
+
### Aggregate-only views — M0.1
|
|
138
|
+
|
|
139
|
+
A view can return a rollup and **nothing else** — no `data[]`, no per-row field
|
|
140
|
+
selection — via `aggregateOnly: true`, with an optional `kMin` k-anonymity floor
|
|
141
|
+
that suppresses the aggregate below a threshold. This is what lets an F&B vendor
|
|
142
|
+
read dietary **counts** for an event with zero attendee rows. See
|
|
143
|
+
[Views](/compiler/definitions/views).
|
|
144
|
+
|
|
145
|
+
### Scope leftovers — M0.3
|
|
146
|
+
|
|
147
|
+
The relationship-scope surface gains three pieces:
|
|
148
|
+
|
|
149
|
+
- **Namespace scope-claim refresh** — a namespace gating `/event/:eventId/*` on a single conferring relationship lane refreshes `ctx.scope.<kind>` in memory for the request, so an attendee hitting an action under the prefix gets the scoped role stamped without a separate `/scope/v1/enter` round-trip.
|
|
150
|
+
- **`q.scope()` autofill** — `q.scope('event')` auto-stamps a column from the verified scope claim (`ctx.scope.event.id`) on insert, the same way `q.scope('organization')` stamps the tenant column. Insert-only and null-safe; it adds no read-time `WHERE`.
|
|
151
|
+
- **Set-valued sub-keys** — a `subKeys` entry ending in `[]` (e.g. `'shuttleId[]'`) projects **every** matched relationship row's value into the claim as a `string[]`, and the matching firewall arm is rewritten to an `inArray` row-slice (a driver covering multiple buses). An absent claim lowers to `inArray(col, [])` — a clean deny.
|
|
152
|
+
|
|
153
|
+
See [Scopes & capability grants](/compiler/definitions/scopes).
|
|
154
|
+
|
|
155
|
+
### Namespace scope-minting (`mintScope`) — §5.3
|
|
156
|
+
|
|
157
|
+
A namespace can now MINT a persisted scope JWT from its resolver. Set
|
|
158
|
+
**`mintScope: true`** and, on a successful relationship probe, the resolver
|
|
159
|
+
returns a scope token via `set-auth-token` — so a native client hitting
|
|
160
|
+
`/event/:eventId/*` carries the scoped role forward **without** calling
|
|
161
|
+
`/scope/v1/enter`.
|
|
162
|
+
|
|
163
|
+
```typescript
|
|
164
|
+
authz: {
|
|
165
|
+
namespaces: {
|
|
166
|
+
eventScope: { prefix: '/event/:eventId', via: ['attendeeOf'], mintScope: true },
|
|
167
|
+
},
|
|
168
|
+
}
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
The mint fires **only** when `via:` confers exactly one scope role
|
|
172
|
+
unambiguously (a single conferring relationship lane); a multi-lane,
|
|
173
|
+
bulk-grant, or asymmetric `via:` **suppresses** the mint (fail-closed — those
|
|
174
|
+
callers use `/scope/v1/enter`). The token reuses the shared mint helper (TTL
|
|
175
|
+
clamped to ≤180s, sibling scope kinds carried forward) and the mint is
|
|
176
|
+
**best-effort** — a mint failure never fails the request, since the in-memory
|
|
177
|
+
stamp already authorized it. Opt-in per namespace; defaults to `false`. See
|
|
178
|
+
[Scopes — `mintScope`](/compiler/definitions/scopes#mintscope-mint-the-scope-token-from-the-namespace-resolver).
|
|
179
|
+
|
|
180
|
+
> **Gotcha:** a namespace emits its resolver — and thus the refresh and the
|
|
181
|
+
> mint — **only** when at least one *standalone* action's `path:` falls under
|
|
182
|
+
> the prefix. A namespace containing only record-based actions (which mount
|
|
183
|
+
> under their resource's CRUD routes, not the prefix) is **inert**. Add a
|
|
184
|
+
> standalone action like `eventHome` at `/event/:eventId/home`. See
|
|
185
|
+
> [Scopes — the resolver gotcha](/compiler/definitions/scopes#gotcha-a-namespace-only-emits-its-resolver-when-it-claims-a-standalone-action).
|
|
186
|
+
|
|
187
|
+
## v0.36.3 — May 25, 2026
|
|
188
|
+
|
|
189
|
+
### Fix: `/auth/v1/*` handler forwards `executionCtx` so OTP emails actually send
|
|
190
|
+
|
|
191
|
+
The generated `createAuth(env, cf?, executionCtx?)` schedules the fire-and-forget
|
|
192
|
+
verification-OTP send through `executionCtx.waitUntil(...)` — Better Auth advises
|
|
193
|
+
**not** awaiting the send so its latency doesn't leak into auth response timing.
|
|
194
|
+
That only works when `executionCtx` is passed. The composed Cloudflare worker
|
|
195
|
+
index emitted a **bare** `createAuth(c.env)` at the `app.all('/auth/v1/*')`
|
|
196
|
+
handler, so on Cloudflare the unawaited SES/SNS send was cancelled the moment the
|
|
197
|
+
handler returned — `send-verification-otp` returned 200 but no email went out.
|
|
198
|
+
|
|
199
|
+
The handler now threads `createAuth(c.env, c.req.raw.cf as any, c.executionCtx)`,
|
|
200
|
+
matching the action call-sites (`record-based`, `standalone`, `core/helpers`) and
|
|
201
|
+
the `getSession` call now passes the `cf` binding. (The earlier waitUntil fix had
|
|
202
|
+
only patched the legacy `providers/runtime` index emitter, not this composed one —
|
|
203
|
+
the two had drifted.) Recompile + redeploy to pick it up.
|
|
204
|
+
|
|
205
|
+
## v0.36.2 — May 25, 2026
|
|
206
|
+
|
|
207
|
+
Two firewall fixes uncovered in a relationship-scoped (event-attendee) project:
|
|
208
|
+
scoped reads stopped hiding rows behind a misclassified soft-delete column, and
|
|
209
|
+
the list route stopped rejecting org-optional callers before the firewall ran.
|
|
210
|
+
|
|
211
|
+
### Fix: a firewall `isNull` predicate on a non-`deletedAt` column no longer globalizes as soft-delete
|
|
212
|
+
|
|
213
|
+
The scoped `db` wrapper used by actions enforces soft-delete by injecting
|
|
214
|
+
`isNull(<col>)` into reads. It built its list of soft-delete columns by treating
|
|
215
|
+
**any** firewall `{ field, isNull: true }` predicate as a project-wide soft-delete
|
|
216
|
+
marker — so an `isNull` predicate on a foreign-key column (e.g.
|
|
217
|
+
`{ field: 'agendaItemId', isNull: true }`) was broadcast to **every** table that
|
|
218
|
+
merely had an `agendaItemId` column, rewriting scoped reads to
|
|
219
|
+
`agenda_item_id IS NULL`. Real rows (non-null FK) became invisible, so an action
|
|
220
|
+
that read-before-write saw "no row," attempted an insert, and 500'd on the
|
|
221
|
+
`(agenda_item_id, guest_id)` unique constraint.
|
|
222
|
+
|
|
223
|
+
Only `deletedAt` — the column the compiler injects into every table — now enters
|
|
224
|
+
the project-global soft-delete list. A custom `isNull` predicate is still enforced
|
|
225
|
+
**per-table** by that table's firewall (route layer); it is simply no longer
|
|
226
|
+
broadcast across the whole schema. This mirrors the v0.28 fix that made custom
|
|
227
|
+
owner columns per-table rather than global.
|
|
228
|
+
|
|
229
|
+
### Fix: list route no longer hard-requires an org when the firewall makes org optional
|
|
230
|
+
|
|
231
|
+
The generated CRUD **list** route emits an `ORG_REQUIRED` 400 (with a sysadmin
|
|
232
|
+
escape) before the firewall runs. It fired whenever an org scope appeared
|
|
233
|
+
**anywhere** in the firewall — including when org is just one arm of an `any:`
|
|
234
|
+
group. So after the relationship-scope migration made a firewall org-optional
|
|
235
|
+
(`any: [ { organizationId = ctx.activeOrgId }, { …via relationship } ]`), a
|
|
236
|
+
plain-JWT caller with no `activeOrgId` (e.g. an event attendee scoped by
|
|
237
|
+
relationship) got an instant 400 — the org-optional firewall that would have
|
|
238
|
+
scoped them correctly never even ran.
|
|
239
|
+
|
|
240
|
+
The gate now keys off org **mandatoriness** (`firewallRequiresOrg`): it fires
|
|
241
|
+
only when an org claim is genuinely required — a top-level (implicit-AND) or
|
|
242
|
+
`all`-nested org predicate. When org is one arm of an `any:` group, the list
|
|
243
|
+
route skips the 400 and lets the null-safe firewall scope the caller: the org
|
|
244
|
+
arm drops when `activeOrgId` is absent, sibling arms (relationship/owner) bind,
|
|
245
|
+
and `anyGuarded` denies (`1 = 0`) when every arm drops — so a no-org caller sees
|
|
246
|
+
exactly what the declared policy grants, never an unbounded cross-tenant read.
|
|
247
|
+
`?organizationId=` cross-tenant addressing and the sysadmin escape are unchanged,
|
|
248
|
+
and a plain org-scoped resource (no `any:` group) keeps the `ORG_REQUIRED` gate
|
|
249
|
+
byte-for-byte. Write paths (create / put / batch) still require an org so new
|
|
250
|
+
rows are always stamped with a tenant.
|
|
251
|
+
|
|
252
|
+
## v0.36.1 — May 25, 2026
|
|
253
|
+
|
|
254
|
+
Relationship-derived **scoped roles** — request-scoped authorization minted from
|
|
255
|
+
a verified relationship into a short-lived JWT.
|
|
256
|
+
|
|
257
|
+
### `authz.scopes` — scoped roles via a relationship probe
|
|
258
|
+
|
|
259
|
+
A new `authz.scopes` block turns a declared relationship into a request-scoped
|
|
260
|
+
role. Key the scope by a request field and back each role with a relationship:
|
|
261
|
+
|
|
262
|
+
```ts
|
|
263
|
+
authz: {
|
|
264
|
+
relationships: {
|
|
265
|
+
attendeeOf: {
|
|
266
|
+
from: 'guests',
|
|
267
|
+
subject: { column: 'userId', equals: 'ctx.userId' },
|
|
268
|
+
resource: { column: 'eventId' },
|
|
269
|
+
where: { status: 'confirmed' },
|
|
270
|
+
},
|
|
271
|
+
},
|
|
272
|
+
scopes: {
|
|
273
|
+
event: {
|
|
274
|
+
requestField: 'eventId',
|
|
275
|
+
roles: { attendee: { via: 'attendeeOf' } }, // shorthand: attendee: 'attendeeOf'
|
|
276
|
+
},
|
|
277
|
+
},
|
|
278
|
+
}
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
The compiler emits a `/scope/v1/enter` route that probes the relationship for the
|
|
282
|
+
caller ("is this user a confirmed guest of `eventId`?") and, on success, mints a
|
|
283
|
+
short-lived JWT carrying the verified scope. The auth middleware reads that claim
|
|
284
|
+
into `ctx.scope.<kind>` (e.g. `ctx.scope.event`).
|
|
285
|
+
|
|
286
|
+
Scoped roles then work everywhere roles do — `read.access`, view access,
|
|
287
|
+
`masking.show`, action access — as `scope:<kind>:<role>`, and the firewall can
|
|
288
|
+
scope rows by the verified id:
|
|
289
|
+
|
|
290
|
+
```ts
|
|
291
|
+
read: { access: { roles: ['admin', 'member', 'scope:event:attendee'] } },
|
|
292
|
+
masking: { email: { type: 'email', show: { roles: ['admin', 'scope:event:organizer'] } } },
|
|
293
|
+
firewall: { any: [
|
|
294
|
+
{ field: 'organizationId', equals: 'ctx.activeOrgId' },
|
|
295
|
+
{ field: 'eventId', equals: 'ctx.scope.event' },
|
|
296
|
+
] },
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
So an attendee who "enters" an event reads that event's guest list — the `eventId`
|
|
300
|
+
firewall arm matches their verified scope — with no org-membership role, and
|
|
301
|
+
`email` stays masked unless they hold `scope:event:organizer`.
|
|
302
|
+
|
|
303
|
+
### Scoped-role name sugar
|
|
304
|
+
|
|
305
|
+
Write the bare role name and the compiler lowers it to canonical
|
|
306
|
+
`scope:<kind>:<role>` when it resolves uniquely:
|
|
307
|
+
|
|
308
|
+
```ts
|
|
309
|
+
access: { roles: ['attendee'] } // → scope:event:attendee
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
Reserved names (`admin`, `member`, `owner`), pseudo-roles, and anything declared
|
|
313
|
+
in `authz.roles` are never rewritten. A bare name that's ambiguous across scopes
|
|
314
|
+
is a compile error pointing you to the explicit `scope:<kind>:<role>` form.
|
|
315
|
+
|
|
316
|
+
## v0.36.0 — May 25, 2026
|
|
317
|
+
|
|
318
|
+
Project-wide `id` generation now applies to every write path, action `db` is
|
|
319
|
+
typed on Cloudflare D1, and realtime rooms can be gated on a unique non-PK column.
|
|
320
|
+
|
|
321
|
+
### `id` default moves to the column (`$defaultFn`)
|
|
322
|
+
|
|
323
|
+
The configured `generateId` strategy now lands on the `id` column itself —
|
|
324
|
+
`id: text("id").primaryKey().$defaultFn(() => createId())` — not just inside the
|
|
325
|
+
auto-CRUD route handler. Previously a table with an explicit `text("id").primaryKey()`
|
|
326
|
+
kept a bare PK, so a hand-written action doing `db.insert(...).values({…})` got no
|
|
327
|
+
`id` and failed at runtime with a `NOT NULL` 500 — invisible to `tsc` because the
|
|
328
|
+
scoped `db` was `any`. The injector (which already did this for tables with no
|
|
329
|
+
declared PK) now also appends the strategy's `$defaultFn` to an explicit `id` PK.
|
|
330
|
+
`generateId: false` (client-supplied ids) and `serial`/integer PKs are left
|
|
331
|
+
untouched; the rewrite is idempotent. `$inferInsert` now marks `id` optional.
|
|
332
|
+
|
|
333
|
+
### Action `db` is typed on Cloudflare D1
|
|
334
|
+
|
|
335
|
+
The scoped `db` passed to custom actions is no longer `any`. On D1 projects the
|
|
336
|
+
per-feature `define-action` helper types it as a Drizzle client whose
|
|
337
|
+
`.insert().values()` makes the org/owner/team scope columns optional (the runtime
|
|
338
|
+
fills them from context), while every other column you declared stays required —
|
|
339
|
+
so `tsc` catches a forgotten column, typos, and wrong types, and query results
|
|
340
|
+
come back typed. Neon/Postgres keep `db: any` for now.
|
|
341
|
+
|
|
342
|
+
`ctx.userId` is also narrowed to `string` (not `string | undefined`) in actions
|
|
343
|
+
whose `access` requires authentication — so a trusted write like
|
|
344
|
+
`db.insert(t).values({ ownerId: ctx.userId })` type-checks without a cast.
|
|
345
|
+
Actions reachable anonymously (a `PUBLIC` arm, including inside `or`/`and`) keep
|
|
346
|
+
`ctx.userId` optional.
|
|
347
|
+
|
|
348
|
+
### `access.resource` gains an optional `key`
|
|
349
|
+
|
|
350
|
+
The per-room authorization gate (`bindings.durableObjects[].access`) always
|
|
351
|
+
matched the WebSocket roomId against the backing table's primary key —
|
|
352
|
+
`eq(table.id, rowId)`. Rooms addressed by a different unique column had no way
|
|
353
|
+
to use it: a Yjs collaborative editor keyed by `event_pages.yjsRoomId`
|
|
354
|
+
(`ns.idFromName(row.yjsRoomId)`) would never match on `id`, so projects dropped
|
|
355
|
+
the `access` block and hand-rolled enforcement in `onConnect` — or, more often,
|
|
356
|
+
shipped no row-level check at all, leaving the room reachable by any
|
|
357
|
+
authenticated user who could guess a room id.
|
|
358
|
+
|
|
359
|
+
The long form now accepts `key`:
|
|
360
|
+
|
|
361
|
+
```ts
|
|
362
|
+
access: { resource: { feature: 'event-pages', table: 'eventPages', key: 'yjsRoomId' } }
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
The gate emits `eq(table.<key>, rowId)` against the named column. `key` defaults
|
|
366
|
+
to `'id'`, so every existing pin is byte-for-byte unchanged, and it also works
|
|
367
|
+
inside each `resources[kind].resource` of the multi-resource form. The compiler
|
|
368
|
+
validates the column exists against the pinned table's schema at compile time.
|
|
369
|
+
|
|
370
|
+
The "multi-table feature is ambiguous" compile error now points at all three
|
|
371
|
+
escapes — the long-form pin, the `key` option for non-id rooms, and declaring
|
|
372
|
+
the table's firewall with a `via:` relationship so membership gating runs in the
|
|
373
|
+
gate with no hand-written `onConnect`. See
|
|
374
|
+
[PartyServer rooms → per-room authorization](/stack/realtime/partyserver-rooms).
|
|
375
|
+
|
|
376
|
+
## v0.35.0 — May 25, 2026
|
|
377
|
+
|
|
378
|
+
New **FGA pillar** — OpenFGA / Google Zanzibar Relationship-Based Access
|
|
379
|
+
Control (ReBAC), compiled into your Worker. Plus a public-sharing surface
|
|
380
|
+
(type-bound public access + signed share links) built on it.
|
|
381
|
+
|
|
382
|
+
### Relationship-based access control (`authz.fga`)
|
|
383
|
+
|
|
384
|
+
Role-based access and one-hop relationship joins can't express *graph-shaped*
|
|
385
|
+
permissions: an `editor` who is automatically a `viewer`, a document that
|
|
386
|
+
inherits viewers from its folder, a `team#member` group grant, or a per-record
|
|
387
|
+
assignment that doesn't require a global role. The new `authz.fga` block adds a
|
|
388
|
+
true ReBAC engine modeled on [OpenFGA](https://openfga.dev):
|
|
389
|
+
|
|
390
|
+
- **Model** — declare object types, relations, and userset rewrites in the
|
|
391
|
+
OpenFGA modeling DSL (`or` / `and` / `but not`, `[user:*]` public access,
|
|
392
|
+
`[team#member]` usersets, `viewer from parent` tuple-to-userset). The compiler
|
|
393
|
+
parses and semantically validates it at compile time — dangling type or
|
|
394
|
+
relation references fail the compile loudly.
|
|
395
|
+
- **Tuples** — stored in a compiler-owned, organization-scoped `fga_tuples`
|
|
396
|
+
table the compiler emits and migrates. A Check never reads another tenant's
|
|
397
|
+
tuples.
|
|
398
|
+
- **Check engine** — resolved entirely inside the Worker (no external auth
|
|
399
|
+
service): direct tuples, type-bound public access, userset subjects, computed
|
|
400
|
+
usersets, tuple-to-userset, request-scoped contextual tuples, with cycle
|
|
401
|
+
detection and a depth cap.
|
|
402
|
+
- **`ctx.fga`** — `check` / `listObjects` / `expand` / `write` / `read`,
|
|
403
|
+
org-scoped, available in every action and handler.
|
|
404
|
+
- **`access: { fga: { relation, object } }`** — a new declarative access arm.
|
|
405
|
+
The compiler fetches the record and emits an inline, fail-closed
|
|
406
|
+
`ctx.fga.check('user:' + ctx.userId, relation, object)` gate (`object` is a
|
|
407
|
+
`job:{id}` template over the record's columns).
|
|
408
|
+
- **Collection-level FGA filtering** — an `fga` arm on `read.access` (or a named
|
|
409
|
+
view) now filters the collection `GET /`, not just `GET /:id`. The compiler
|
|
410
|
+
resolves the caller's authorized object ids via the engine's `ListObjects` and
|
|
411
|
+
injects an `inArray(id, …)` into the list query, so pagination, `total`, and
|
|
412
|
+
`hasMore` stay correct. Supported shapes are bare `{ fga }`,
|
|
413
|
+
`or:[{ roles }, { fga }]`, and `and:[{ roles }, { fga }]`; deeper nesting is a
|
|
414
|
+
compile error. The authorized set is bounded by `authz.fga.listObjects.maxIds`
|
|
415
|
+
(default 1000) — past the cap the request fails with a hard 422
|
|
416
|
+
(`FGA_LIST_TOO_LARGE`) pointing to `POST /fga/v1/list-objects` for paginated
|
|
417
|
+
enumeration.
|
|
418
|
+
- **REST API** — an OpenFGA-compatible surface at `/api/v1/fga/v1`
|
|
419
|
+
(`check`, `list-objects`, `expand`, `read`, `write`), tenant-scoped; writes
|
|
420
|
+
gated by `authz.fga.writeRoles` (default `['admin']`).
|
|
421
|
+
|
|
422
|
+
### Public sharing
|
|
423
|
+
|
|
424
|
+
`authz.fga.sharing` turns the FGA engine into a public-sharing mechanism:
|
|
425
|
+
|
|
426
|
+
- **Type-bound public access** — a model relation listing `user:*` becomes
|
|
427
|
+
shareable-to-everyone by writing one tuple.
|
|
428
|
+
- **Signed share links** — `POST /api/v1/fga/v1/share` mints an HMAC-signed,
|
|
429
|
+
opaque token for one `(object, relation)` grant; `GET /share/v1/:token` is a
|
|
430
|
+
**public, unauthenticated** route that verifies the token and returns a
|
|
431
|
+
configured public projection of the object (it leaks nothing beyond that
|
|
432
|
+
object + relation).
|
|
433
|
+
- **Share URL** — both a dedicated route (`/share/v1/:token`, always mounted)
|
|
434
|
+
and an optional vanity base URL (`share.<your-domain>`, added to your runtime
|
|
435
|
+
routes) are supported.
|
|
436
|
+
|
|
437
|
+
### q-recruit showcase
|
|
438
|
+
|
|
439
|
+
The recruitment example now models `organization → job → application/interview`
|
|
440
|
+
with FGA: a `recruiter` is automatically a `viewer` and `can_manage` of a job,
|
|
441
|
+
applications inherit viewers from their job, and a job can be made publicly
|
|
442
|
+
shareable. New `assign-recruiter` and `make-public` actions demonstrate
|
|
443
|
+
`ctx.fga.write`, and `jobs.update` gates on `{ or: [{ roles }, { fga }] }`.
|
|
444
|
+
|
|
3
445
|
## v0.34.1 — May 24, 2026
|
|
4
446
|
|
|
5
447
|
Patch fixing a silent-skip bug in drizzle migration emission, plus a new
|