@uns-kit/cli 3.0.39 → 3.0.41
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/dist/index.js
CHANGED
|
@@ -524,6 +524,8 @@ const AGENT_MIGRATION_END = "<!-- uns-kit:migrations:end -->";
|
|
|
524
524
|
const AGENT_MIGRATION_BLOCK = [
|
|
525
525
|
AGENT_MIGRATION_START,
|
|
526
526
|
"## UNS Kit dependency upgrades",
|
|
527
|
+
"- When crossing `<3.0.41` to `>=3.0.41`, typed null scalar clears require explicit publisher allowNullData and data.valueType string/number. Update readers first; opt-in peers have a distinct handover compatibility hash, ordinary peers remain unchanged. Never replace null with zero, empty text or a missing update.",
|
|
528
|
+
"- When crossing `<3.0.40` to `>=3.0.40`, async MQTT consumers may opt into managedInput/setInputHandler and bounded RAM publishBackpressure. Review an initial cold upgrade for the changed input compatibility; await all work, preserve failed input and use one retryable SDK signal owner. Supporting hosts must use launch-bound cooperative stop; a legacy PM2 deadline can still force termination. Follow MIGRATIONS.md and the MQTT drain example.",
|
|
527
529
|
"- When crossing `<3.0.39` to `>=3.0.39`, read-only API handlers may explicitly await runReadOnlyRequest(res, work) before their first async step. Drain waits for actual work after disconnect; undeclared/effectful unknown outcomes stay blocked. Do not infer safety from GET/POST. Follow MIGRATIONS.md and the HTTP example.",
|
|
528
530
|
"- When crossing `<3.0.38` to `>=3.0.38`, correlated-v2 MQTT handover uses format3 on both peers. Review the initial stop-before-start SDK upgrade; never bypass mixed-format refusal. Missing or ambiguous input overlap keeps the source active. Reconcile an unknown result under the same operation, and return ownership through a fresh reverse hot handover. Follow `MIGRATIONS.md` and the SDK example.",
|
|
529
531
|
"- When crossing `<3.0.34` to `>=3.0.34`, paired-to-direct retirement is optional: use the shared declared selectors, startup/readiness and retained policy5 contract; stop/drain both old owners before one launch, preserve the input journal, update the backup helper for manifest2 and reconcile unknown outcomes in the same operation.",
|
package/dist/service-bundle.js
CHANGED
|
@@ -77,6 +77,8 @@ export function generateAgentsMarkdown(bundle) {
|
|
|
77
77
|
"",
|
|
78
78
|
"<!-- uns-kit:migrations:start -->",
|
|
79
79
|
"## UNS Kit dependency upgrades",
|
|
80
|
+
"- When crossing `<3.0.41` to `>=3.0.41`, typed null scalar clears require explicit publisher allowNullData and data.valueType string/number. Update readers first; opt-in peers have a distinct handover compatibility hash, ordinary peers remain unchanged. Never replace null with zero, empty text or a missing update.",
|
|
81
|
+
"- When crossing `<3.0.40` to `>=3.0.40`, async MQTT consumers may opt into managedInput/setInputHandler and bounded RAM publishBackpressure. Review an initial cold upgrade for the changed input compatibility; await all work, preserve failed input and use one retryable SDK signal owner. Supporting hosts must use launch-bound cooperative stop; a legacy PM2 deadline can still force termination. Follow MIGRATIONS.md and the MQTT drain example.",
|
|
80
82
|
"- When crossing `<3.0.39` to `>=3.0.39`, read-only API handlers may explicitly await runReadOnlyRequest(res, work) before their first async step. Drain waits for actual work after disconnect; undeclared/effectful unknown outcomes stay blocked. Do not infer safety from GET/POST. Follow MIGRATIONS.md and the HTTP example.",
|
|
81
83
|
"- When crossing `<3.0.38` to `>=3.0.38`, correlated-v2 MQTT handover uses format3 on both peers. Review the initial stop-before-start SDK upgrade; never bypass mixed-format refusal. Missing or ambiguous input overlap keeps the source active. Reconcile an unknown result under the same operation, and return ownership through a fresh reverse hot handover. Follow `MIGRATIONS.md` and the SDK example.",
|
|
82
84
|
"- When crossing `<3.0.34` to `>=3.0.34`, paired-to-direct retirement is optional: use the shared declared selectors, startup/readiness and retained policy5 contract; stop/drain both old owners before one launch, preserve the input journal, update the backup helper for manifest2 and reconcile unknown outcomes in the same operation.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uns-kit/cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.41",
|
|
4
4
|
"description": "Command line scaffolding tool for UNS applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"azure-devops-node-api": "^15.1.2",
|
|
29
|
-
"@uns-kit/core": "3.0.
|
|
29
|
+
"@uns-kit/core": "3.0.41"
|
|
30
30
|
},
|
|
31
31
|
"unsKitPackages": {
|
|
32
|
-
"@uns-kit/core": "3.0.
|
|
33
|
-
"@uns-kit/api": "3.0.
|
|
34
|
-
"@uns-kit/cron": "3.0.
|
|
35
|
-
"@uns-kit/database": "3.0.
|
|
36
|
-
"@uns-kit/assistant-workflow": "3.0.
|
|
32
|
+
"@uns-kit/core": "3.0.41",
|
|
33
|
+
"@uns-kit/api": "3.0.41",
|
|
34
|
+
"@uns-kit/cron": "3.0.41",
|
|
35
|
+
"@uns-kit/database": "3.0.41",
|
|
36
|
+
"@uns-kit/assistant-workflow": "3.0.41"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "tsc -p tsconfig.build.json",
|
package/templates/cron/AGENTS.md
CHANGED
|
@@ -21,6 +21,8 @@ Pointers for AI/code-assist tools when working in this generated project.
|
|
|
21
21
|
- `pnpm run sync-uns-metadata -- --controller-url ... --token ...` -> pulls topics/tags/assets from the controller and regenerates local TS helpers
|
|
22
22
|
|
|
23
23
|
<!-- uns-kit:migrations:start -->
|
|
24
|
+
- When crossing `<3.0.41` to `>=3.0.41`, typed null scalar clears require explicit publisher allowNullData and data.valueType string/number. Update readers first; opt-in peers have a distinct handover compatibility hash, ordinary peers remain unchanged. Never replace null with zero, empty text or a missing update.
|
|
25
|
+
- When crossing `<3.0.40` to `>=3.0.40`, async MQTT consumers may opt into managedInput/setInputHandler and bounded RAM publishBackpressure. Review an initial cold upgrade for the changed input compatibility; await all work, preserve failed input and use one retryable SDK signal owner. Supporting hosts must use launch-bound cooperative stop; a legacy PM2 deadline can still force termination. Follow MIGRATIONS.md and the MQTT drain example.
|
|
24
26
|
|
|
25
27
|
## UNS Kit dependency upgrades
|
|
26
28
|
|
|
@@ -21,6 +21,8 @@ Pointers for AI/code-assist tools when working in this generated project.
|
|
|
21
21
|
- `pnpm run sync-uns-metadata -- --controller-url ... --token ...` -> pulls topics/tags/assets from the controller and regenerates local TS helpers
|
|
22
22
|
|
|
23
23
|
<!-- uns-kit:migrations:start -->
|
|
24
|
+
- When crossing `<3.0.41` to `>=3.0.41`, typed null scalar clears require explicit publisher allowNullData and data.valueType string/number. Update readers first; opt-in peers have a distinct handover compatibility hash, ordinary peers remain unchanged. Never replace null with zero, empty text or a missing update.
|
|
25
|
+
- When crossing `<3.0.40` to `>=3.0.40`, async MQTT consumers may opt into managedInput/setInputHandler and bounded RAM publishBackpressure. Review an initial cold upgrade for the changed input compatibility; await all work, preserve failed input and use one retryable SDK signal owner. Supporting hosts must use launch-bound cooperative stop; a legacy PM2 deadline can still force termination. Follow MIGRATIONS.md and the MQTT drain example.
|
|
24
26
|
|
|
25
27
|
## UNS Kit dependency upgrades
|
|
26
28
|
|