- (Fix) Permission denied with
index.js
. - (Fix)
zapier convert
didn't escape line breaks in app description. - (Doc) Add FAQs section.
- Ensure users are authenticated before building or pushing.
- (New)
zapier convert
now supports custom auth mapping, searchOrCreates and "Send to Action Endpoint URL in JSON body" checkbox. - (New)
zapier scaffold
now also creates a test. - (New) Allow ordering static dropdowns.
- (Fix) Properly replace variables in URLs in
zapier convert
generated code. - (Fix) Fix TypeError in
http.request
patch. - (Doc) Clarify pushing doesn't reload browser automatically.
- Use working endpoints for scaffolds.
- Notify for update less often.
- Introduce Prettier into development process.
- Ensure all template code use z.JSON.parse.
- The first build made by Travis CI!
- (Fix) Repack zapier-platform-core to really fix bloated size
- (New)
zapier convert
now supports input and output custom fields. - (New) Prettify
zapier convert
generated code. - (Fix) Fix bloated size of zapier-platform-core 4.1.0 package.
- (Fix) Fix typos in docs.
- (Doc) Add 'Mocking Requests' section to docs.
- (Doc) Mark step 'order' as deprecated.
- (New)
zapier convert
now supports auth and search scripting methods. - (New) Allow to migrate users by email.
- (New) Accept changelog for app promotion.
- (Doc) Add explanation about uppercased env vars.
- Improve first promote message.
- (BREAKING) (Fix) Encode form requests with + instead of %20 by default
- (BREAKING) (Fix) Don't add content-type if there's one
- (Fix) Replace _.truncate, save memory.
- (Fix) fix: exit code 1 for only for errors
- (Fix)
zapier convert
: Escape special chars in field help text - (Fix)
zapier convert
: Normalize newlines in scripting - (New)
zapier convert
: Generate create code based on different scripting method combinations - (New)
zapier convert
: Ignore _pre_poll and _post_poll if _poll exists - (New) Customize update notification message
- (New) Allow to include a regexp of paths for the build file
- (New) Add example docs about computed fields.
- Log http(s) requests for non-client library
- Many improvements for
zapier convert
: Copy noun, Copy display label, Copy description, Copy important and hidden props, Add more tests, Converting more auths, Allowing deasync in build, Converting scripting for triggers, Support for dynamic dropdowns and search-powered fields, Adding a command for integrations test, Add basic tests for triggers, creates, and searches, Remove empty help text - Skip style check on invalid apps
- Add header to docs
- Add option to
--grep
onzapier test
- 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.