@zapier/zapier-sdk 0.112.6 → 0.114.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,38 @@
1
1
  # @zapier/zapier-sdk
2
2
 
3
+ ## 0.114.0
4
+
5
+ ### Minor Changes
6
+
7
+ - fdb11e0: `listActions` and `listTriggers` no longer return hidden actions (`is_hidden: true`). These are actions an app has superseded or keeps for internal use, often under the same title as their replacement. `getAction`, `runAction` and the input-field methods still accept a hidden action's key, so code that already runs one keeps working.
8
+
9
+ ## 0.113.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 1c1a95d: Added `@zapier/zapier-sdk/beta`, a second non-stable import path alongside `@zapier/zapier-sdk/experimental`. Every method now belongs to one of three tiers, chosen by import path, and each tier states what the SDK commits to:
14
+
15
+ | Tier | Import | Contract |
16
+ | ---------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
17
+ | **Stable** | `@zapier/zapier-sdk` | The surface we intend to keep. While the SDK is in Open Beta (0.x), a breaking change can still land in a minor release; we deprecate first where we can, and every one is called out in the changelog with a migration note. |
18
+ | **Beta** | `@zapier/zapier-sdk/beta` | Functionally complete and ready to build against, but the shape may still change as it settles. Changes land in minor releases with a changelog migration note, without a deprecation period. |
19
+ | **Experimental** | `@zapier/zapier-sdk/experimental` | Still being designed; may change shape or disappear in any release, without notice. |
20
+
21
+ A tier is a promise about the SDK surface, not a status report on the service behind it.
22
+
23
+ The beta tier ships empty, so `/beta` currently exposes exactly the stable surface. Nothing moved out of `/experimental` — the subpaths nest, so each one includes everything from the tiers below it, and a method can only ever move toward stable.
24
+
25
+ The first call to any non-stable method now logs a once-per-process warning naming the tier and quoting its contract:
26
+
27
+ ```
28
+ [zapier-sdk] listWorkflows() is marked experimental. Still being designed; may change shape or disappear in any release, without notice.
29
+ ```
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies [1c1a95d]
34
+ - @zapier/kitcore@0.21.2
35
+
3
36
  ## 0.112.6
4
37
 
5
38
  ### Patch Changes
package/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  ## Table of Contents
4
4
 
5
5
  - [Documentation](#documentation)
6
+ - [Stability](#stability)
6
7
  - [Quick Start](#quick-start)
7
8
  - [Installation](#installation)
8
9
  - [Walkthrough](#walkthrough)
@@ -125,6 +126,24 @@ https://docs.zapier.com/sdk
125
126
 
126
127
  Agents are sometimes blocked from viewing docs on npm, so you may want to provide them a link to the official docs or copy the docs here into a prompt.
127
128
 
129
+ ## Stability
130
+
131
+ Every SDK method belongs to one of three stability tiers, chosen by import path. A tier is a commitment made by this SDK: the import path tells you everything you need to know about what can break.
132
+
133
+ The SDK is in Open Beta. Every package is at version 0.x, and a minor release can contain a breaking change. The tiers describe how much warning you get before one lands, not whether one can land.
134
+
135
+ | Tier | Contract |
136
+ | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
137
+ | **Stable** | The surface we intend to keep. While the SDK is in Open Beta (0.x), a breaking change can still land in a minor release; we deprecate first where we can, and every one is called out in the changelog with a migration note. |
138
+ | **Beta** | Functionally complete and ready to build against, but the shape may still change as it settles. Changes land in minor releases with a changelog migration note, without a deprecation period. |
139
+ | **Experimental** | Still being designed; may change shape or disappear in any release, without notice. |
140
+
141
+ - **Stable** — `import { createZapierSdk } from "@zapier/zapier-sdk"`
142
+ - **Beta** — `import { createZapierSdk } from "@zapier/zapier-sdk/beta"`
143
+ - **Experimental** — `import { createZapierSdk } from "@zapier/zapier-sdk/experimental"`
144
+
145
+ Each subpath is a superset of the one above it — `/beta` includes everything stable, `/experimental` includes everything beta — so opting into a wider tier never takes methods away. Non-stable methods announce themselves: the first call to each logs a once-per-process warning, and every non-stable section in the reference below is prefaced with its tier's contract.
146
+
128
147
  ## Quick Start
129
148
 
130
149
  _For new projects._
@@ -1220,7 +1239,7 @@ for await (const clientCredentials of zapier.listClientCredentials().items()) {
1220
1239
 
1221
1240
  ### Code Workflows (Experimental)
1222
1241
 
1223
- > ℹ️ **Experimental.** Import from `"@zapier/zapier-sdk/experimental"` to use these methods. Methods and behavior may change.
1242
+ > ℹ️ **Experimental.** Still being designed; may change shape or disappear in any release, without notice. Import from `"@zapier/zapier-sdk/experimental"` to use these methods.
1224
1243
 
1225
1244
  #### `cancelDurableRun` 🧪 _experimental_
1226
1245
 
@@ -3016,7 +3035,7 @@ const result = await zapier.fetch("https://example.com", {});
3016
3035
 
3017
3036
  ### Human Inputs (Experimental)
3018
3037
 
3019
- > ℹ️ **Experimental.** Import from `"@zapier/zapier-sdk/experimental"` to use these methods. Methods and behavior may change.
3038
+ > ℹ️ **Experimental.** Still being designed; may change shape or disappear in any release, without notice. Import from `"@zapier/zapier-sdk/experimental"` to use these methods.
3020
3039
 
3021
3040
  #### `createForm` 🧪 _experimental_
3022
3041
 
@@ -4357,7 +4376,7 @@ await zapier.watchTriggerInbox({
4357
4376
 
4358
4377
  ### Virtual File System (Experimental)
4359
4378
 
4360
- > ℹ️ **Experimental.** Import from `"@zapier/zapier-sdk/experimental"` to use these methods. Methods and behavior may change.
4379
+ > ℹ️ **Experimental.** Still being designed; may change shape or disappear in any release, without notice. Import from `"@zapier/zapier-sdk/experimental"` to use these methods.
4361
4380
 
4362
4381
  #### `appendVfsFile` 🧪 _experimental_
4363
4382