@objectstack/plugin-webhooks 16.0.0-rc.1 → 16.0.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @objectstack/plugin-webhooks@16.0.0-rc.1 build /home/runner/work/framework/framework/packages/plugins/plugin-webhooks
2
+ > @objectstack/plugin-webhooks@16.0.0 build /home/runner/work/framework/framework/packages/plugins/plugin-webhooks
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.ts, src/schema.ts
@@ -18,7 +18,7 @@
18
18
  ESM dist/schema.js.map 71.00 B
19
19
  ESM dist/chunk-RBCYKJVL.js.map 10.21 KB
20
20
  ESM dist/translations-EPJYANXJ.js.map 30.50 KB
21
- ESM ⚡️ Build success in 820ms
21
+ ESM ⚡️ Build success in 832ms
22
22
  CJS dist/index.cjs 17.76 KB
23
23
  CJS dist/schema.cjs 220.00 B
24
24
  CJS dist/chunk-PTMJ5BLL.cjs 5.76 KB
@@ -27,10 +27,10 @@
27
27
  CJS dist/schema.cjs.map 278.00 B
28
28
  CJS dist/chunk-PTMJ5BLL.cjs.map 12.08 KB
29
29
  CJS dist/translations-L2JAQDJB.cjs.map 34.61 KB
30
- CJS ⚡️ Build success in 832ms
30
+ CJS ⚡️ Build success in 1054ms
31
31
  DTS Build start
32
- DTS ⚡️ Build success in 20057ms
32
+ DTS ⚡️ Build success in 25376ms
33
33
  DTS dist/index.d.ts 6.96 KB
34
- DTS dist/schema.d.ts 107.20 KB
34
+ DTS dist/schema.d.ts 107.72 KB
35
35
  DTS dist/index.d.cts 6.96 KB
36
- DTS dist/schema.d.cts 107.20 KB
36
+ DTS dist/schema.d.cts 107.72 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,62 @@
1
1
  # @objectstack/plugin-webhooks
2
2
 
3
+ ## 16.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 4b6fde8: Trim the dead `undelete` and `api` webhook triggers (#3196). `WebhookTriggerType` declared five triggers but only three ever fired:
8
+
9
+ - `undelete` had no event source — the engine has no soft-delete/restore capability (`delete` is a hard delete; no `deleted_at` convention, no restore operation, and `data.record.undeleted` is never emitted). The `undeleted` case in the auto-enqueuer's action mapper was dead code awaiting a producer that doesn't exist.
10
+ - `api` ("manually triggered") had no fire path — the only webhook HTTP surface re-queues already-failed deliveries; nothing originates a manual fire.
11
+
12
+ Both are removed from the enum (contract-first, matching #3184/#3195): authoring a webhook on a removed trigger now fails loudly at `os validate` / registration instead of registering a webhook that silently never fires. No shipped webhook metadata used either. The auto-enqueuer now also warns when a persisted `sys_webhook` row carries a trigger it can't map to an emitted record event (a drift-guard, so a dead trigger can't silently no-op again). Reintroduce `undelete` only alongside a real restore subsystem, and `api` only alongside a real manual-fire endpoint. Updated the `sys_webhook` trigger options, field help (all locales), docs, and reference; added rejection tests.
13
+
14
+ - Updated dependencies [f972574]
15
+ - Updated dependencies [6289ec3]
16
+ - Updated dependencies [22013aa]
17
+ - Updated dependencies [3ad3dd5]
18
+ - Updated dependencies [8efa395]
19
+ - Updated dependencies [3a18b60]
20
+ - Updated dependencies [a8aa34c]
21
+ - Updated dependencies [e057f42]
22
+ - Updated dependencies [a3823b2]
23
+ - Updated dependencies [43a3efb]
24
+ - Updated dependencies [524696a]
25
+ - Updated dependencies [bfa3c3f]
26
+ - Updated dependencies [5e3301d]
27
+ - Updated dependencies [dd9f223]
28
+ - Updated dependencies [46e876c]
29
+ - Updated dependencies [5f05de2]
30
+ - Updated dependencies [021ba4c]
31
+ - Updated dependencies [158aa14]
32
+ - Updated dependencies [62a2117]
33
+ - Updated dependencies [d2723e2]
34
+ - Updated dependencies [fefcd54]
35
+ - Updated dependencies [beaf2de]
36
+ - Updated dependencies [369eb6e]
37
+ - Updated dependencies [06ff734]
38
+ - Updated dependencies [b659111]
39
+ - Updated dependencies [5754a23]
40
+ - Updated dependencies [6c270a6]
41
+ - Updated dependencies [290e2f0]
42
+ - Updated dependencies [668dd17]
43
+ - Updated dependencies [8abf133]
44
+ - Updated dependencies [e0859b1]
45
+ - Updated dependencies [04ecd4e]
46
+ - Updated dependencies [4d5a892]
47
+ - Updated dependencies [16cebeb]
48
+ - Updated dependencies [86d30af]
49
+ - Updated dependencies [8923843]
50
+ - Updated dependencies [a2795f6]
51
+ - Updated dependencies [f16b492]
52
+ - Updated dependencies [4b6fde8]
53
+ - Updated dependencies [2018df9]
54
+ - Updated dependencies [fc5a3a2]
55
+ - Updated dependencies [8ff9210]
56
+ - @objectstack/spec@16.0.0
57
+ - @objectstack/service-messaging@16.0.0
58
+ - @objectstack/core@16.0.0
59
+
3
60
  ## 16.0.0-rc.1
4
61
 
5
62
  ### Patch Changes
package/dist/schema.d.cts CHANGED
@@ -422,7 +422,7 @@ declare const SysWebhook: Omit<{
422
422
  }[] | undefined;
423
423
  filter?: {
424
424
  field: string;
425
- operator: string;
425
+ operator: "in" | "contains" | "after" | "starts_with" | "ends_with" | "not_in" | "not_contains" | "between" | "is_null" | "is_not_null" | "is_empty" | "is_not_empty" | "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "before";
426
426
  value?: string | number | boolean | (string | number)[] | null | undefined;
427
427
  }[] | undefined;
428
428
  description?: string | undefined;
@@ -581,7 +581,7 @@ declare const SysWebhook: Omit<{
581
581
  view?: string | undefined;
582
582
  filter?: {
583
583
  field: string;
584
- operator: string;
584
+ operator: "in" | "contains" | "after" | "starts_with" | "ends_with" | "not_in" | "not_contains" | "between" | "is_null" | "is_not_null" | "is_empty" | "is_not_empty" | "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "before";
585
585
  value?: string | number | boolean | (string | number)[] | null | undefined;
586
586
  }[] | undefined;
587
587
  order?: number | undefined;
package/dist/schema.d.ts CHANGED
@@ -422,7 +422,7 @@ declare const SysWebhook: Omit<{
422
422
  }[] | undefined;
423
423
  filter?: {
424
424
  field: string;
425
- operator: string;
425
+ operator: "in" | "contains" | "after" | "starts_with" | "ends_with" | "not_in" | "not_contains" | "between" | "is_null" | "is_not_null" | "is_empty" | "is_not_empty" | "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "before";
426
426
  value?: string | number | boolean | (string | number)[] | null | undefined;
427
427
  }[] | undefined;
428
428
  description?: string | undefined;
@@ -581,7 +581,7 @@ declare const SysWebhook: Omit<{
581
581
  view?: string | undefined;
582
582
  filter?: {
583
583
  field: string;
584
- operator: string;
584
+ operator: "in" | "contains" | "after" | "starts_with" | "ends_with" | "not_in" | "not_contains" | "between" | "is_null" | "is_not_null" | "is_empty" | "is_not_empty" | "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "before";
585
585
  value?: string | number | boolean | (string | number)[] | null | undefined;
586
586
  }[] | undefined;
587
587
  order?: number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/plugin-webhooks",
3
- "version": "16.0.0-rc.1",
3
+ "version": "16.0.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Persistent, cluster-aware webhook dispatcher. Durable outbox + per-partition cluster.lock for exactly-once-ish delivery across nodes. See content/docs/concepts/webhook-delivery.mdx.",
6
6
  "type": "module",
@@ -19,9 +19,9 @@
19
19
  }
20
20
  },
21
21
  "dependencies": {
22
- "@objectstack/core": "16.0.0-rc.1",
23
- "@objectstack/service-messaging": "16.0.0-rc.1",
24
- "@objectstack/spec": "16.0.0-rc.1"
22
+ "@objectstack/core": "16.0.0",
23
+ "@objectstack/service-messaging": "16.0.0",
24
+ "@objectstack/spec": "16.0.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^26.1.1",