- Allow invitations per version. Try
zapier help invite
for more details. - Added bundle.meta.zap.id for performSubscribe and performUnsubscribe.
- Allow modules to be objects in app definitions.
- Use "application" discrete-type instead of "binary" as default content type..
- Use un-obfuscated data when logging to stdout.
- Improved/fixed sample and scaffolding code in docs.
- Fixed typos in docs.
- Fixed node/npm dependency check for 3.x.
- Fixed URL base endpoint in docs.
- (BREAKING)
inputField
s will now start throwing errors in Schema validation if there are mutually-exclusive fields. - Added subdomain field support to CLI apps.
- Allowed file stashing within a create/action.
- Added style checks to
zapier build
. - Fixed
zapier build
on Windows.
- It's now possible to delete apps and app versions with
zapier delete
! - You'll now get a warning when doing
zapier push
orzapier upload
if your app'szapier-platform-core
version is not up-to-date. - It's now possible to skip validation when testing with
zapier test --skip-validate
! - Added docs around upgrading.
- Improved docs around authentication, migration, deprecation, and dehydration.
- Fixed
zapier logs --version=x.x.x
showingzapier --version
. - Improved error messages for some schema validation errors.
- 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).
- Objects received via Hook triggers no longer require an
id
, and checks were improved. - Minor misc fixes.
- Connection Label is now available (
connectionLabel: '{{bundle.inputData.email}}'
insideauthentication
) - Locking is now available for
create
(shouldLock: true
inside.operation
) - Fix typos in docs
- 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.
- (BREAKING) CLI 2.x apps run only on NodeJS
v6.10.2
in AWS Lambda. If you need to run on NodeJSv4.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
topublic
for consistency across Zapier platform.
zapier --validate
now includes the--include-style
flag to validate against style checks.- There are extra checks around return types from triggers, searches, and creates.
- Some doc typos were squashed.
- Added new Files example app with
zapier init . --template=files
. - Properly exit on node version mismatch while running
zapier test
. - Upgraded
node-fetch
incore
(fixes some edge-case issues formultipart/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 withsearch
andcreate
.
- 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.
z.stashFile
is no longer allowed outside ofhydrators
.- Adding analytics to the web-based documentation.
- Minor docs fixes.
- Improved
link
command UX on error/non-existing apps.
- Fixed
convert
command foroutputFields
. - Improvements on
validate-templates
andzapier test
(now supports--timeout=5000
). - Minor docs fixes.
- Use
ZAPIER_BASE_ENDPOINT
forpush
andconvert
. - Don't show command help on error.
- Minor docs fixes.
- Fix issues in Windows.
- Minor docs fixes.
- Fixes fatal error when
build
directory didn't exist. - Minor docs fixes.
- Support streamed non-ascii files in
z.stashFile
. - Minor docs fixes.
- Minor docs fixes.
- Removing beta "label".
- Minor docs fixes.
- Added
dict
property forinputFields
, 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.
- Added
search
property forinputFields
, to allow linking a search connector.
-
BREAKING CHANGE Removed
getResourceOperation
in creates/searches in favor ofperformGet
. -
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
- Added
performList
to hook operations.
- Documentation expanded:
- Updated
z.dehydrate()
/appTester()
/ examples to reflect the new arguments.z.dehydrate('someFunction')
must bez.dehydrate(App.hydrators.someFunction)
appTester('contact.list')
must beappTester(App.resources.contact.list.operation.perform)
- Documented fields, custom/dynamic fields, and dynamic dropdowns plus examples.
zapier env ... -remove
flag documented.
- Updated
zapier describe
now describes much more about the app - included auth info, redirect_uri, resources and all resource paths.- fixed
zapier scaffold
bug with undefinedINPUT_FIELDS
Initial release to public. Read docs here https://github.com/zapier/zapier-platform-cli.