@cosmicdrift/kumiko-dispatcher-live 0.4.0 → 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 +72 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,77 @@
|
|
|
1
1
|
# @cosmicdrift/kumiko-dispatcher-live
|
|
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-headless@0.5.0
|
|
45
|
+
|
|
46
|
+
## 0.4.1
|
|
47
|
+
|
|
48
|
+
### Patch Changes
|
|
49
|
+
|
|
50
|
+
- 010b410: feat(auth-email-password): "Bestätigungs-Mail erneut senden" im LoginScreen
|
|
51
|
+
|
|
52
|
+
LoginScreen bietet bei reason=email_not_verified jetzt einen Resend-Link
|
|
53
|
+
im Fehler-Banner — der existierende `requestEmailVerification`-Endpoint
|
|
54
|
+
wird direkt aufgerufen, der Banner wechselt nach Erfolg zum Info-Variant
|
|
55
|
+
("Wir haben dir eine neue Bestätigungs-Mail geschickt.").
|
|
56
|
+
|
|
57
|
+
UX-Details:
|
|
58
|
+
|
|
59
|
+
- Bei 429 → inline-Hint "Bitte warte kurz und versuche es erneut."
|
|
60
|
+
- Bei Netzwerk/sonstigen Fehlern → inline-Hint "Konnte nicht senden."
|
|
61
|
+
- Anti-Typo-Gate: ändert der User die Email-Eingabe nach dem Login-Fail,
|
|
62
|
+
verschwindet der Resend-Link — sonst würde Resend silent-success an die
|
|
63
|
+
geänderte (potentiell typoed) Adresse gehen ohne User-Feedback.
|
|
64
|
+
- Andere Failure-Codes (invalid_credentials etc.) zeigen weiterhin keinen
|
|
65
|
+
Resend-Link.
|
|
66
|
+
|
|
67
|
+
i18n: 4 neue Keys (DE+EN) im `auth.login.resend*`-Namespace, additive.
|
|
68
|
+
Apps die ihre Translations override-en müssen nichts ändern.
|
|
69
|
+
|
|
70
|
+
Additive UI-Feature — keine API-Breaks, keine Schema-Migration.
|
|
71
|
+
|
|
72
|
+
- Updated dependencies [010b410]
|
|
73
|
+
- @cosmicdrift/kumiko-headless@0.4.1
|
|
74
|
+
|
|
3
75
|
## 0.4.0
|
|
4
76
|
|
|
5
77
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-dispatcher-live",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "HTTP-only Dispatcher for Kumiko UIs. Always-online; failures surface immediately. Default client for web admin/cockpit apps.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@cosmicdrift/kumiko-headless": "0.
|
|
27
|
+
"@cosmicdrift/kumiko-headless": "0.5.0"
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"registry": "https://registry.npmjs.org",
|