@rytass/bpm-core-shared 0.9.1 → 0.11.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 CHANGED
@@ -1,3 +1,30 @@
1
+ ## 0.11.0 (2026-08-18)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **notification:** bound delivery dispatch with a timeout ([d8115f0](https://github.com/Rytass/BPMCore/commit/d8115f0))
6
+
7
+ ### 🩹 Fixes
8
+
9
+ - **notification:** move nodemailer to ^9.0.1 ([e094738](https://github.com/Rytass/BPMCore/commit/e094738))
10
+
11
+ ### ❤️ Thank You
12
+
13
+ - Chia Yu Pai @fantasywind
14
+ - Claude Opus 5
15
+
16
+ ## 0.10.0 (2026-08-18)
17
+
18
+ ### 🚀 Features
19
+
20
+ - **form-data-source:** add read-only resolve queries and dependency-wait signals ([e8d9b78](https://github.com/Rytass/BPMCore/commit/e8d9b78))
21
+ - **template:** let hosts observe changes and refuse deactivated publishes ([3882dc2](https://github.com/Rytass/BPMCore/commit/3882dc2))
22
+ - **notification:** honour recipient preferences instead of dropping rows ([576b8c4](https://github.com/Rytass/BPMCore/commit/576b8c4))
23
+
24
+ ### ❤️ Thank You
25
+
26
+ - Chia Yu Pai @fantasywind
27
+
1
28
  ## 0.9.1 (2026-08-18)
2
29
 
3
30
  ### 🩹 Fixes
@@ -81,6 +108,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
81
108
  persisted label-snapshot contracts.
82
109
  - Added `autocomplete` fields plus pure option-field guards and legacy schema
83
110
  normalization.
111
+ - `FormDataSourceValueSnapshot` now carries an optional `revalidationPolicy`,
112
+ recording the policy the source declared when the snapshot was written. Once a
113
+ source leaves the host registry its descriptor is gone, so without this record
114
+ there is no way to tell whether reusing the snapshot would quietly skip an
115
+ `ALWAYS` revalidation. The field is optional so snapshots persisted before it
116
+ existed keep loading.
84
117
 
85
118
  Releases are managed by [`nx release`](https://nx.dev/recipes/nx-release) with
86
119
  Conventional Commits — see `nx.json` for the release config.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rytass/bpm-core-shared",
3
- "version": "0.9.1",
3
+ "version": "0.11.0",
4
4
  "description": "Shared TypeScript contracts for the Rytass BPM approval workflow stack (workflow, form, condition, identity, organization, status types).",
5
5
  "keywords": [
6
6
  "bpm",
package/src/lib/form.d.ts CHANGED
@@ -69,6 +69,14 @@ export type FormDataSourceValueSnapshot = {
69
69
  readonly dataSourceKey: string;
70
70
  readonly dataSourceVersion: number;
71
71
  readonly options: readonly FormFieldOption[];
72
+ /**
73
+ * The policy the source declared when this snapshot was written. Once the
74
+ * source leaves the registry its descriptor is gone, so without this record
75
+ * there is no way to tell whether reusing the snapshot would quietly skip an
76
+ * `ALWAYS` revalidation. Optional because snapshots persisted before this
77
+ * field existed must keep loading.
78
+ */
79
+ readonly revalidationPolicy?: 'ALWAYS' | 'WHEN_VALUE_OR_BINDINGS_CHANGE';
72
80
  readonly validatedAt: string;
73
81
  };
74
82
  export type FormDataSourceValueSnapshots = Readonly<Record<string, FormDataSourceValueSnapshot>>;
@@ -1 +1 @@
1
- {"version":3,"file":"form.js","sourceRoot":"","sources":["../../../../../libs/shared/src/lib/form.ts"],"names":[],"mappings":";;AAgJA,kEASC;AAED,0EAQC;AAED,8EAQC;AAED,gEAYC;AAED,sEAOC;AApDD,SAAgB,2BAA2B,CACzC,KAA0B;IAE1B,OAAO,CACL,KAAK,CAAC,IAAI,KAAK,QAAQ;QACvB,KAAK,CAAC,IAAI,KAAK,cAAc;QAC7B,KAAK,CAAC,IAAI,KAAK,OAAO;QACtB,KAAK,CAAC,IAAI,KAAK,UAAU,CAC1B,CAAC;AACJ,CAAC;AAED,SAAgB,+BAA+B,CAC7C,KAA0B;IAE1B,OAAO,CACL,2BAA2B,CAAC,KAAK,CAAC;QAClC,YAAY,IAAI,KAAK;QACrB,OAAO,KAAK,CAAC,UAAU,KAAK,WAAW,CACxC,CAAC;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