@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 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, invalid, error}` through the App SDK query store. Hooks
30
- under one Studio source share the auto-bootstrapped SDK instance; callers can
31
- instead pass a shared `sdk` explicitly. SDK store errors surface reactively
32
- through `error`.
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.9.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.18.0",
45
- "@sanity/workflow-react": "0.13.0",
46
- "@sanity/workflow-sdk": "0.10.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",