zapier-platform-cli
Advanced tools
Changelog
15.19.0
released 2024-11-25
For optimal performance, an optional argument has been added to z.dehydrate to allow devs to control the cache duration on hydrators. The default cache duration for hydrators is unchanged (5 minutes).
Also, with the new optional meta
field object added to the FieldSchema object, devs now have a supported mechanism for storing field-specific context which may be obtained when constructing dynamic needs, and then making that context available during actual action execution in the perform method.
Lastly, the zapier scaffold now supports TypeScript (TS) applications. It automatically detects TS and JS projects if the --entry
flag isn't provided, so that it can generate and edit the right files in the right places, given TS projects tend to keep their files in ./src.
zapier scaffold
command (#884)timezone
and withSearch
fields to the bundle.meta
object (#922)BeforeRequestMiddleware
typings to require url
in the request object (#924)meta
field support for the FieldSchema
(#883)None!
Changelog
15.18.1
released 2024-11-01
zapier invoke --debug
doesn't print HTTP logs for requests that aren't sent by z.request()
(#907)None!
Changelog
15.18.0
released 2024-10-24
init
output (#894)nx
argument to z.cache.set()
(#900)process.exit(1)
on catching an EMFILE
error inside checkMemory()
(#901)None!
z.request
responses and deprecate .json
(#895)Changelog
15.17.0
released 2024-10-11
Introducing three major updates, with the first two aimed at improving your development experience:
zapier invoke
command: This powerful new command enables you to emulate Zapier's production environment locally. Test triggers, actions, and authentication flows right from your terminal without deploying to Zapier. This is especially valuable for debugging, development, and quick testing iterations. Learn more about the command in the README or by typing zapier invoke --help
in your terminal.zapier-platform-cli
's CI testing, it still works on Node.js 16, except for the zapier invoke auth start
command. But using Node.js 18 or later is recommended, as we'll be dropping support for Node.js 16 in an upcoming major release.As usual, all other improvements and bug fixes are listed below.
zapier invoke
command (#856, #872, #878)zapier convert
command not writing bulkReads
to separate files (#881)ResponseError
type (#877)None!
Changelog
15.15.0
released 2024-09-18
This release introduces "Buffered Create Actions", currently only available for internal use. A Buffered Create allows you to create objects in bulk with a single or fewer API request(s). This is useful when you want to reduce the number of requests made to your server. When enabled, Zapier holds the data until the buffer reaches a size limit or a certain time has passed, then sends the buffered data using the performBuffer
function you define.
None!
performBuffer
and buffer
to operation
schema to support Buffered Create Actions (#832)