@zapier/zapier-sdk 0.117.0 → 0.119.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,20 @@
1
1
  # @zapier/zapier-sdk
2
2
 
3
+ ## 0.119.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 253d3e5: The Next Gen Zaps methods (workflows, drafts, versions and runs, such as `listWorkflows`, `createWorkflowDraft`, `runWorkflowDraft` and `getWorkflowRun`) are now beta. Import them from `@zapier/zapier-sdk/beta`. They are still available from `@zapier/zapier-sdk/experimental`, which includes every beta method, so existing imports keep working. Beta changes ship in minor releases with a migration note.
8
+ - 253d3e5: Added `runWorkflow` (beta) to run a published workflow and wait for its result. It fires the workflow's trigger, then returns the run as soon as it is finished, failed or cancelled, with `output` set when it finished. A failed run is returned with its `error` rather than thrown. A run still going after `waitSeconds` (default 60) is returned with its current status. If no run has been created by then, it throws `ZapierTimeoutError`; check it later with `getTriggerRun`.
9
+
10
+ Added `waitSeconds` to `runWorkflowDraft`, `getTriggerRun` and `getWorkflowRun`. With it, the method returns the run once it ends, or as it stands when the wait runs out, instead of returning at once.
11
+
12
+ ## 0.118.0
13
+
14
+ ### Minor Changes
15
+
16
+ - 6397776: Added the `idempotencyKey` option to `createActionRun`, `runAction`, and app action calls (`zapier.apps.<app>.<actionType>.<action>(...)`) for retrying an action without running it twice. A run started with a key already used in the last 72 hours returns the original run instead of starting a new one, even if the inputs differ, so use a fresh key for each distinct run. Keys are up to 255 characters. One key covers every page: a run for a later page (a `page` on `createActionRun`, or a later page of `runAction`) is sent with a key derived from yours and the page, so retrying a page replays that page's run.
17
+
3
18
  ## 0.117.0
4
19
 
5
20
  ### Minor Changes