@plitzi/sdk-dev-tools 0.35.5 → 0.35.6
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 +23 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @plitzi/sdk-dev-tools
|
|
2
2
|
|
|
3
|
+
## 0.35.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- A failed server action can give back what it already did.
|
|
8
|
+
|
|
9
|
+
- **`flow.onFailure` ("On Failure") marks where the undo begins.** A run that reaches it has succeeded and ends there.
|
|
10
|
+
A run whose step failed jumps to it and runs the steps after it, in order, each still asking its own `when` — the
|
|
11
|
+
failure may have come before the thing to undo was ever done — with `{{ failure.step }}` and `{{ failure.message }}`
|
|
12
|
+
in scope. The run still ends failed, with the failure it had; an undo step that fails too is added to it.
|
|
13
|
+
- **The undo runs on its own clock and budget:** 5 seconds (or the run's own timeout if shorter) and its own outbound
|
|
14
|
+
request budget, because the run's may be exactly what ran out, and a caller closing the connection does not stop it.
|
|
15
|
+
A run that hit its deadline is undone too.
|
|
16
|
+
- **`defineAction` writes it from `onFailure: [...]`**, after the answer. `validateActionDocument` refuses an output
|
|
17
|
+
step or a second handler after one, warns about a handler with nothing to undo or nothing that undoes, and reserves
|
|
18
|
+
`failure` as a step id. `FAILURE_HANDLER_TASK` is exported from `@plitzi/sdk-shared/actions`.
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
- @plitzi/sdk-navigation@0.35.6
|
|
22
|
+
- @plitzi/sdk-schema@0.35.6
|
|
23
|
+
- @plitzi/sdk-shared@0.35.6
|
|
24
|
+
- @plitzi/sdk-style@0.35.6
|
|
25
|
+
|
|
3
26
|
## 0.35.5
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/sdk-dev-tools",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.6",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -671,10 +671,10 @@
|
|
|
671
671
|
"dependencies": {
|
|
672
672
|
"@plitzi/nexus": "^1.1.4",
|
|
673
673
|
"@plitzi/plitzi-ui": "^1.6.21",
|
|
674
|
-
"@plitzi/sdk-navigation": "0.35.
|
|
675
|
-
"@plitzi/sdk-schema": "0.35.
|
|
676
|
-
"@plitzi/sdk-shared": "0.35.
|
|
677
|
-
"@plitzi/sdk-style": "0.35.
|
|
674
|
+
"@plitzi/sdk-navigation": "0.35.6",
|
|
675
|
+
"@plitzi/sdk-schema": "0.35.6",
|
|
676
|
+
"@plitzi/sdk-shared": "0.35.6",
|
|
677
|
+
"@plitzi/sdk-style": "0.35.6",
|
|
678
678
|
"@uiw/react-json-view": "^2.0.0-alpha.43",
|
|
679
679
|
"clsx": "^2.1.1"
|
|
680
680
|
}
|