zapier-platform invoke command now supports a remote mode. By adding a --remote (-r for short) flag to the invoke command, such as:
- The integration version you want to test has to be deployed first.
- The invocation results and the bundle payload passed to your integration code will match what you see in live production, which is great for testing.
- Remote mode is slower than local mode (without the
-rflag).
zapier-platform invoke --help documentation.
We also fixed an issue where the build and test commands were not correctly detecting package managers (like npm, yarn, pnpm, or bun) when your integration was part of a monorepo. Now, the CLI doesn’t just look in the current directory for package manager indicators (like package-lock.json for npm), but also checks parent directories up to four levels up.
cli
- 🎉 Add
--remoteflag toinvokecommand (#1220) - 🐛 Fix package manager detection in
buildandtestcommands to include parent directories (#1225)
core
None!schema
None!misc
- 📜 Improve internal development docs (#1221)