@authorbot/domain 0.1.36 → 0.1.37

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -9,6 +9,24 @@ Every published package shares this version. A tag builds, tests, and publishes
9
9
  all of them together, so `@authorbot/cli@0.1.15` and `@authorbot/api@0.1.15` are
10
10
  always the same commit.
11
11
 
12
+ ## 0.1.37
13
+
14
+ - **Cloudflare D1 can now apply the Phase 3B capability backfill.** The 0.1.36
15
+ form of migration `0013_phase11_capabilities_backfill.sql` used compound
16
+ `UNION ALL` projections inside a persistent compatibility view. Each catalog
17
+ exceeded D1's five-term compound-select limit, so upgraded books stopped
18
+ safely before deploying the new Worker. The corrected pending migration now
19
+ uses compact `VALUES` lookup tables while preserving the exact scope
20
+ sanitation, capability ordering, audit trail, and rollback guard
21
+ while staying within D1's limit. A Wrangler-backed regression applies the
22
+ complete migration chain in the same local D1 runtime used by Cloudflare's
23
+ tooling so this class of failure is caught before release.
24
+ - Version 0.1.36 is superseded by this hotfix. Books whose 0.1.36 publish
25
+ stopped at migration 0013 can upgrade normally to 0.1.37; Wrangler did not
26
+ record the failed migration, so the corrected file is applied on the next
27
+ publish before deployment. This release adds no new migration filename and
28
+ no book-format migration.
29
+
12
30
  ## 0.1.36
13
31
 
14
32
  - **Legacy agent-token rows now have a canonical capability projection.** D1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authorbot/domain",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "description": "Pure domain logic for Authorbot: role/scope authorization, annotation and Git-operation state machines, command validators, and token/session value rules (Phase 2 contract section 3)",
5
5
  "keywords": [
6
6
  "authorbot",
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "dependencies": {
42
42
  "zod": "^4.0.0",
43
- "@authorbot/schemas": "0.1.36"
43
+ "@authorbot/schemas": "0.1.37"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/node": "^22.0.0",