@cosmicdrift/kumiko-bundled-features 0.4.1 → 0.5.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/CHANGELOG.md +46 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,51 @@
|
|
|
1
1
|
# @cosmicdrift/kumiko-bundled-features
|
|
2
2
|
|
|
3
|
+
## 0.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 7ff69ab: feat(es-ops): Phase 1 — file-based seed-migrations
|
|
8
|
+
|
|
9
|
+
Neues first-class Operations-Pattern fürs Framework. Liefert `seed-migrations`
|
|
10
|
+
als drizzle-migrate-equivalent für Event-Sourcing-Aggregate-Updates die
|
|
11
|
+
idempotent-Seeder nicht erfassen können (z.B. „Member hat schon eine
|
|
12
|
+
Rolle, aber jetzt soll noch eine dazukommen").
|
|
13
|
+
|
|
14
|
+
Public-API:
|
|
15
|
+
|
|
16
|
+
- `runProdApp({ seedsDir })` — Auto-apply pending Migrations beim Boot
|
|
17
|
+
- `SeedMigration`-Interface (default-Export einer `seeds/<id>.ts`-File)
|
|
18
|
+
- `SeedMigrationContext` mit `systemWriteAs` (ruft existing write-handler
|
|
19
|
+
als System-User) + Read-Helpers (`findUserByEmail`,
|
|
20
|
+
`findMembershipsOfUser`, `findTenants`)
|
|
21
|
+
- CLI: `bunx kumiko ops seed:new|status|apply`
|
|
22
|
+
- Tracking-Table `kumiko_es_operations` mit `operation_type`-Discriminator
|
|
23
|
+
(vorbereitet auf Phase 2+ Operations: projection-rebuild, event-replay,
|
|
24
|
+
stream-migration, ...)
|
|
25
|
+
- Env-Flags: `KUMIKO_SKIP_ES_OPS=1` (alle skippen für Recovery),
|
|
26
|
+
`KUMIKO_SKIP_ES_OPS_<ID>=1` (einzelne kaputte skippen)
|
|
27
|
+
|
|
28
|
+
Garantien: single-run via tracking, atomic via per-migration-Tx,
|
|
29
|
+
chronological order via filename-prefix, fail-stop bei Failure (kein
|
|
30
|
+
Partial-Apply), ES-konform via Handler-Dispatch.
|
|
31
|
+
|
|
32
|
+
Sub-path-Export: `@cosmicdrift/kumiko-framework/es-ops`
|
|
33
|
+
|
|
34
|
+
Plan-Doc: `kumiko-platform/docs/plans/features/es-ops.md`
|
|
35
|
+
Recipe: `samples/recipes/seed-migration/`
|
|
36
|
+
Driver-Use-Case: publicstatus admin-roles-drift (parallel-Branch
|
|
37
|
+
`feat/es-ops-driver-admin-roles`).
|
|
38
|
+
|
|
39
|
+
Phase 2+ skizziert + offen markiert — Implementation pro Use-Case.
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- Updated dependencies [7ff69ab]
|
|
44
|
+
- @cosmicdrift/kumiko-framework@0.5.0
|
|
45
|
+
- @cosmicdrift/kumiko-dispatcher-live@0.5.0
|
|
46
|
+
- @cosmicdrift/kumiko-renderer@0.5.0
|
|
47
|
+
- @cosmicdrift/kumiko-renderer-web@0.5.0
|
|
48
|
+
|
|
3
49
|
## 0.4.1
|
|
4
50
|
|
|
5
51
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-bundled-features",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Built-in features — tenant, user, auth, delivery. The stuff you'd rewrite anyway, already typed.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -74,10 +74,10 @@
|
|
|
74
74
|
"@aws-sdk/client-s3": "^3.1045.0",
|
|
75
75
|
"@aws-sdk/lib-storage": "^3.1045.0",
|
|
76
76
|
"@aws-sdk/s3-request-presigner": "^3.1045.0",
|
|
77
|
-
"@cosmicdrift/kumiko-dispatcher-live": "0.
|
|
78
|
-
"@cosmicdrift/kumiko-framework": "0.
|
|
79
|
-
"@cosmicdrift/kumiko-renderer": "0.
|
|
80
|
-
"@cosmicdrift/kumiko-renderer-web": "0.
|
|
77
|
+
"@cosmicdrift/kumiko-dispatcher-live": "0.5.0",
|
|
78
|
+
"@cosmicdrift/kumiko-framework": "0.5.0",
|
|
79
|
+
"@cosmicdrift/kumiko-renderer": "0.5.0",
|
|
80
|
+
"@cosmicdrift/kumiko-renderer-web": "0.5.0",
|
|
81
81
|
"@mollie/api-client": "^4.5.0",
|
|
82
82
|
"@node-rs/argon2": "^2.0.2",
|
|
83
83
|
"@types/nodemailer": "^8.0.0",
|