Compose-ready workspace: packages/zappier (rate card, portal, Stripe), packages/verae-zapier-middleware (timestamp + NATS), packages/verae-zapier (CLI app), vendor/zapier-platform, and research/zapier vendor corpus. Gate 0 structure checks pass. Product code and research are not yet wired.
51 KiB
9.7.3
released 2022-03-21
cli
- None!
core
- 🐛 Fix another hanging issue where an action could be invoked multiple times (#514)
schema
- None!
9.7.2
released 2022-03-01
cli
- None!
core
- 💅
z.request()now acceptsskipEncodingCharsoption to skip percent-encoding specific characters (#499)
schema
- 💅 Add
skipEncodingCharstoRequestSchema(#499)
misc
- 🔨 Improve build script (#500)
9.7.1
released 2022-02-23
cli
- 🔨 Bump node-fetch to 2.6.7 (#492)
core
- 🐛 Fix hanging issue where an action could be invoked multiple times (#491)
- 🔨 Bump node-fetch to 2.6.7 (#492)
schema
- 🔨 Bump node-fetch to 2.6.7 (#492)
9.7.0
released 2022-02-14
cli
- None!
core
- 🐛 Fix
value.replace is not a functionerror when resolving missing curlies (#467) - 🐛 Handle case where
legacy.scriptingSourceis an empty string (#478) - 💅 Improve
z.console.logand HTTP logging performance (#483)
schema
- None!
9.6.0
released 2021-12-03
cli
- None!
core
- 🐛 Fix backpressure issue when piping request bodies (#462)
- Rewrite
z.stashFile()with various improvements and bugfixes (#453)- 💅
knownLengthis no longer required for any kinds of streams, includingz.request({ url, raw: true })andfs.createReadStream() - 💅 Detect file types more smartly
- 💅 Generate filenames more smartly
- 💅 Improve performance by making concurrent requests
- 🐛 Fix
MalformedPOSTRequesterror when the reponse is gzipped and has a smallerContent-Length - 🔨 Better test coverage
- See #453 for more details
- 💅
schema
- 💅 Allow spaces and sqaure brackets in
RefResourceSchema(#456)
misc
9.5.0
released 2021-07-02
cli
- None!
core
schema
- None!
9.4.2
cli
- None!
core
- 🐛
ResponseErrorno longer fails when request israw(#320) - 🐛 Redirecting from
httpstohttpbreaks when disabling SSL certificate checks (#314)
schema
- None!
9.4.0
cli
- 💅
buildandpushcommand now produces smaller zips (≈30% of the original size!) (#202)
core
- 💅
z.requestnow has anallowGetBodyoption that allows you to send a GET request with a body (#195) - 📜 Update examples to demonstrate
z.errors.Error(#198) - 📜 Encourage use of
response.jsonrather thanz.JSON.parse(response.content)(#200) - 🔨 Include
User-Agentheader for internal calls (#204)
schema
- No changes
9.3.0
cli
- No changes
core
- 🎉 We have new error classes! Use them to help improve user-facing error messages. Read Error Handling in the docs for more. (#189)
- 💅 Show variable name when curlies have a type error (#188)
schema
- 💅
RequestSchemanow has aserializeValueForCurliesoption, allowing to "reliably interpolate arrays or objects to a string" (#190)
9.2.0
cli
- 🎉
scaffoldcommand was entirely rewritten. Now it generates better code and is more resilient. (#146) - 🐛 Fix
convertcommand so it correctly handles a visual builder app converted from Web Builder (#159) - 🐛 Allow env variables containing equals (#179)
- 🐛 Fix SSO link in
logincommand output (#157) - 🔨 Fix test circular dependency (#184)
core
- 🐛 Preserve non-empty values that include empty curlies in request objects (#162)
- 🐛 Improve
appTestertypes and bump Node versions (#172) - 🔨 Fix smoke test circular dependency (#175, #185)
schema
- 📜 Clarify
FieldSchema.listwhen used ininputFieldsvs.outputFields(#143)
9.1.0
cli
- 🎉 CLI now has brand new tab completion! Learn how to activate it in the doc. (#134)
- 💅 Make CLI text style more consistent (#132)
- 💅
validatecommand now uses a language consistent with the UI (#132) - 🐛
validatecommand no longer requires login (#119) - 🐛 Fix
convertcommand crashing over a trailing comment (#147) - 🐛 Projects generated by
convertcommand now defaults to Node 10 (#123) - 🔨
initcommand now pulls examples from a tagged version (#127) - 🔨 Refactor
convertcommand (#131) - 🔨 Refactor
describecommand (#129) - 🔨 Refactor
linkcommand (#128) - 🔨 Refactor
logscommand (#121) - 🔨 Refactor
registercommand (#122) - 🔨 Finish oclif migration and clean up unused code (#133)
core
- 🐛 Fix broken digest auth since 8.3.0 (#153)
- 🐛 Basic auth now allows empty username or password (#130)
- 🔨 TypeScript definition fixes (#124)
schema
- No changes
9.0.0
This is a big one! There are a few areas with breaking changes. At a high level:
- Zapier integrations that depend on the new Core v9 will run using
Node.js v10 - CLI had a lot of refactoring under the hood. A number of commands changed their args and/or name. Check out the CLI docs for the full rundown.
- All packages drop support for Node 6 (which has been EOL for a while, so hopefully this isn't news)
To successfully migrate to this version, you'll probably need to:
- install Node 10 using
nvm. Lambda uses10.16.13(source), but any will do. - Check the CLI changelog below and adjust any scripts that call the CLI accordingly
- Update your integration's
zapier-platform-coredependency to9.0.0. - Run unit tests on Node 10 if you haven't before
- Assuming your code works on Node 10, go through the regular push, promote, migrate flow. There aren't any other breaking changes from and end-user perspective.
As always, feel free to reach out if you've got any questions.
See below for a detailed changelog:
cli
- ❗ Remove
--include-js-mapflag from thebuildandpushcommands (#99) - ❗ remove watch command (#100)
- ❗ Refactor
envcommand. It's nowenv:get,env:setandenv:unset(docs) (#104) - ❗ Remove
inviteandcollaboratecommands. This functionality is now underusers(docs) andteam(docs) commands, respectively (#106) - ❗ Refactor
deleteintodelete:integrationanddelete:version(docs) (#109) - ❗ Refactor
logoutcommand to only clear the local session, not all of them (#60) - ❗
scaffoldcommand errors if a file name already exists (#88) - ❗
validatedepends on having a validdeployKeyavailable (either in the environment or in the auth file,~/.zapierrc). This is a regression and will be fixed in a later version. In the meantime, see Using CI for more info. - 🎉 Add saml support during
login(#61) - Refactor the following commands to use the new CLI setup:
- build
- delete
- deprecate
- env
- history
- login
- logout
- migrate
- promote
- push
- scaffold
- test
- upload
- validate
- versions
- Deprecate
appscommand in favor ofintegrations(#105) - Run validation during build against
/checkendpoint (#111) - chore: rebuild yarn.lock (#96)
core
- 🎉 Apps now run on Node.js
v10 - (docs) update CHANGELOG.md links to point to zapier-platform repository (#107)
schema
- (fix) Make label & description optional for hidden actions (#69)
- (fix) Be more permissive with mutually exclusive properties in input fields (#91)
8.4.2
The only change of this release is we bumped Lodash to 4.17.15 (#95).
No more security warnings from npm audit!
8.4.1
cli
- (chore) Don't send analytics when running tests (#84)
schema
- No changes
core
- (fix) Strip URL query parameters from error messages for security (#85)
- (chore) Don't send analytics when running tests (#86)
8.4.0
cli
- 🎉 Added analytics to the CLI. These are vital for helping us improve our product. Read more about what we collect here.
schema
- No changes
core
- No changes
8.3.0
The big change of this release is we started to maintain all the packages in a monorepo. It's more like an internal refactoring, so it shouldn't affect developer experience. Major work includes:
- (chore) Switch to use yarn (#1)
- (chore) Restructure and rename directories (#2)
- (chore) Adjust
zapier initto pull from monorepo (#4) - (chore) Set up tests on Travis CI (#5)
- (chore) Publish from Travis CI (#33)
- (chore) Centralize husky code (#34)
- (chore) Move tooling to root (#46)
cli
- (chore) Adopt oclif CLI framework, started with
zapier initcommand (#43) - (chore) Bump adm-zip (#6)
- (docs) Update computed fields docs (#7)
schema
core
8.2.1
cli
None!
schema
- (fix) Drop help text length requirement (#70)
core
None!
8.2.0
cli
- 🎉 (feature) Convert visual apps to CLI. (#427)
- (feature) Add per app version helpers (#406)
- (chore) bump travis node version (#435)
- (chore) remove babel (#430)
- (chore) Add eslint-plugin-mocha (#429)
schema
- (fix) Reduce minLength for BasicDisplaySchema to 1 (#69)
core
- (fix) Be more defensive when creating a buffer (#155)
- (fix) fix regression where env is ignored (#154)
- (fix) Prevent raw curies from being sent in a request. Allow removing empty… (#153)
- (fix) Censor sensitive numbers (#152)
8.1.0
cli
- (fix) Add a better error message when uploading with a zip (#408)
- (chore) port logout command to async func (#419)
- (docs) Add code examples and scenarios to the dynamic dropdowns section of the Readme (#415)
- (docs) Add example for input fields with 'children' parameter (#413)
- (docs) Update signup link (#412)
- (docs) Update readme details for version number (#411)
- (docs) Misc improvements (#423)
schema
core
- (improvement) Allow Godzilla to require modules in code mode (#145)
- (improvement) Add the ability to skip http patching (#150)
- (fix) Censor auth headers in edge cases (#151)
- (fix) Add meta to the bundle bank for resolving curlies. (#149)
- (fix) Pass correct storekey (#148)
- (fix) Add optional parameter to createAppTester to customize storeKey (#147)
- (fix) Fix individual types for removeMissingValuesFrom object (#146)
- (fix) Make removeMissing correctly optional (#143)
8.0.1
A quick bugfix to resolve a regression
cli
None!
schema
- (fix) actually return validator class (#64)
core
None!
8.0.0
This is a larger-than-normal release that coincides with the release of our new 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.
omitEmptyParams has a new data type
We've changed the type of (the option formally known as) omitEmptyParams to accommodate clearing data from the query params and/or the request body
// before
z.request({
url: 'https://site.com',
omitEmptyParams: true,
});
// after:
z.request({
url: 'https://site.com',
removeMissingValuesFrom: { params: true },
});
Curlies Don't Clobber
If 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.
bundle.meta has a new coat of paint
We 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 that should make this an easy thing to change.
Below are all of the changes:
cli
- (improvement) respect 2fa settings (#396)
- (doc) Add a Docker and Docker Compose section for native environments. (#397)
- (doc) update collaborator to admin (#403)
- (doc) update docs to use new meta (#393)
- (chore) refactor
zapier loginto async (#395) - (chore) make validate command async (#401)
schema
- ❗ (improvement, breaking) Change omitEmptyParams to removeMissingValuesFrom (#63)
- 🎉 (improvement) attempt to hoist better errors (#62)
- (doc) Document that helpText supports markdown (#61)
core
- ❗ (improvement, breaking) Rename
omitEmptyParamstoremoveMissingValuesFrom. In typescript, this is erroneously marked as required. In the next release, it will be optional. (#140) - ❗ (improvement, breaking) Resolve curlies to their original data type (#139)
- ❗ (improvement, breaking) Rename
bundle.metakeys (server change, see CLI #393 for more info) - (improvement) preserve objects passed to inputData in the bundle bank (#141)
- (improvement) Resolve subscription related bundle fields (#138)
- (improvement) Prune unmatched tokens from request (#137)
- (chore) Resolving potential security vulnerability in lodash dependency (#136)
7.6.1
cli
- (fix)
zapier pushdoesn't stop on validation errors (#388) - (doc) Fix a typo in OAuth1 doc (#391, #392)
- (doc) Update the AWS Lambda supported Node.js links (#390)
- (doc) Update
outputFieldsdoc to reflect current reality (#386)
core
- (fix) Can't use unencrypted
https://protocol when SSL checks are disabled (#135)
7.6.0
cli
- (improvement)
zapier convertcommand has been reworked and greatly improved. Now it generates code that is more likely to work out of the box! (#380) - (improvement) Refactor to use async/await in build command (#382)
core
- (fix) Don't add
searchOrCreatesif either is hidden (#134)
7.5.0
cli
- (doc) Various doc improvements (#374)
schema
- 🎉 (new) Add OAuth1 support. Read doc for detail. doc
- (doc) Be more clear about whether hook methods are required (#58)
core
- 🎉 (new) Add OAuth1 support. Read doc for detail. (#126)
- (fix) Make sure to censor URL-encoded values (#129)
- (fix) Cursor reading didn't work in tests (#125)
- (improvement) Shorthand HTTP requests now parse
x-www-form-urlencodedresponse bodies as well. Your app could break if your application server returns a JSON response body but with aContent-Type: application/x-www-form-urlencodedheader. Switch toz.requestif that's the case. (#126)
7.4.0
cli
core
- 🎉 (new) Add support for digest auth. Read doc for detail. (#123)
- (fix)
z.stashFiledoesn't pick up filename inContent-Disposition(#124)
7.3.0
cli
- (improvement) Add Dynamic Dropdown example app (#363)
- (improvement) Add smoke tests (#361, #362)
- (doc) Document
z.dehydrateFile(#360) - (doc) Document
outputFields(#365) - (doc) Update docs to reflect support for
async/await(#359)
schema
core
- 🎉 (new) Introduce
z.dehydrateFile- a new recommended method to dehydrate a file. Read doc for detail. (#112, #120) - 🎉 (new) Add
omitEmptyParamsoption to clean up empty request params automatically. Read doc for detail. (#121) - (fix) Fix null error handling (#117)
- (improvement) Add smoke tests (#116)
7.2.2
core
- (fix) Sign dehydrated payloads for better security (#111)
7.2.1
core
- (fix) Allow to disable SSL certificate check (#110)
7.2.0
cli
- (fix) Include required binary in the build (#350)
schema
- (fix) Add
copyfield type toFieldSchema(#52) - (docs) Clarify
BasicDisplaySchemadirections description (#51)
core
- (improvement) Better
AppTestertypescript bindings (#103)
7.1.0
cli
- (fix) Migrating by email shouldn't ask for promote (#341)
- (fix) Fix "epxeriencing" -> "experiencing" typo (#338)
- (fix) Fix failing Travis badge (#343)
- (improvement) Truncate
source_zipin logs (#348) - (improvement) Migrate to cli-table3 (#327)
- (docs) Session auth should be using
authDatainstead ofinputData(#346)
7.0.0
cli
- (improvement) Bump Node.js version to 8 (#328)
- (improvement) Ask for promote when fully migrating a public app (#326)
- (improvement) Add typescript example app (#329)
- (improvement) Reduce package size (#330)
schema
core
- ❗ (improvement, breaking) Bump Node.js version to 8.10.0. Apps with dependency
zapier-platform-core >= 7.0.0run only on Node.js 8.10.0 in AWS Lambda. If you need to continue running on Node.js 6.10.3, usezapier-platform-core <= 6.1.0" (#94) - (fix) Add cursor to typings (#95)
- (improvement) Reduce package size (#97)
6.1.0
cli
- (fix) Fix typo in
zapier registertext (#324) - (fix) Fix
npm auditsecurity warnings (#320) - (fix)
zapier convertdoesn't escape sample field labels (#313) - (docs) Remove Digest auth references (#323)
- (docs) Add cursor docs (#309)
schema
- (fix) Fix
npm auditsecurity warnings (#46)
core
- 🎉 (new)
z.cursorstore (#76) - (fix) Fix missed logs (#91)
- (fix) Middleware isn't compiled (#90)
- (fix) Fix
npm auditsecurity warnings (#87) - (improvement) Add typings (#82)
6.0.0
cli
- ❗ (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)
- (improvement) Better spinner (#260)
schema
- ❗ (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) - (docs) Add doc annotation for hook type (#44)
- (docs) Make long examples more readable (#42)
core
- ❗ (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)
- ❗ (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)
5.2.0
cli
- 🎉 (new) Add option to
zapier logsto show bundle logs (PR) - (fix) Fix
zapier buildfrom crashing on missing packages (PR) - (fix) Fix
zapier convertfrom crashing on certain OAuth config (PR) - (fix) Fix
zapier convertfrom crashing on a number in auth mapping (PR) - (improvement)
zapier buildprints any errors fromnpm install(PR) - (docs) Add note about nested dynamic functions (PR)
- (docs) Add docs about
bundle.cleanedRequestandbundle.rawRequest(PR)
schema
- (fix) Correctly invalidate field grandchildren (PR)
- (docs) More examples on functional constraints (PR)
core
5.1.0
cli
- 🎉 (new) Add "did you mean" on unrecognized commands (PR)
- (fix) Fix hang issue when printing data on skinny terminal (PR)
- (fix) Server returns error when running
zapier logs --debug(PR) - (fix) Exclude unwanted files when doing
zapier build --disable-dependency-detection(PR) - (fix) Don't overwrite
.zapierapprccompletely (PR) - (fix) Fix "CUSTOM_FIELDS_URL is not defined" error for
zapier convert(PR) - (improvement) Less nagging about updating packages (PR)
- (improvement) Add "github" and "search-or-create" example apps (PR, PR2)
- (improvement)
zapier promoteerror messages now look better (PR) - (improvement) Remove unnecessary
.nvmrclogic (PR) - (improvement)
zapier convertsupports static dropdown (PR) - (improvement)
zapier convertsupports auth mapping better (PR) - (improvement) Fix auth issue with full scripting methods for
zapier convert(PR) - (improvement)
zapier convertconverts samples, too (PR) - (improvement)
zapier convertrespects auth field keys in test code (PR) - (improvement)
zapier convertgenerates.envinstead of.environment(PR) - (improvement)
zapier convertincludes input fields to test code (PR) - (improvement) Fix session auth environment variable name for
zapier convert(PR) - (docs) FAQ about when to use placeholders or curlies (PR)
schema
- (fix) Only require samples for non-hidden operations (PR)
- (fix) Correctly validate
childrenas an array of fields (PR) - (fix) Doc rendering issue (PR)
- (docs) Add doc annotation (PR)
core
- (improvement) Bump Node version to 6.10.3 (PR)
- (improvement) Deprecate
.environmentin favor of.env(PR) - (improvement) Support test framework other than Mocha (PR)
- (improvement)
z.console.logalso callsconsole.log(PR) - (improvement) Check for object in create (PR)
5.0.0
cli
- 🎉 (new) The CLI can now run, test, and build on any version of Node.js! (PR)
- 🎉 (new) Read deploy key from env if available (PR)
- (improvement) More specific error messages for invalid installs (PR)
- (fix)
zapier envno longer throws an error on Node versions >=8.0 (PR) - (improvement)
zapier convertcreates a .gitignore for new apps (PR) - (improvement)
zapier convertproperly escapes labels and descriptions (PR, commit) - (improvement)
zapier convertonly sends a token when it exists, not before (PR) - (improvement)
zapier convertgenerates .environment and gives hint about editting it (PR) - (improvement) Don't require an
idfield in tests generated byzapier convert(PR) - (improvement)
zapier convertadds track info to package.json (PR) - (docs) FAQ section in the README (PR)
schema
- ❗ (improvement, breaking)
sampleis now a required field inBasicOperationSchemaand friends. See this doc for more info (PR) - ❗ (improvement, breaking)
orderhas been removed fromBasicDisplaySchema(PR)
core
- (improvement) Log when actions generated by a resource collide with manually defined ones (PR)
- (improvement) Properly log gzipped responses (PR)
4.3.2
- (Fix) Permission denied with
index.js. - (Fix)
zapier convertdidn't escape line breaks in app description. - (Doc) Add FAQs section.
- Ensure users are authenticated before building or pushing.
4.3.1
4.3.0
- (New)
zapier convertnow supports custom auth mapping, searchOrCreates and "Send to Action Endpoint URL in JSON body" checkbox. - (New)
zapier scaffoldnow also creates a test. - (New) Allow ordering static dropdowns.
- (Fix) Properly replace variables in URLs in
zapier convertgenerated code. - (Fix) Fix TypeError in
http.requestpatch. - (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.
4.2.3
- The first build made by Travis CI!
4.2.1
- (Fix) Repack zapier-platform-core to really fix bloated size
4.2.0
- (New)
zapier convertnow supports input and output custom fields. - (New) Prettify
zapier convertgenerated 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.
4.1.0
- (New)
zapier convertnow 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.
4.0.0
- (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.
3.3.0
- 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
--greponzapier test
3.2.1
3.2.0
- Allow invitations per version. Try
zapier help invitefor 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.
3.1.0
3.0.1
- Fixed node/npm dependency check for 3.x.
- Fixed URL base endpoint in docs.
3.0.0
- (BREAKING)
inputFields 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 buildon Windows.
2.2.0
- It's now possible to delete apps and app versions with
zapier delete! - You'll now get a warning when doing
zapier pushorzapier uploadif your app'szapier-platform-coreversion 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.xshowingzapier --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.
2.1.0
- Connection Label is now available (
connectionLabel: '{{bundle.inputData.email}}'insideauthentication) - Locking is now available for
create(shouldLock: trueinside.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.2in AWS Lambda. If you need to run on NodeJSv4.3.2, use the CLI 1.x release. - (BREAKING) Delete property
searchOrCreatefrom 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
globaltopublicfor consistency across Zapier platform.
1.0.11
zapier --validatenow includes the--include-styleflag to validate against style checks.- 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-fetchincore(fixes some edge-case issues formultipart/form-datarequests). zapier testis now quiet by default.zapier test --debugwill output details.zapier logs --type=http --detailedis more clearly exposed.- Fixes
searchOrCreateschema validation error for resources withsearchandcreate.
1.0.9
- Functions in
app.afterResponsewill 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.stashFileis no longer allowed outside ofhydrators.- Adding analytics to the web-based documentation.
- Minor docs fixes.
1.0.7
- Improved
linkcommand UX on error/non-existing apps.
1.0.6
- Fixed
convertcommand foroutputFields. - Improvements on
validate-templatesandzapier test(now supports--timeout=5000). - Minor docs fixes.
1.0.5
- Use
ZAPIER_BASE_ENDPOINTforpushandconvert. - 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
builddirectory 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
dictproperty 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
childrenis set.
0.10.1
- Added
searchproperty forinputFields, to allow linking a search connector.
0.10.0
-
BREAKING CHANGE Removed
getResourceOperationin creates/searches in favor ofperformGet. -
Added support for
performListin webhook triggers -
Fixed: Now correctly copy outputFields and samples to a trigger/search/create operation that links to a resource
0.9.12
- Added
performListto hook operations.
0.9.10
- 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 ... -removeflag documented.
- Updated
zapier describenow describes much more about the app - included auth info, redirect_uri, resources and all resource paths.- fixed
zapier scaffoldbug with undefinedINPUT_FIELDS
0.9.9
Initial release to public. Read docs here https://github.com/zapier/zapier-platform-cli.