@sanity/workflow-studio 0.9.0 → 0.10.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 +17 -0
- package/README.md +5 -4
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @sanity/workflow-studio
|
|
2
2
|
|
|
3
|
+
## 0.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 767497c: **BREAKING:** reactive instance-list reads are per-row tolerant. `WorkflowInstanceList` replaces `invalid: InvalidDoc | undefined` with `unreadable: readonly InvalidDoc[]`: rows the engine's read discipline refuses are skipped from `instances` and flagged there, so one bad row no longer sinks the whole listing (a silently short list stays impossible — the refused rows are always named). `ObservedInstances` becomes `{instances, unreadable}` to carry the same split through the observer contract. The engine's own stateless list reads stay wholesale; single-instance and guard streams keep their explicit invalid states.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [24b11dd]
|
|
12
|
+
- Updated dependencies [2005ab7]
|
|
13
|
+
- Updated dependencies [767497c]
|
|
14
|
+
- Updated dependencies [24b11dd]
|
|
15
|
+
- Updated dependencies [59b40fd]
|
|
16
|
+
- @sanity/workflow-engine@0.19.0
|
|
17
|
+
- @sanity/workflow-react@0.14.0
|
|
18
|
+
- @sanity/workflow-sdk@0.11.0
|
|
19
|
+
|
|
3
20
|
## 0.9.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -26,10 +26,11 @@ Studio source context (`useSource` / `useClient`).
|
|
|
26
26
|
set) instead of an eternal spinner.
|
|
27
27
|
- `useWorkflowInstances` / `useDocumentWorkflows` — live instance lists
|
|
28
28
|
(filterable collection / per-document discovery), each returning
|
|
29
|
-
`{instances, loading,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
`{instances, loading, unreadable, error}` through the App SDK query store —
|
|
30
|
+
rows the read discipline refuses are skipped from `instances` and flagged
|
|
31
|
+
in `unreadable`. Hooks under one Studio source share the auto-bootstrapped
|
|
32
|
+
SDK instance; callers can instead pass a shared `sdk` explicitly. SDK store
|
|
33
|
+
errors surface reactively through `error`.
|
|
33
34
|
- `useStudioProjectUsers` — the shared Studio project-user directory used by
|
|
34
35
|
actor resolution and member pickers. It returns the upstream membership and
|
|
35
36
|
profile records without an Editorial Workflows projection, plus the engine's
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/workflow-studio",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "React adapter that drives the @sanity/workflow-engine reactive session in Sanity Studio through the App SDK store.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@sanity/workflow-engine": "0.
|
|
45
|
-
"@sanity/workflow-react": "0.
|
|
46
|
-
"@sanity/workflow-sdk": "0.
|
|
44
|
+
"@sanity/workflow-engine": "0.19.0",
|
|
45
|
+
"@sanity/workflow-react": "0.14.0",
|
|
46
|
+
"@sanity/workflow-sdk": "0.11.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@sanity/pkg-utils": "^10.5.2",
|