@zapier/zapier-sdk 0.119.6 → 0.121.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,35 @@
1
1
  # @zapier/zapier-sdk
2
2
 
3
+ ## 0.121.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f208d30: Added options to `validateWorkflow` so it can check everything a workflow is published with, not just its source:
8
+ - `zapierDurableVersion` and `dependencies`: run the version and dependency checks.
9
+ - `triggerConfigurations`: check the trigger, keyed by trigger node id (`workflow-trigger-0`), with its `selectedApi`, `app`, `appTitle`, `action`, `actionTitle`, and `params`.
10
+ - `connections`: check the connection aliases the source uses, as `{ alias: { connectionId } }`.
11
+ - `checkGroups`: run only some checks, for example `["source"]` to skip the account lookups.
12
+ - `severity`: return only issues of one severity, for example `"error"`, and skip checks that only report other severities.
13
+
14
+ All are optional. Checks that need a value you leave out are skipped.
15
+
16
+ Each issue in the response can now also carry:
17
+ - `title`: a short label to show in place of `message`.
18
+ - `fix`: what resolves it (`agent`, `upgrade`, or `retry`; treat unknown values as `agent`).
19
+ - `incomplete`: `true` when the workflow isn't finished yet rather than wrong.
20
+ - `app_key`, `connection_id`, `connection_alias`, and `unchecked_kind`: the app, connection, or skipped check the issue is about.
21
+ - `state_path`, `projection_node_id`, `configuration_id`, `operation_id`, and `region_id`: where the issue sits in the workflow and its diagram.
22
+
23
+ ## 0.120.0
24
+
25
+ ### Minor Changes
26
+
27
+ - 5cc780e: Deprecated `is_private` on the workflow and run responses of `createWorkflow`, `getWorkflow`, `listWorkflows`, `updateWorkflow`, `importWorkflow`, `runDurable`, `getDurableRun`, and `listDurableRuns`. There is no replacement field, and the API may stop returning it in a future release, so callers should not rely on it.
28
+ - The field is now `boolean | null | undefined`. A response that omits it or sends `null` now parses instead of throwing; responses that still carry a `boolean` are unchanged.
29
+ - With `strictNullChecks`, code that assigns it to a `boolean` must handle `null` and `undefined`.
30
+ - An absent or `null` value means the privacy state is unknown, not that the workflow or run is account-visible.
31
+ - The `private` input on `createWorkflow`, `importWorkflow`, and `runDurable` is unchanged, as is `createWorkflow`'s deprecated `is_private` input alias.
32
+
3
33
  ## 0.119.6
4
34
 
5
35
  ### Patch Changes