UNPKG

zapier-platform-cli

Version:

The CLI for apps in the Zapier Developer Platform.

154 lines (103 loc) 6.09 kB
## 3.0.1 * Fixed node/npm dependency check for 3.x. * Fixed URL base endpoint in docs. ## 3.0.0 * (**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. * [Added subdomain field support to CLI apps](https://github.com/zapier/zapier-platform-schema/pull/26). * [Allowed file stashing within a create/action](https://github.com/zapier/zapier-platform-core/pull/45). * [Added style checks to `zapier build`](https://github.com/zapier/zapier-platform-cli/pull/130). * Fixed [`zapier build` on Windows](https://github.com/zapier/zapier-platform-cli/pull/122). ## 2.2.0 * It's now possible to delete apps and app versions with [`zapier delete`](https://zapier.github.io/zapier-platform-cli/cli.html#delete)! * 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. * It's now possible to skip validation when testing with [`zapier test --skip-validate`](https://zapier.github.io/zapier-platform-cli/cli.html#test)! * Added docs around upgrading. * Improved docs around authentication, migration, deprecation, and dehydration. * Fixed `zapier logs --version=x.x.x` showing `zapier --version`. * Improved error messages for [some schema validation errors](https://github.com/zapier/zapier-platform-schema/pull/24). * 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)). * [Objects received via Hook triggers no longer require an `id`, and checks were improved](https://github.com/zapier/zapier-platform-core/pull/43). * Minor misc fixes. ## 2.1.0 * [Connection Label is now available](https://zapier.github.io/zapier-platform-schema/build/schema.html#authenticationschema) (`connectionLabel: '{{bundle.inputData.email}}'` inside `authentication`) * [Locking is now available for `create`](https://zapier.github.io/zapier-platform-schema/build/schema.html#createschema) (`shouldLock: true` inside `.operation`) * Fix typos in docs ## 2.0.1 * Fix broken appTester on Windows OS. * Require the exact version of zapier-platform-core in package.json. * Document middleware's z object lacks z.request. * Fix typo in session auth docs. ## 2.0.0 * (**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. * (**BREAKING**) Delete property `searchOrCreate` from the properties of ResourceSchema. * Style checks run by default during `zapier validate`. * Validation is run during `zapier test`. * The CLI now uses update-notifier to let you know when there's a new version available. * Rename `global` to `public` for consistency across Zapier platform. ## 1.0.11 * `zapier --validate` now includes the `--include-style` flag to validate against [style checks](https://zapier.com/developer/documentation/v2/style-checks-reference/). * There are extra checks around return types from triggers, searches, and creates. * Some doc typos were squashed. ## 1.0.10 * Added new Files example app with `zapier init . --template=files`. * Properly exit on node version mismatch while running `zapier test`. * Upgraded `node-fetch` in `core` (fixes some edge-case issues for `multipart/form-data` requests). * `zapier test` is now quiet by default. `zapier test --debug` will output details. * `zapier logs --type=http --detailed` is more clearly exposed. * Fixes `searchOrCreate` schema validation error for resources with `search` and `create`. ## 1.0.9 * Functions in `app.afterResponse` will now get called. * Add check in middleware, to make sure creates return only 1 object. * Fixes issue for deep object checking. * Minor docs fixes. ## 1.0.8 * `z.stashFile` is no longer allowed outside of `hydrators`. * Adding analytics to the web-based documentation. * Minor docs fixes. ## 1.0.7 * Improved `link` command UX on error/non-existing apps. ## 1.0.6 * Fixed `convert` command for `outputFields`. * Improvements on `validate-templates` and `zapier test` (now supports `--timeout=5000`). * Minor docs fixes. ## 1.0.5 * Use `ZAPIER_BASE_ENDPOINT` for `push` and `convert`. * Don't show command help on error. * Minor docs fixes. ## 1.0.4 * Fix issues in Windows. * Minor docs fixes. ## 1.0.3 * Fixes fatal error when `build` directory didn't exist. * Minor docs fixes. ## 1.0.2 * Support streamed non-ascii files in `z.stashFile`. * Minor docs fixes. ## 1.0.1 * Minor docs fixes. ## 1.0.0 * Removing beta "label". * Minor docs fixes. ## 0.10.2 * Added `dict` property for `inputFields`, to allow asking for a dictionary (key/value pair) input. * Added new REST Hooks example app with `zapier init . --template=rest-hooks`. * Fixed: Now correctly ask for line items when `children` is set. ## 0.10.1 * Added `search` property for `inputFields`, to allow linking a search connector. ## 0.10.0 * **BREAKING CHANGE** Removed `getResourceOperation` in creates/searches in favor of `performGet`. * Added support for `performList` in webhook triggers * Fixed: Now correctly copy outputFields and samples to a trigger/search/create operation that links to a resource ## 0.9.12 * Added `performList` to hook operations. ## 0.9.10 * Documentation expanded: * Updated `z.dehydrate()` / `appTester()` / examples to reflect the new arguments. * `z.dehydrate('someFunction')` must be `z.dehydrate(App.hydrators.someFunction)` * `appTester('contact.list')` must be `appTester(App.resources.contact.list.operation.perform)` * Documented fields, custom/dynamic fields, and dynamic dropdowns plus examples. * `zapier env ... -remove` flag documented. * `zapier describe` now describes much more about the app - included auth info, redirect_uri, resources and all resource paths. * fixed `zapier scaffold` bug with undefined `INPUT_FIELDS` ## 0.9.9 Initial release to public. Read docs here https://github.com/zapier/zapier-platform-cli.