@cosmicdrift/kumiko-framework 0.330.2 → 0.332.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.
Files changed (49) hide show
  1. package/dist/db/blind-index-cleanup.d.ts +1 -0
  2. package/dist/db/blind-index-cleanup.js +12 -0
  3. package/dist/db/index.d.ts +1 -1
  4. package/dist/db/index.js +1 -1
  5. package/dist/db/queries/event-consumer.d.ts +2 -1
  6. package/dist/db/queries/event-consumer.js +12 -2
  7. package/dist/engine/boot-validator/action-wiring.js +3 -0
  8. package/dist/engine/boot-validator/config-deps.d.ts +1 -0
  9. package/dist/engine/boot-validator/config-deps.js +24 -0
  10. package/dist/engine/boot-validator/entity-handler.d.ts +1 -0
  11. package/dist/engine/boot-validator/entity-handler.js +20 -0
  12. package/dist/engine/boot-validator/index.js +6 -2
  13. package/dist/engine/boot-validator/projection-list-screens.js +11 -6
  14. package/dist/engine/boot-validator/query-output-columns.js +23 -2
  15. package/dist/engine/boot-validator/query-refs.d.ts +2 -1
  16. package/dist/engine/boot-validator/query-refs.js +24 -1
  17. package/dist/engine/boot-validator/screens.d.ts +3 -1
  18. package/dist/engine/boot-validator/screens.js +180 -78
  19. package/dist/engine/boot-validator/selector-owner-panels.d.ts +2 -0
  20. package/dist/engine/boot-validator/selector-owner-panels.js +25 -0
  21. package/dist/engine/boot-validator/url-prefill-fields.js +18 -1
  22. package/dist/engine/build-app-schema.js +3 -0
  23. package/dist/engine/build-config-feature-schema.js +40 -6
  24. package/dist/engine/changeset-changes.js +6 -0
  25. package/dist/engine/config-helpers.d.ts +2 -0
  26. package/dist/engine/config-helpers.js +9 -0
  27. package/dist/engine/entity-handlers.js +1 -1
  28. package/dist/engine/feature-ui-extensions.d.ts +4 -2
  29. package/dist/engine/feature-ui-extensions.js +40 -3
  30. package/dist/engine/index.d.ts +1 -1
  31. package/dist/engine/project-app-schema-for-roles.js +30 -2
  32. package/dist/engine/registry-facade.js +3 -0
  33. package/dist/engine/registry-ingest.js +2 -0
  34. package/dist/engine/registry-state.d.ts +2 -1
  35. package/dist/engine/registry-state.js +1 -0
  36. package/dist/engine/schema-builder.d.ts +3 -1
  37. package/dist/engine/schema-builder.js +5 -6
  38. package/dist/engine/types/index.d.ts +2 -2
  39. package/dist/errors/reasons.js +7 -6
  40. package/dist/i18n/required-surface-keys.js +27 -10
  41. package/dist/pipeline/dispatch-write.js +26 -2
  42. package/dist/pipeline/event-consumer-state.js +6 -0
  43. package/dist/pipeline/event-dispatcher-admin.js +36 -16
  44. package/dist/pipeline/event-dispatcher-delivery.d.ts +2 -0
  45. package/dist/pipeline/event-dispatcher-delivery.js +22 -2
  46. package/dist/pipeline/event-dispatcher.js +1 -0
  47. package/dist/ui-types/index.d.ts +1 -1
  48. package/package.json +4 -4
  49. package/src/changes.json +54 -0
package/src/changes.json CHANGED
@@ -1,4 +1,58 @@
1
1
  [
2
+ {
3
+ "version": "0.332.0",
4
+ "type": "fix",
5
+ "title": "agent reason developer texts match the actual error types"
6
+ },
7
+ {
8
+ "version": "0.332.0",
9
+ "type": "breaking",
10
+ "title": "buildInsertSchema strips id again; caller-chosen ids need { allowCallerId: true }",
11
+ "migration": "Custom-Create-Handler, die eine caller-gewaehlte id brauchen, uebergeben { allowCallerId: true } und erlauben sie nur System-Identities."
12
+ },
13
+ {
14
+ "version": "0.332.0",
15
+ "type": "fix",
16
+ "title": "early-closed kumiko-changes blocks fail with a clear error"
17
+ },
18
+ {
19
+ "version": "0.332.0",
20
+ "type": "improvement",
21
+ "title": "A selector owner can add its own custom or screen panels to the generated settings page (extensionSelector panels)",
22
+ "detail": "`r.extensionSelector(extension, key, { panels })` lets the selector owner add its own `custom` or `screen` panels to the generated `<ownerGroup>-tenant` settings dashboard, after the selection panel and before the plugin panels. Short `screen` refs resolve against the declaring feature. Dead screen or `visibleWhen` query refs, empty, duplicate or `selection` panel ids fail at boot or declaration.",
23
+ "migration": "No code change needed."
24
+ },
25
+ {
26
+ "version": "0.332.0",
27
+ "type": "breaking",
28
+ "title": "ctx.fetchForWriting scopes handle.events to the aggregateType since the #2979 release (correction, not purely additive)",
29
+ "detail": "The #2979 changeset described the `aggregateType` filter as \"purely additive\". For `ctx.fetchForWriting` that was wrong: since that release, `handle.events` only contains events of the fetched aggregateType, even when a handler never passed an `aggregateType` option. Events of another aggregateType on the same aggregateId are no longer part of the handle. `loadAggregate` without `aggregateType` is unchanged.",
30
+ "migration": "handle.events von ctx.fetchForWriting ist seit Einführung des aggregateType-Filters\ntyp-gescoped; Handler prüfen, die Events eines anderen aggregateType auf derselben\naggregateId erwartet haben, und diese per loadAggregate ohne aggregateType lesen."
31
+ },
32
+ {
33
+ "version": "0.332.0",
34
+ "type": "fix",
35
+ "title": "Nested-write parent tenant check fails closed for parent rows without tenantId"
36
+ },
37
+ {
38
+ "version": "0.332.0",
39
+ "type": "fix",
40
+ "title": "skipPoisonEvent skips the actually failed event via kumiko_event_consumers.last_failed_event_id"
41
+ },
42
+ {
43
+ "version": "0.331.0",
44
+ "type": "fix",
45
+ "title": "A reference field's optionsQuery now reaches the client schema, so the picker uses the declared handler",
46
+ "detail": "`ReferenceFieldDef.optionsQuery` was dropped by the client-schema projection, so the picker ignored the declared handler and fell back to the entity's list handler. The projection now keeps it.",
47
+ "migration": "No code change needed."
48
+ },
49
+ {
50
+ "version": "0.331.0",
51
+ "type": "improvement",
52
+ "title": "Select fields in configEdit and actionForm screens and select config keys can load their options from a query (optionsQuery)",
53
+ "detail": "A `select` config key and a `select` field on configEdit and actionForm screens accept `optionsQuery` (a query QN returning `{ rows: { value, label }[] }`) plus an optional static `optionsQueryPayload`. The Settings-Hub derives the field from the config key, the renderer mounts the query and shows the returned labels as they are. The boot validator rejects dead QNs, static `options` together with `optionsQuery`, `allowPerRequest` keys, and `optionsQuery` on entity fields. The write side does not check the value against the query result.",
54
+ "migration": "No code change needed. Existing select fields and config keys keep their static options."
55
+ },
2
56
  {
3
57
  "version": "0.330.2",
4
58
  "type": "fix",