UNPKG

37.5 kBMarkdownView Raw
1## 8.2.1
2
3### cli
4None!
5
6### schema
7* (fix) Drop help text length requirement ([#70](https://github.com/zapier/zapier-platform-schema/pull/70))
8
9### core
10None!
11
12## 8.2.0
13
14### cli
15* :tada: (feature) Convert visual apps to CLI. ([#427](https://github.com/zapier/zapier-platform-cli/pull/427))
16* (feature) Add per app version helpers ([#406](https://github.com/zapier/zapier-platform-cli/pull/406))
17* (chore) bump travis node version ([#435](https://github.com/zapier/zapier-platform-cli/pull/435))
18* (chore) remove babel ([#430](https://github.com/zapier/zapier-platform-cli/pull/430))
19* (chore) Add eslint-plugin-mocha ([#429](https://github.com/zapier/zapier-platform-cli/pull/429))
20
21### schema
22* (fix) Reduce minLength for BasicDisplaySchema to 1 ([#69](https://github.com/zapier/zapier-platform-schema/pull/69))
23
24### core
25* (fix) Be more defensive when creating a buffer ([#155](https://github.com/zapier/zapier-platform-core/pull/155))
26* (fix) fix regression where env is ignored ([#154](https://github.com/zapier/zapier-platform-core/pull/154))
27* (fix) Prevent raw curies from being sent in a request. Allow removing empty… ([#153](https://github.com/zapier/zapier-platform-core/pull/153))
28* (fix) Censor sensitive numbers ([#152](https://github.com/zapier/zapier-platform-core/pull/152))
29
30## 8.1.0
31
32### cli
33* (fix) Add a better error message when uploading with a zip ([#408](https://github.com/zapier/zapier-platform-cli/pull/408))
34* (chore) port logout command to async func ([#419](https://github.com/zapier/zapier-platform-cli/pull/419))
35* (docs) Add code examples and scenarios to the dynamic dropdowns section of the Readme ([#415](https://github.com/zapier/zapier-platform-cli/pull/415))
36* (docs) Add example for input fields with 'children' parameter ([#413](https://github.com/zapier/zapier-platform-cli/pull/413))
37* (docs) Update signup link ([#412](https://github.com/zapier/zapier-platform-cli/pull/412))
38* (docs) Update readme details for version number ([#411](https://github.com/zapier/zapier-platform-cli/pull/411))
39* (docs) Misc improvements ([#423](https://github.com/zapier/zapier-platform-cli/pull/423))
40
41### schema
42* (improvement) Add appflags property ([#68](https://github.com/zapier/zapier-platform-schema/pull/68))
43* (chore) Bump Lodash Version ([#67](https://github.com/zapier/zapier-platform-schema/pull/67))
44
45### core
46* (improvement) Allow Godzilla to require modules in code mode ([#145](https://github.com/zapier/zapier-platform-core/pull/145))
47* (improvement) Add the ability to skip http patching ([#150](https://github.com/zapier/zapier-platform-core/pull/150))
48* (fix) Censor auth headers in edge cases ([#151](https://github.com/zapier/zapier-platform-core/pull/151))
49* (fix) Add meta to the bundle bank for resolving curlies. ([#149](https://github.com/zapier/zapier-platform-core/pull/149))
50* (fix) Pass correct storekey ([#148](https://github.com/zapier/zapier-platform-core/pull/148))
51* (fix) Add optional parameter to createAppTester to customize storeKey ([#147](https://github.com/zapier/zapier-platform-core/pull/147))
52* (fix) Fix individual types for removeMissingValuesFrom object ([#146](https://github.com/zapier/zapier-platform-core/pull/146))
53* (fix) Make removeMissing correctly optional ([#143](https://github.com/zapier/zapier-platform-core/pull/143))
54
55## 8.0.1
56
57A quick bugfix to resolve a regression
58
59### cli
60None!
61
62### schema
63* (fix) actually return validator class ([#64](https://github.com/zapier/zapier-platform-schema/pull/64))
64
65### core
66None!
67
68## 8.0.0
69
70This is a larger-than-normal release that coincides with the release of our new [Visual Builder](https://zapier.github.io/visual-builder/). It also includes a few breaking changes that you'll need to resolve in your code manually as you upgrade. Luckily, they're mostly find-and-replace.
71
72#### `omitEmptyParams` has a new data type
73
74We've changed the type of (the option formally known as) `omitEmptyParams` to accommodate clearing data from the query params and/or the request body
75
76```js
77// before
78z.request({
79 url: 'https://site.com',
80 omitEmptyParams: true
81})
82
83// after:
84z.request({
85 url: 'https://site.com',
86 removeMissingValuesFrom: { params: true }
87})
88```
89
90#### Curlies Don't Clobber
91
92If you were using `{{curlies}}` to render non-primatives (that is, arrays or objects) at runtime, they were getting coerced into strings. Now they correctly stay as their original data type, which is only an issue if you were working around it before.
93
94#### `bundle.meta` has a new coat of paint
95
96We updated the key names in `bundle.meta` to make them more clear. In most cases, they were simply renamed, but some unhelpful ones were removed. There's a [conversion table](https://github.com/zapier/zapier-platform-cli/wiki/bundle.meta-changes) that should make this an easy thing to change.
97
98---
99
100Below are all of the changes:
101
102### cli
103* (improvement) respect 2fa settings ([#396](https://github.com/zapier/zapier-platform-cli/pull/396))
104* (doc) Add a Docker and Docker Compose section for native environments. ([#397](https://github.com/zapier/zapier-platform-cli/pull/397))
105* (doc) update collaborator to admin ([#403](https://github.com/zapier/zapier-platform-cli/pull/403))
106* (doc) update docs to use new meta ([#393](https://github.com/zapier/zapier-platform-cli/pull/393))
107* (chore) refactor `zapier login` to async ([#395](https://github.com/zapier/zapier-platform-cli/pull/395))
108* (chore) make validate command async ([#401](https://github.com/zapier/zapier-platform-cli/pull/401))
109
110### schema
111* :exclamation: (improvement, **breaking**) Change omitEmptyParams to removeMissingValuesFrom ([#63](https://github.com/zapier/zapier-platform-schema/pull/63))
112* :tada: (improvement) attempt to hoist better errors ([#62](https://github.com/zapier/zapier-platform-schema/pull/62))
113* (doc) Document that helpText supports markdown ([#61](https://github.com/zapier/zapier-platform-schema/pull/61))
114
115### core
116* :exclamation: (improvement, **breaking**) Rename `omitEmptyParams` to `removeMissingValuesFrom`. In **typescript**, this is erroneously marked as required. In the next release, it will be optional. ([#140](https://github.com/zapier/zapier-platform-core/pull/140))
117* :exclamation: (improvement, **breaking**) Resolve curlies to their original data type ([#139](https://github.com/zapier/zapier-platform-core/pull/139))
118* :exclamation: (improvement, **breaking**) Rename `bundle.meta` keys (server change, see [CLI #393](https://github.com/zapier/zapier-platform-cli/pull/393) for more info)
119* (improvement) preserve objects passed to inputData in the bundle bank ([#141](https://github.com/zapier/zapier-platform-core/pull/141))
120* (improvement) Resolve subscription related bundle fields ([#138](https://github.com/zapier/zapier-platform-core/pull/138))
121* (improvement) Prune unmatched tokens from request ([#137](https://github.com/zapier/zapier-platform-core/pull/137))
122* (chore) Resolving potential security vulnerability in lodash dependency ([#136](https://github.com/zapier/zapier-platform-core/pull/136))
123
124## 7.6.1
125
126### cli
127
128* (fix) `zapier push` doesn't stop on validation errors ([#388](https://github.com/zapier/zapier-platform-cli/pull/388))
129* (doc) Fix a typo in OAuth1 doc ([#391](https://github.com/zapier/zapier-platform-cli/pull/391), [#392](https://github.com/zapier/zapier-platform-cli/pull/392))
130* (doc) Update the AWS Lambda supported Node.js links ([#390](https://github.com/zapier/zapier-platform-cli/pull/390))
131* (doc) Update `outputFields` doc to reflect current reality ([#386](https://github.com/zapier/zapier-platform-cli/pull/386))
132
133### core
134
135* (fix) Can't use unencrypted `http://` protocol when SSL checks are disabled ([#135](https://github.com/zapier/zapier-platform-core/pull/135))
136
137## 7.6.0
138
139### cli
140
141* (improvement) `zapier convert` command has been reworked and greatly improved. Now it generates code that is more likely to work out of the box! ([#380](https://github.com/zapier/zapier-platform-cli/pull/380))
142* (improvement) Refactor to use async/await in build command ([#382](https://github.com/zapier/zapier-platform-cli/pull/382))
143
144### core
145
146* (fix) Don't add `searchOrCreates` if either is hidden ([#134](https://github.com/zapier/zapier-platform-core/pull/134))
147
148## 7.5.0
149
150### cli
151
152* (doc) Various doc improvements ([#374](https://github.com/zapier/zapier-platform-cli/pull/374))
153
154### schema
155
156* :tada: (new) Add OAuth1 support. Read [doc](https://zapier.github.io/zapier-platform-cli/#oauth1) for detail. [doc] ([#59](https://github.com/zapier/zapier-platform-schema/pull/59))
157* (doc) Be more clear about whether hook methods are required ([#58](https://github.com/zapier/zapier-platform-schema/pull/58))
158
159### core
160
161* :tada: (new) Add OAuth1 support. Read [doc](https://zapier.github.io/zapier-platform-cli/#oauth1) for detail. ([#126](https://github.com/zapier/zapier-platform-core/pull/126))
162* (fix) Make sure to censor URL-encoded values ([#129](https://github.com/zapier/zapier-platform-core/pull/129))
163* (fix) Cursor reading didn't work in tests ([#125](https://github.com/zapier/zapier-platform-core/pull/125))
164* (improvement) [Shorthand HTTP requests](https://zapier.github.io/zapier-platform-cli/#shorthand-http-requests) now parse `x-www-form-urlencoded` response bodies as well. Your app **could** break if your application server returns a JSON response body but with a `Content-Type: application/x-www-form-urlencoded` header. Switch to `z.request` if that's the case. ([#126](https://github.com/zapier/zapier-platform-core/pull/126))
165
166## 7.4.0
167
168### cli
169
170* (fix) deasync binary is missing in Windows build ([#370](https://github.com/zapier/zapier-platform-cli/pull/370))
171* (doc) Document digest auth ([#368](https://github.com/zapier/zapier-platform-cli/pull/368))
172
173### core
174
175* :tada: (new) Add support for digest auth. Read [doc](https://zapier.github.io/zapier-platform-cli/#digest) for detail. ([#123](https://github.com/zapier/zapier-platform-core/pull/123))
176* (fix) `z.stashFile` doesn't pick up filename in `Content-Disposition` ([#124](https://github.com/zapier/zapier-platform-core/pull/124))
177
178## 7.3.0
179
180### cli
181
182* (improvement) Add Dynamic Dropdown example app ([#363](https://github.com/zapier/zapier-platform-cli/pull/363))
183* (improvement) Add smoke tests ([#361](https://github.com/zapier/zapier-platform-cli/pull/361), [#362](https://github.com/zapier/zapier-platform-cli/pull/362))
184* (doc) Document `z.dehydrateFile` ([#360](https://github.com/zapier/zapier-platform-cli/pull/360))
185* (doc) Document `outputFields` ([#365](https://github.com/zapier/zapier-platform-cli/pull/365))
186* (doc) Update docs to reflect support for `async/await` ([#359](https://github.com/zapier/zapier-platform-cli/pull/359))
187
188### schema
189
190* :tada: (new) Add `omitEmptyParams` to `RequestSchema` ([#57](https://github.com/zapier/zapier-platform-schema/pull/57))
191* (improvement) Add smoke tests ([#55](https://github.com/zapier/zapier-platform-schema/pull/55))
192
193### core
194
195* :tada: (new) Introduce `z.dehydrateFile` - a new recommended method to dehydrate a file. Read [doc](https://zapier.github.io/zapier-platform-cli/#file-dehydration) for detail. ([#112](https://github.com/zapier/zapier-platform-core/pull/112), [#120](https://github.com/zapier/zapier-platform-core/pull/120))
196* :tada: (new) Add `omitEmptyParams` option to clean up empty request params automatically. Read [doc](https://zapier.github.io/zapier-platform-schema/build/schema.html#requestschema) for detail. ([#121](https://github.com/zapier/zapier-platform-core/pull/121))
197* (fix) Fix null error handling ([#117](https://github.com/zapier/zapier-platform-core/pull/117))
198* (improvement) Add smoke tests ([#116](https://github.com/zapier/zapier-platform-core/pull/116))
199
200## 7.2.2
201
202### core
203
204* (fix) Sign dehydrated payloads for better security ([#111](https://github.com/zapier/zapier-platform-core/pull/111))
205
206## 7.2.1
207
208### core
209
210* (fix) Allow to disable SSL certificate check ([#110](https://github.com/zapier/zapier-platform-core/pull/110))
211
212## 7.2.0
213
214### cli
215
216* (fix) Include required binary in the build ([#350](https://github.com/zapier/zapier-platform-cli/pull/350))
217
218### schema
219
220* (fix) Add `copy` field type to `FieldSchema` ([#52](https://github.com/zapier/zapier-platform-schema/pull/52))
221* (docs) Clarify `BasicDisplaySchema` directions description ([#51](https://github.com/zapier/zapier-platform-schema/pull/51))
222
223### core
224
225* (improvement) Better `AppTester` typescript bindings ([#103](https://github.com/zapier/zapier-platform-core/pull/103))
226
227## 7.1.0
228
229### cli
230
231* (fix) Migrating by email shouldn't ask for promote ([#341](https://github.com/zapier/zapier-platform-cli/pull/341))
232* (fix) Fix "epxeriencing" -> "experiencing" typo ([#338](https://github.com/zapier/zapier-platform-cli/pull/338))
233* (fix) Fix failing Travis badge ([#343](https://github.com/zapier/zapier-platform-cli/pull/343))
234* (improvement) Truncate `source_zip` in logs ([#348](https://github.com/zapier/zapier-platform-cli/pull/348))
235* (improvement) Migrate to cli-table3 ([#327](https://github.com/zapier/zapier-platform-cli/pull/327))
236* (docs) Session auth should be using `authData` instead of `inputData` ([#346](https://github.com/zapier/zapier-platform-cli/pull/346))
237
238## 7.0.0
239
240### cli
241
242* (improvement) Bump Node.js version to 8 ([#328](https://github.com/zapier/zapier-platform-cli/pull/328))
243* (improvement) Ask for promote when fully migrating a public app ([#326](https://github.com/zapier/zapier-platform-cli/pull/326))
244* (improvement) Add typescript example app ([#329](https://github.com/zapier/zapier-platform-cli/pull/329))
245* (improvement) Reduce package size ([#330](https://github.com/zapier/zapier-platform-cli/pull/330))
246
247### schema
248
249* (improvement) Bump Node.js version to 8 ([#48](https://github.com/zapier/zapier-platform-schema/pull/48))
250* (improvement) Reduce package size ([#49](https://github.com/zapier/zapier-platform-schema/pull/49))
251
252### core
253
254* :exclamation: (improvement, **breaking**) Bump Node.js version to **8.10.0**. Apps with dependency `zapier-platform-core >= 7.0.0` run only on Node.js **8.10.0** in AWS Lambda. If you need to continue running on Node.js 6.10.3, use `zapier-platform-core <= 6.1.0`" ([#94](https://github.com/zapier/zapier-platform-core/pull/94))
255* (fix) Add cursor to typings ([#95](https://github.com/zapier/zapier-platform-core/pull/95))
256* (improvement) Reduce package size ([#97](https://github.com/zapier/zapier-platform-core/pull/97))
257
258## 6.1.0
259
260### cli
261
262* (fix) Fix typo in `zapier register` text ([#324](https://github.com/zapier/zapier-platform-cli/pull/324))
263* (fix) Fix `npm audit` security warnings ([#320](https://github.com/zapier/zapier-platform-cli/pull/320))
264* (fix) `zapier convert` doesn't escape sample field labels ([#313](https://github.com/zapier/zapier-platform-cli/pull/313))
265* (docs) Remove Digest auth references ([#323](https://github.com/zapier/zapier-platform-cli/pull/323))
266* (docs) Add cursor docs ([#309](https://github.com/zapier/zapier-platform-cli/pull/309))
267
268### schema
269
270* (fix) Fix `npm audit` security warnings ([#46](https://github.com/zapier/zapier-platform-schema/pull/46))
271
272### core
273
274* :tada: (new) `z.cursor` store ([#76](https://github.com/zapier/zapier-platform-core/pull/76))
275* (fix) Fix missed logs ([#91](https://github.com/zapier/zapier-platform-core/pull/91))
276* (fix) Middleware isn't compiled ([#90](https://github.com/zapier/zapier-platform-core/pull/90))
277* (fix) Fix `npm audit` security warnings ([#87](https://github.com/zapier/zapier-platform-core/pull/87))
278* (improvement) Add typings ([#82](https://github.com/zapier/zapier-platform-core/pull/82))
279
280## 6.0.0
281
282### cli
283
284* :exclamation: (improvement, **breaking**) JSON format only outputs valid JSON. This is only breaking if you were working around the formatting to process the JSON before ([#260](https://github.com/zapier/zapier-platform-cli/pull/260))
285* (improvement) Better spinner ([#260](https://github.com/zapier/zapier-platform-cli/pull/260))
286
287### schema
288
289* :exclamation: (improvement, **breaking**) Fail validation if the top-level key doesn't match trigger/search/creates' `.key`. This fixes a bug where a trigger could be duplicated in the UI ([#41](https://github.com/zapier/zapier-platform-schema/pull/41))
290* (docs) Add doc annotation for hook type ([#44](https://github.com/zapier/zapier-platform-schema/pull/44))
291* (docs) Make long examples more readable ([#42](https://github.com/zapier/zapier-platform-schema/pull/42))
292
293### core
294
295* :exclamation: (improvement, **breaking**) Throw an error for key collisions between resources and standalone objects. This was previously a warning, so it shouldn't catch anyone by surprise ([#73](https://github.com/zapier/zapier-platform-core/pull/73))
296* :exclamation: (improvement, **breaking**) Remove `bundle.environment`. This has always been deprecated, but now it shouldn't show up in the bundle anymore. Given that it hasn't held data, this shouldn't cause a lot of friction ([#72](https://github.com/zapier/zapier-platform-core/pull/72))
297
298## 5.2.0
299
300### cli
301
302* :tada: (new) Add option to `zapier logs` to show bundle logs ([PR](https://github.com/zapier/zapier-platform-cli/pull/291))
303* (fix) Fix `zapier build` from crashing on missing packages ([PR](https://github.com/zapier/zapier-platform-cli/pull/301))
304* (fix) Fix `zapier convert` from crashing on certain OAuth config ([PR](https://github.com/zapier/zapier-platform-cli/pull/299))
305* (fix) Fix `zapier convert` from crashing on a number in auth mapping ([PR](https://github.com/zapier/zapier-platform-cli/pull/305))
306* (improvement) `zapier build` prints any errors from `npm install` ([PR](https://github.com/zapier/zapier-platform-cli/pull/288))
307* (docs) Add note about nested dynamic functions ([PR](https://github.com/zapier/zapier-platform-cli/pull/296))
308* (docs) Add docs about `bundle.cleanedRequest` and `bundle.rawRequest` ([PR](https://github.com/zapier/zapier-platform-cli/pull/298))
309
310### schema
311
312* (fix) Correctly invalidate field grandchildren ([PR](https://github.com/zapier/zapier-platform-schema/pull/40))
313* (docs) More examples on functional constraints ([PR](https://github.com/zapier/zapier-platform-schema/pull/39))
314
315### core
316
317* (fix) Raise exception for bad requests when stashing a file ([PR](https://github.com/zapier/zapier-platform-core/pull/75))
318* (fix) Better log censoring ([PR](https://github.com/zapier/zapier-platform-core/pull/77))
319
320## 5.1.0
321
322### cli
323
324* :tada: (new) Add "did you mean" on unrecognized commands ([PR](https://github.com/zapier/zapier-platform-cli/pull/278))
325* (fix) Fix hang issue when printing data on skinny terminal ([PR](https://github.com/zapier/zapier-platform-cli/pull/283))
326* (fix) Server returns error when running `zapier logs --debug` ([PR](https://github.com/zapier/zapier-platform-cli/pull/254))
327* (fix) Exclude unwanted files when doing `zapier build --disable-dependency-detection` ([PR](https://github.com/zapier/zapier-platform-cli/pull/258))
328* (fix) Don't overwrite `.zapierapprc` completely ([PR](https://github.com/zapier/zapier-platform-cli/pull/275))
329* (fix) Fix "CUSTOM_FIELDS_URL is not defined" error for `zapier convert` ([PR](https://github.com/zapier/zapier-platform-cli/pull/277))
330* (improvement) Less nagging about updating packages ([PR](https://github.com/zapier/zapier-platform-cli/pull/282))
331* (improvement) Add "github" and "search-or-create" example apps ([PR](https://github.com/zapier/zapier-platform-cli/pull/259), [PR2](https://github.com/zapier/zapier-platform-cli/pull/287))
332* (improvement) `zapier promote` error messages now look better ([PR](https://github.com/zapier/zapier-platform-cli/pull/280))
333* (improvement) Remove unnecessary `.nvmrc` logic ([PR](https://github.com/zapier/zapier-platform-cli/pull/256))
334* (improvement) `zapier convert` supports static dropdown ([PR](https://github.com/zapier/zapier-platform-cli/pull/267))
335* (improvement) `zapier convert` supports auth mapping better ([PR](https://github.com/zapier/zapier-platform-cli/pull/257))
336* (improvement) Fix auth issue with full scripting methods for `zapier convert` ([PR](https://github.com/zapier/zapier-platform-cli/pull/271))
337* (improvement) `zapier convert` converts samples, too ([PR](https://github.com/zapier/zapier-platform-cli/pull/266))
338* (improvement) `zapier convert` respects auth field keys in test code ([PR](https://github.com/zapier/zapier-platform-cli/pull/274))
339* (improvement) `zapier convert` generates `.env` instead of `.environment` ([PR](https://github.com/zapier/zapier-platform-cli/pull/276))
340* (improvement) `zapier convert` includes input fields to test code ([PR](https://github.com/zapier/zapier-platform-cli/pull/246))
341* (improvement) Fix session auth environment variable name for `zapier convert` ([PR](https://github.com/zapier/zapier-platform-cli/pull/281))
342* (docs) FAQ about when to use placeholders or curlies ([PR](https://github.com/zapier/zapier-platform-cli/pull/252))
343
344### schema
345
346* (fix) Only require samples for non-hidden operations ([PR](https://github.com/zapier/zapier-platform-schema/pull/33))
347* (fix) Correctly validate `children` as an array of fields ([PR](https://github.com/zapier/zapier-platform-schema/pull/34))
348* (fix) Doc rendering issue ([PR](https://github.com/zapier/zapier-platform-schema/pull/35))
349* (docs) Add doc annotation ([PR](https://github.com/zapier/zapier-platform-schema/pull/38))
350
351### core
352
353* (improvement) Bump Node version to 6.10.3 ([PR](https://github.com/zapier/zapier-platform-core/pull/69))
354* (improvement) Deprecate `.environment` in favor of `.env` ([PR](https://github.com/zapier/zapier-platform-core/pull/70))
355* (improvement) Support test framework other than Mocha ([PR](https://github.com/zapier/zapier-platform-core/pull/65))
356* (improvement) `z.console.log` also calls `console.log` ([PR](https://github.com/zapier/zapier-platform-core/pull/66))
357* (improvement) Check for object in create ([PR](https://github.com/zapier/zapier-platform-core/pull/67))
358
359## 5.0.0
360
361### cli
362
363* :tada: (new) The CLI can now run, test, and build on any version of Node.js! ([PR](https://github.com/zapier/zapier-platform-cli/pull/234))
364* :tada: (new) Read deploy key from env if available ([PR](https://github.com/zapier/zapier-platform-cli/pull/239))
365* (improvement) More specific error messages for invalid installs ([PR](https://github.com/zapier/zapier-platform-cli/pull/238))
366* (fix) `zapier env` no longer throws an error on Node versions >=8.0 ([PR](https://github.com/zapier/zapier-platform-cli/pull/242))
367* (improvement) `zapier convert` creates a .gitignore for new apps ([PR](https://github.com/zapier/zapier-platform-cli/pull/237))
368* (improvement) `zapier convert` properly escapes labels and descriptions ([PR](https://github.com/zapier/zapier-platform-cli/pull/233), [commit](https://github.com/zapier/zapier-platform-cli/commit/6d8014e9c04abb5f939affd19888c447ae1abca1))
369* (improvement) `zapier convert` only sends a token when it exists, not before ([PR](https://github.com/zapier/zapier-platform-cli/pull/236))
370* (improvement) `zapier convert` generates .environment and gives hint about editting it ([PR](https://github.com/zapier/zapier-platform-cli/pull/240))
371* (improvement) Don't require an `id` field in tests generated by `zapier convert` ([PR](https://github.com/zapier/zapier-platform-cli/pull/243))
372* (improvement) `zapier convert` adds track info to package.json ([PR](https://github.com/zapier/zapier-platform-cli/pull/245))
373* (docs) FAQ section in the README ([PR](https://github.com/zapier/zapier-platform-cli/pull/231))
374
375### schema
376
377* :exclamation: (improvement, **breaking**) `sample` is now a required field in `BasicOperationSchema` and friends. See [this doc](https://zapier.com/developer/documentation/v2/trigger-sample-results/) for more info ([PR](https://github.com/zapier/zapier-platform-schema/pull/32))
378* :exclamation: (improvement, **breaking**) `order` has been removed from `BasicDisplaySchema` ([PR](https://github.com/zapier/zapier-platform-schema/pull/27))
379
380### core
381
382* (improvement) Log when actions generated by a resource collide with manually defined ones ([PR](https://github.com/zapier/zapier-platform-core/pull/63))
383* (improvement) Properly log gzipped responses ([PR](https://github.com/zapier/zapier-platform-core/pull/62))
384
385
386## 4.3.2
387
388* (Fix) [Permission denied with `index.js`.](https://github.com/zapier/zapier-platform-cli/pull/224)
389* (Fix) [`zapier convert` didn't escape line breaks in app description.](https://github.com/zapier/zapier-platform-cli/pull/226)
390* (Doc) [Add FAQs section.](https://github.com/zapier/zapier-platform-cli/pull/225)
391* [Ensure users are authenticated before building or pushing.](https://github.com/zapier/zapier-platform-cli/pull/227)
392
393## 4.3.1
394
395* (Fix) [Broken patching on http.request.](https://github.com/zapier/zapier-platform-core/pull/61)
396
397## 4.3.0
398
399* (New) `zapier convert` now supports [custom auth mapping](https://github.com/zapier/zapier-platform-cli/pull/200), [searchOrCreates](https://github.com/zapier/zapier-platform-cli/pull/207) and ["Send to Action Endpoint URL in JSON body" checkbox](https://github.com/zapier/zapier-platform-cli/pull/204).
400* (New) [`zapier scaffold` now also creates a test.](https://github.com/zapier/zapier-platform-cli/pull/212)
401* (New) [Allow ordering static dropdowns.](https://github.com/zapier/zapier-platform-schema/pull/30)
402* (Fix) [Properly replace variables in URLs in `zapier convert` generated code.](https://github.com/zapier/zapier-platform-cli/pull/208)
403* (Fix) [Fix TypeError in `http.request` patch.](https://github.com/zapier/zapier-platform-core/pull/59)
404* (Doc) [Clarify pushing doesn't reload browser automatically.](https://github.com/zapier/zapier-platform-cli/pull/218)
405* [Use working endpoints for scaffolds.](https://github.com/zapier/zapier-platform-cli/pull/215)
406* [Notify for update less often.](https://github.com/zapier/zapier-platform-cli/pull/210)
407* [Introduce Prettier into development process.](https://github.com/zapier/zapier-platform-cli/pull/209)
408* [Ensure all template code use z.JSON.parse.](https://github.com/zapier/zapier-platform-cli/pull/216)
409
410## 4.2.3
411
412* The first build made by Travis CI!
413
414## 4.2.1
415
416* (Fix) Repack zapier-platform-core to really fix bloated size
417
418## 4.2.0
419
420* (New) `zapier convert` now supports [input](https://github.com/zapier/zapier-platform-cli/pull/196) and [output custom fields](https://github.com/zapier/zapier-platform-cli/pull/199).
421* (New) [Prettify `zapier convert` generated code.](https://github.com/zapier/zapier-platform-cli/pull/202)
422* (Fix) [Fix bloated size of zapier-platform-core 4.1.0 package.](https://github.com/zapier/zapier-platform-core/pull/56)
423* (Fix) [Fix typos in docs.](https://github.com/zapier/zapier-platform-cli/pull/197)
424* (Doc) [Add 'Mocking Requests' section to docs.](https://github.com/zapier/zapier-platform-cli/pull/201)
425* (Doc) [Mark step 'order' as deprecated.](https://github.com/zapier/zapier-platform-schema/pull/28)
426
427## 4.1.0
428
429* (New) `zapier convert` now supports [auth](https://github.com/zapier/zapier-platform-cli/pull/185) and [search](https://github.com/zapier/zapier-platform-cli/pull/186) scripting methods.
430* (New) [Allow to migrate users by email.](https://github.com/zapier/zapier-platform-cli/pull/192)
431* (New) [Accept changelog for app promotion.](https://github.com/zapier/zapier-platform-cli/pull/194)
432* (Doc) [Add explanation about uppercased env vars.](https://github.com/zapier/zapier-platform-cli/pull/195)
433* [Improve first promote message.](https://github.com/zapier/zapier-platform-cli/pull/191)
434
435## 4.0.0
436
437* (**BREAKING**) (Fix) [Encode form requests with + instead of %20 by default](https://github.com/zapier/zapier-platform-core/pull/52)
438* (**BREAKING**) (Fix) [Don't add content-type if there's one](https://github.com/zapier/zapier-platform-core/pull/55)
439* (Fix) [Replace _.truncate, save memory.](https://github.com/zapier/zapier-platform-core/pull/54)
440* (Fix) [fix: exit code 1 for only for errors](https://github.com/zapier/zapier-platform-cli/pull/154)
441* (Fix) [`zapier convert`: Escape special chars in field help text](https://github.com/zapier/zapier-platform-cli/pull/182)
442* (Fix) [`zapier convert`: Normalize newlines in scripting ](https://github.com/zapier/zapier-platform-cli/pull/183)
443* (New) [`zapier convert`: Generate create code based on different scripting method combinations](https://github.com/zapier/zapier-platform-cli/pull/181)
444* (New) [`zapier convert`: Ignore _pre_poll and _post_poll if _poll exists ](https://github.com/zapier/zapier-platform-cli/pull/187)
445* (New) [Customize update notification message](https://github.com/zapier/zapier-platform-cli/pull/188)
446* (New) [Allow to include a regexp of paths for the build file](https://github.com/zapier/zapier-platform-cli/pull/158)
447* (New) [Add example docs about computed fields.](https://github.com/zapier/zapier-platform-cli/pull/184)
448
449
450## 3.3.0
451
452* [Log http(s) requests for non-client library](https://github.com/zapier/zapier-platform-core/pull/51)
453* Many improvements for `zapier convert`: [Copy noun](https://github.com/zapier/zapier-platform-cli/pull/159), [Copy display label](https://github.com/zapier/zapier-platform-cli/pull/160), [Copy description](https://github.com/zapier/zapier-platform-cli/pull/163), [Copy important and hidden props](https://github.com/zapier/zapier-platform-cli/pull/166), [Add more tests](https://github.com/zapier/zapier-platform-cli/pull/170), [Converting more auths](https://github.com/zapier/zapier-platform-cli/pull/167), [Allowing deasync in build](https://github.com/zapier/zapier-platform-cli/pull/169), [Converting scripting for triggers](https://github.com/zapier/zapier-platform-cli/pull/172), [Support for dynamic dropdowns and search-powered fields](https://github.com/zapier/zapier-platform-cli/pull/173), [Adding a command for integrations test](https://github.com/zapier/zapier-platform-cli/pull/175), [Add basic tests for triggers, creates, and searches](https://github.com/zapier/zapier-platform-cli/pull/178), [Remove empty help text](https://github.com/zapier/zapier-platform-cli/pull/179)
454* [Skip style check on invalid apps](https://github.com/zapier/zapier-platform-cli/pull/168)
455* [Add header to docs](https://github.com/zapier/zapier-platform-cli/pull/153)
456* [Add option to `--grep` on `zapier test`](https://github.com/zapier/zapier-platform-cli/pull/177)
457
458## 3.2.1
459
460* [Fixes a problem with a sub-sub-dependency](https://github.com/zapier/zapier-platform-cli/issues/157).
461
462## 3.2.0
463
464* [Allow invitations per version](https://github.com/zapier/zapier-platform-cli/pull/150). Try `zapier help invite` for more details.
465* [Added bundle.meta.zap.id for performSubscribe and performUnsubscribe](https://github.com/zapier/zapier-platform-cli/pull/149).
466* [Allow modules to be objects in app definitions](https://github.com/zapier/zapier-platform-core/pull/48).
467* [Use "application" discrete-type instead of "binary" as default content type.](https://github.com/zapier/zapier-platform-core/pull/49).
468* [Use un-obfuscated data when logging to stdout](https://github.com/zapier/zapier-platform-core/pull/50).
469* Improved/fixed sample and scaffolding code in docs.
470* Fixed typos in docs.
471
472## 3.1.0
473
474* [Allow setting a `Content-Type` when stashing a file](https://github.com/zapier/zapier-platform-core/pull/47)
475* [Increase dehydrator max payload size to 2 KB](https://github.com/zapier/zapier-platform-core/pull/46)
476
477## 3.0.1
478
479* Fixed node/npm dependency check for 3.x.
480* Fixed URL base endpoint in docs.
481
482## 3.0.0
483
484* (**BREAKING**) `inputField`s will now start [throwing errors in Schema validation](https://github.com/zapier/zapier-platform-schema/pull/25) if there are mutually-exclusive fields.
485* [Added subdomain field support to CLI apps](https://github.com/zapier/zapier-platform-schema/pull/26).
486* [Allowed file stashing within a create/action](https://github.com/zapier/zapier-platform-core/pull/45).
487* [Added style checks to `zapier build`](https://github.com/zapier/zapier-platform-cli/pull/130).
488* Fixed [`zapier build` on Windows](https://github.com/zapier/zapier-platform-cli/pull/122).
489
490## 2.2.0
491
492* It's now possible to delete apps and app versions with [`zapier delete`](https://zapier.github.io/zapier-platform-cli/cli.html#delete)!
493* You'll now get a warning when doing `zapier push` or `zapier upload` if your app's `zapier-platform-core` version is not up-to-date.
494* It's now possible to skip validation when testing with [`zapier test --skip-validate`](https://zapier.github.io/zapier-platform-cli/cli.html#test)!
495* Added docs around upgrading.
496* Improved docs around authentication, migration, deprecation, and dehydration.
497* Fixed `zapier logs --version=x.x.x` showing `zapier --version`.
498* Improved error messages for [some schema validation errors](https://github.com/zapier/zapier-platform-schema/pull/24).
499* Fixed Python error when a create, as part of a search or create, returned a list with one item ([errors sooner, in core now, with a nicer message](https://github.com/zapier/zapier-platform-core/pull/44)).
500* [Objects received via Hook triggers no longer require an `id`, and checks were improved](https://github.com/zapier/zapier-platform-core/pull/43).
501* Minor misc fixes.
502
503## 2.1.0
504
505* [Connection Label is now available](https://zapier.github.io/zapier-platform-schema/build/schema.html#authenticationschema) (`connectionLabel: '{{bundle.inputData.email}}'` inside `authentication`)
506* [Locking is now available for `create`](https://zapier.github.io/zapier-platform-schema/build/schema.html#createschema) (`shouldLock: true` inside `.operation`)
507* Fix typos in docs
508
509## 2.0.1
510
511* Fix broken appTester on Windows OS.
512* Require the exact version of zapier-platform-core in package.json.
513* Document middleware's z object lacks z.request.
514* Fix typo in session auth docs.
515
516
517## 2.0.0
518
519* (**BREAKING**) CLI 2.x apps run only on NodeJS `v6.10.2` in AWS Lambda. If you need to run on NodeJS `v4.3.2`, use the CLI 1.x release.
520* (**BREAKING**) Delete property `searchOrCreate` from the properties of ResourceSchema.
521* Style checks run by default during `zapier validate`.
522* Validation is run during `zapier test`.
523* The CLI now uses update-notifier to let you know when there's a new version available.
524* Rename `global` to `public` for consistency across Zapier platform.
525
526
527## 1.0.11
528
529* `zapier --validate` now includes the `--include-style` flag to validate against [style checks](https://zapier.com/developer/documentation/v2/style-checks-reference/).
530* There are extra checks around return types from triggers, searches, and creates.
531* Some doc typos were squashed.
532
533## 1.0.10
534
535* Added new Files example app with `zapier init . --template=files`.
536* Properly exit on node version mismatch while running `zapier test`.
537* Upgraded `node-fetch` in `core` (fixes some edge-case issues for `multipart/form-data` requests).
538* `zapier test` is now quiet by default. `zapier test --debug` will output details.
539* `zapier logs --type=http --detailed` is more clearly exposed.
540* Fixes `searchOrCreate` schema validation error for resources with `search` and `create`.
541
542## 1.0.9
543
544* Functions in `app.afterResponse` will now get called.
545* Add check in middleware, to make sure creates return only 1 object.
546* Fixes issue for deep object checking.
547* Minor docs fixes.
548
549## 1.0.8
550
551* `z.stashFile` is no longer allowed outside of `hydrators`.
552* Adding analytics to the web-based documentation.
553* Minor docs fixes.
554
555## 1.0.7
556
557* Improved `link` command UX on error/non-existing apps.
558
559## 1.0.6
560
561* Fixed `convert` command for `outputFields`.
562* Improvements on `validate-templates` and `zapier test` (now supports `--timeout=5000`).
563* Minor docs fixes.
564
565## 1.0.5
566
567* Use `ZAPIER_BASE_ENDPOINT` for `push` and `convert`.
568* Don't show command help on error.
569* Minor docs fixes.
570
571## 1.0.4
572
573* Fix issues in Windows.
574* Minor docs fixes.
575
576## 1.0.3
577
578* Fixes fatal error when `build` directory didn't exist.
579* Minor docs fixes.
580
581## 1.0.2
582
583* Support streamed non-ascii files in `z.stashFile`.
584* Minor docs fixes.
585
586## 1.0.1
587
588* Minor docs fixes.
589
590## 1.0.0
591
592* Removing beta "label".
593* Minor docs fixes.
594
595## 0.10.2
596
597* Added `dict` property for `inputFields`, to allow asking for a dictionary (key/value pair) input.
598* Added new REST Hooks example app with `zapier init . --template=rest-hooks`.
599* Fixed: Now correctly ask for line items when `children` is set.
600
601## 0.10.1
602
603* Added `search` property for `inputFields`, to allow linking a search connector.
604
605## 0.10.0
606
607* **BREAKING CHANGE** Removed `getResourceOperation` in creates/searches in favor of `performGet`.
608
609* Added support for `performList` in webhook triggers
610* Fixed: Now correctly copy outputFields and samples to a trigger/search/create operation that links to a resource
611
612## 0.9.12
613
614* Added `performList` to hook operations.
615
616## 0.9.10
617
618* Documentation expanded:
619 * Updated `z.dehydrate()` / `appTester()` / examples to reflect the new arguments.
620 * `z.dehydrate('someFunction')` must be `z.dehydrate(App.hydrators.someFunction)`
621 * `appTester('contact.list')` must be `appTester(App.resources.contact.list.operation.perform)`
622 * Documented fields, custom/dynamic fields, and dynamic dropdowns plus examples.
623 * `zapier env ... -remove` flag documented.
624* `zapier describe` now describes much more about the app - included auth info, redirect_uri, resources and all resource paths.
625* fixed `zapier scaffold` bug with undefined `INPUT_FIELDS`
626
627## 0.9.9
628
629Initial release to public. Read docs here https://github.com/zapier/zapier-platform-cli.