@zapier/zapier-sdk 0.112.6 → 0.113.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 +27 -0
- package/README.md +22 -3
- package/dist/beta.cjs +1112 -0
- package/dist/beta.d.mts +10939 -0
- package/dist/beta.d.ts +10939 -0
- package/dist/beta.mjs +3 -0
- package/dist/chunk-FF6YC735.cjs +21 -0
- package/dist/{chunk-GDSXM2EN.cjs → chunk-GQKHLPXO.cjs} +33 -2
- package/dist/chunk-ORPCPBJR.mjs +18 -0
- package/dist/{chunk-HI3KXWXJ.mjs → chunk-UCCI3JDP.mjs} +23 -5
- package/dist/experimental.cjs +401 -383
- package/dist/experimental.d.mts +294 -274
- package/dist/experimental.d.ts +294 -274
- package/dist/experimental.mjs +10 -8
- package/dist/{index-BrxiLlQi.d.mts → index-CJoDlPxK.d.mts} +24 -1
- package/dist/{index-BrxiLlQi.d.ts → index-CJoDlPxK.d.ts} +24 -1
- package/dist/index.cjs +288 -272
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +13 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @zapier/zapier-sdk
|
|
2
2
|
|
|
3
|
+
## 0.113.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 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:
|
|
8
|
+
|
|
9
|
+
| Tier | Import | Contract |
|
|
10
|
+
| ---------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
11
|
+
| **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. |
|
|
12
|
+
| **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. |
|
|
13
|
+
| **Experimental** | `@zapier/zapier-sdk/experimental` | Still being designed; may change shape or disappear in any release, without notice. |
|
|
14
|
+
|
|
15
|
+
A tier is a promise about the SDK surface, not a status report on the service behind it.
|
|
16
|
+
|
|
17
|
+
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.
|
|
18
|
+
|
|
19
|
+
The first call to any non-stable method now logs a once-per-process warning naming the tier and quoting its contract:
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
[zapier-sdk] listWorkflows() is marked experimental. Still being designed; may change shape or disappear in any release, without notice.
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [1c1a95d]
|
|
28
|
+
- @zapier/kitcore@0.21.2
|
|
29
|
+
|
|
3
30
|
## 0.112.6
|
|
4
31
|
|
|
5
32
|
### 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.
|
|
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.
|
|
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.
|
|
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
|
|