Skip to content

Latest commit

Β 

History

History
1001 lines (616 loc) Β· 35.3 KB

CHANGELOG.md

File metadata and controls

1001 lines (616 loc) Β· 35.3 KB

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.

cli

  • πŸ’… Add support for TS on the zapier scaffold command (#884)

core

  • πŸŽ‰ Add support for providing the cache expiration for hydrators (#918)
  • πŸ“œ Add timezone and withSearch fields to the bundle.meta object (#922)
  • πŸ“œ Update the BeforeRequestMiddleware typings to require url in the request object (#924)

schema

  • πŸŽ‰ Add meta field support for the FieldSchema (#883)

schema-to-ts

None!

misc

  • πŸ”¨ Bump elliptic from 6.5.7 to 6.6.0 (#911)
  • πŸ”¨ Bump cross-spawn from 7.0.3 to 7.0.6 in /schema-to-ts (#919)

15.18.1

released 2024-11-01

cli

  • πŸ› Fix issue where zapier invoke --debug doesn't print HTTP logs for requests that aren't sent by z.request() (#907)

core

  • πŸ› Fix issue where HTTP logger can break aws-sdk v3 (and maybe other HTTP client libraries) intermittently (#905)
  • πŸ› HTTP logging now works with native fetch (#908)
  • πŸ§ͺ Allow to not wait for event loop to be empty to fix a hanging issue (#904)

schema

None!

15.18.0

released 2024-10-24

cli

  • πŸ’… Fix a failing smoke test based on CLI package size (now that many docs are deleted) (#899)
  • πŸŽ‰ Add OAuth2 to TypeScript init output (#894)

core

  • πŸŽ‰ Adds nx argument to z.cache.set() (#900)
  • πŸ› Force a process.exit(1) on catching an EMFILE error inside checkMemory() (#901)

schema

None!

schema-to-ts

  • πŸŽ‰ Type z.request responses and deprecate .json (#895)

misc

  • πŸ“œ Typo fixes and link changes (#885)
  • πŸ“œ Add docs explaining why hidden triggers for dynamic dropdowns need to declare input fields (#887)
  • πŸ“œ Migrate docs out of this monorepo (#893)
  • πŸ“œ Updating doc links in CHANGELOG (#898)

15.17.0

released 2024-10-11

Introducing three major updates, with the first two aimed at improving your development experience:

  • The 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.
  • Refreshed "typescript" project template: We've updated the "typescript" project template with the latest type definitions. Enjoy enhanced type safety, improved autocompletion, and a smoother coding experience overall.
  • Although we've removed Node.js 16 from 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.

cli

  • πŸŽ‰ Introduce zapier invoke command (#856, #872, #878)
  • πŸ’… Update "typescript" project template and example with latest type definitions (#845)
  • πŸ› Fix zapier convert command not writing bulkReads to separate files (#881)

core

  • πŸ’… Retry on 5xx errors when calling RPC (#875)
  • πŸ’… Add ResponseError type (#877)
  • πŸ”§ Bump mock-fs from 5.2.0 to 5.3.0 (#872)

schema

None!

misc

  • πŸ”§ Drop Node.js 16 and add Node.js 20 from/to CI (#872)

15.16.1

released 2024-10-04

cli

None!

core

  • πŸ’… Return a descriptive error when a filename cannot be uploaded (#874)

schema

None!

misc

  • πŸ“œ Add canary command to docs (#870)
  • πŸ“œ Add instructions for installing the Zapier Platform development version to docs (#873)

15.16.0

released 2024-09-24

cli

  • πŸŽ‰ Introduce zapier canary command (#861)

core

None!

schema

None!

misc

  • πŸ”¨ Bump vite from 5.3.3 to 5.4.7 in /schema-to-ts (#868)
  • πŸ”¨ Bump rollup from 4.18.1 to 4.22.4 in /schema-to-ts (#867)

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.

cli

None!

core

  • πŸ§ͺ Add checks to support Buffered Create Actions (#832)

schema

  • πŸ§ͺ Add performBuffer and buffer to operation schema to support Buffered Create Actions (#832)

15.14.2

released 2024-09-17

cli

None!

core

  • πŸ› Ensure censoring of OAuth1 tokens in HTTP logs (#864)

schema

None!

misc

None!

15.14.1

released 2024-09-12

cli

None!

core

  • πŸ’… Add signal to z.request options (#857)

schema

None!

misc

  • πŸ“œ Add documentation around inputFormat field type (#858)

15.14.0

released 2024-08-28

cli

None!

core

  • πŸ’… Add scopes as an option for zcache usage (#849)

schema

None!

misc

  • πŸ”¨ Add customOptions field to z.request options (#846)

15.13.0

released 2024-08-21

cli

None!

core

None!

schema

  • πŸ’… Add configurable poll delay for HookToPoll (#844)

misc

  • πŸ”¨ Bump elliptic from 6.5.4 to 6.5.7 (#842)
  • πŸ”¨ Bump axios from 1.6.1 to 1.7.4 (#843)

15.12.0

released 2024-08-16

cli

  • πŸ’… Introduce zapier pull command (#838)
  • πŸ’… Handle subheadings when interpreting the changelog (#827)

core

  • πŸ› Properly type HTTP Options, replacing generic object types (#840)
  • πŸ› Allow Async Middleware Functions Types (#826)

schema

  • πŸ› Correct casing on bulk reads action type (#831)
  • πŸ› Display the bulk_reads functional constraint (#829)

schema-to-ts

  • πŸ› Simplify and correct Array types in Schema to TS conversion (#835)

misc

  • πŸ“œ Improve documentation accuracy regarding primary: true limitations (#836)
  • πŸ“œ Document limitations regarding primary in outputFields (#834)
  • πŸ“œ Document bundle.meta.withSearch (#823)

15.11.1

released 2024-07-19

core

  • πŸ› Add base64 encoding before autostashing large payloads (#824)

cli

None!

schema

None!

15.11.0

released 2024-07-16

core

  • πŸ› Fixed issue preventing standalone 'creates' in extension from colliding with resource keys in base (#819)
  • πŸ’… Bundle new TypeScript type declarations provided by the schema-to-ts tool (#818)

cli

None!

schema

None!

schema-to-ts

  • πŸ’… Introduced the Schema-to-TS compiler tool (#818)
  • πŸ“œ Updated documentation to reference the schema-to-ts tool (#821)

15.10.0

released 2024-07-02

cli

None!

core

  • πŸ’… Update extendAppRaw to override arrays as well as objects (#813)
  • πŸ’… Increase hydration payload limit (#816)
  • πŸ’… Add allowlist for specific content types to log HTTP response/response for in patched HTTP client (#810)

schema

None!

15.9.1

released 2024-06-27

cli

None!

core

  • πŸ› Fix afterApp large response cacher bug (#814)

schema

None!

15.9.0

released 2024-06-26

cli

None!

core

  • πŸ’… Allow relative paths via z.require() (#809)
  • πŸ’… Handle large response payloads (#808)

schema

None!

15.8.0

released 2024-06-13

cli

  • πŸ“œ Add docs for domain and subdomain validation as Authentication subheading (#797)
  • πŸ“œ Document performResume default implementation (#806)

core

  • πŸ’… Throw error for HTTP redirect made to disallowed domains (#803)

schema

  • πŸ§ͺ Add support for retry and filter at the root-level of the throttle configuration (#796)
  • πŸ› Update createsSchema to disallow additional properties (#798)

misc

  • πŸ”¨ Bump jquery from 2.1.4 to 3.5.0 in the legacy-scripting-runner (#790)
  • πŸ”¨ Bump marked from 0.3.19 to 4.2.12 (#793)
  • πŸ”¨ Bump braces from 3.0.2 to 3.0.3 (#805)

15.7.3

released 2024-05-27

cli

  • πŸ› Address CVE-2024-27980 changes in Node.js by always passing shell: true as an option for spawn() in Windows OS environments (thanks to @jaydamani for the report!) (#788).

15.7.2

released 2024-05-08

cli

  • πŸ“œ Correct docs about zapier migrate --user (#779)

core

  • πŸ› Censor set-cookie response header in logs (#780)

misc

  • πŸ”§ Dependency updates
    • Bump semver from 5.7.1 to 7.5.2 (#776)
    • Bump ejs from 3.1.7 to 3.1.10 (#777)
    • Bump debug from 4.1.1 to 4.3.4 (#778)

15.7.1

released 2024-05-01

cli

  • πŸ“œ Add instruction to close resolved issues after promotion in the docs (#770)
  • πŸ“œ Remove the note on redirect_uri change after publish in the docs (#774)

core

  • πŸ› Fix null response content breaking the search for sensitive values (#772)

schema

None!

misc

  • πŸ› Fix the legacy-scripting-runner's ErrorException invalid JSON data (#773)
  • πŸ”¨ Bump tar from 6.1.0 to 6.2.1 (#771)

15.7.0

released 2024-04-09

cli

  • πŸ“œ Added missing 'to' in CLI docs (#767)

core

  • πŸ’… Raised max file size for upload streaming to 1GB (#768)

schema

None!

15.6.2

released 2024-04-03

cli

None!

core

  • πŸ› Censor entire response content when refreshing or getting new auth token (#765)

schema

None!

15.6.1

released 2024-03-28

cli

  • πŸ“œ Update document on the primary property in outputFields (#763)
  • πŸ“œ Update document on the throttle configuration to include retry in the overrides attributes (#761)

core

None!

schema

  • πŸ§ͺ Add support for retry in the overrides object of the throttle configuration (#761)

misc

  • πŸ”§ Fix failing tests in dependabot's PRs (#762)

15.6.0

released 2024-03-26

cli

  • πŸ“œ Document allowGetBody option in z.request() (#752)
  • πŸ“œ Update document on the throttle configuration to include key and overrides attributes, and action scope (#760)

core

  • πŸ”§ Change trigger output check logic for the newly-added primary property in outputFields (#754)

schema

  • πŸŽ‰ Allow to set primary in outputFields to define the unique key for deduplication (#754)
  • πŸ§ͺ Add support for overrides in the throttle configuration (#755)
  • πŸ§ͺ Add support for key in the throttle configuration and action scope (#757)

15.5.3

released 2024-02-08

cli

  • πŸ› Fixed bug in zapier validate where zapier-platform-core was failing to import on version 15.5.2 (#746)

15.5.2

released 2024-02-06

cli

  • πŸ› Fixed bug in zapier convert that crashes due to syntax error in user's code and should not replace source in sample (#730)
  • πŸ› Improved handling of broken symlinks while copying files to temp directory during the build process (#737)
  • πŸ› Fixed bug in zapier build where it failed to run in npm workspaces (#738, #742)
  • πŸ› Fixed converting triggers breaking when trigger key starts with a number (#741)
  • πŸ”§ Upgraded @oclif/plugin-help dependency, addressing security issue with sub-dependency (#739)
  • πŸ”§ Updated the "custom-auth" sample to avoid a warning when running zapier validate (#724)

core

  • πŸ› Updated TypeScript method types in RawHttpResponse (#735)
  • πŸ› Use node-fetch TypeScript types in BaseHttpResponse (#736)

misc

  • πŸ“œ Updated rest hook tutorial to include content for expiring webhooks (#731)
  • πŸ“œ Documenting 5 min cache behavior of hydration and how to workaround (#740)

15.5.1

released 2023-11-21

cli

  • πŸ“œ Update zapier logs documentation to mention default user target (#721)

core

  • πŸ’… Allow server to decide when to truncate log fields (#725)

schema

None!

misc

  • πŸ”¨ Bump axios from 1.2.3 to 1.6.1 (#726)

15.5.0

released 2023-11-08

cli

None!

core

None!

schema

  • πŸ’… Add steadyState property on the FieldSchema for steady state deduplication on trigger polls (#721)

misc

  • πŸ”¨ Bump browserify-sign from 4.0.4 to 4.2.2 (#719)

15.4.2

released 2023-11-01

cli

  • πŸ“œ Update z.cursor documentation for handling end of the result set (#703)

core

  • πŸ”¨ Bump secret-scrubber-js to v1.0.8 (#717)

schema

  • πŸ“œ Correct the 'value' and 'sample' description in the 'FieldChoicesWithLabel' schema (#716)

misc

  • πŸ”¨ Bump @babel/traverse from 7.14.0 to 7.23.2 (#715)
  • πŸ“œ Fix broken link in README-source.md (#714)
  • πŸ“œ Fix broken link in readme.md (#713)

15.4.1

released 2023-10-06

cli

None!

core

None!

schema

  • πŸ› Fixed throttle configuration not being allowed on triggers (#711)

misc

None!

15.4.0

released 2023-10-06

cli

None!

core

  • πŸ› Added handling the use of non-string cursors in z.cursor.set() (#705)

schema

  • πŸŽ‰ Added support for throttle configuration (#709)

misc

  • πŸ› Fixed building of boilerplate having lingering old files from previous builds (#708)
  • πŸ”¨ Bumped get-func-name version from 2.0.0 to 2.0.2 (#707)

15.3.0

released 2023-09-19

cli

None!

core

None!

schema

  • πŸ’… (Experimental) Extend Custom Auth to support OTP (#702)

misc

  • πŸ“œ Bring over paging cursor doc changes added in visual-builder repo (#701)
  • πŸ› Updating example Github app unit tests (#700)
  • πŸ“œ Update version mismatch (#699)
  • πŸ› Fix legacy scripting runner test (#697)

15.1.0

released 2023-09-07

cli

  • πŸ› Removed the logic converting an empty array to undefined in changelog metadata (#690)
  • πŸ’… Integration title length must be at least 2 characters (#693)

core

None!

schema

None!

legacy-scripting-runner

  • πŸ› Fixed a flaky test for legacy scripting runner (#697)

misc

  • πŸ“œ Added links to relevant support documentation (#692)
  • πŸ“œ Fixed markdown formatting for backtick usage (#691)
  • πŸ“œ Added detail on encoding defaults in the API documentation (#689)
  • πŸ“œ Added detail on OAuth state parameter in the API documentation (#683)
  • πŸ“œ Minor updates to CLI documentation and rebuild (#688)
  • πŸ“œ Moved up template explanation in README (#682)
  • πŸ“œ Added detail on the 'computed' flag in the API documentation (#686)
  • πŸ“œ Added detail on callback URL parameter in the API documentation (#687)
  • πŸ“œ Updated GitHub CLI tutorial app documentation (#679)
  • πŸ”¨ Bumped word-wrap version from 1.2.3 to 1.2.4 (#680)
  • πŸ”¨ Bumped cli, core, schema from 15.0.0 to 15.0.1 (#678)

15.0.1

released 2023-07-10

cli

  • πŸ› zapier convert now uses jest test template scaffold instead of mocha (#674)

core

None!

schema

None!

misc

  • πŸ“œ Documentation update related to example apps (#675, #672, #671)
  • πŸ“œ Documentation update related to outdated hyperlinks (#673)
  • πŸ“œ Documentation update to match public platform docs (#670)

15.0.0

released 2023-06-30

Version 15.0.0 is a breaking change release that contains several important upgrades and deprecations. Here is a brief breakdown of the changes (❗ denotes a breaking change):

  • ❗ Changelog is required for promotions. Prior to v15.0.0, providing a changelog was optional for promoting an app; this is now required. You can also append changelog metadata to help categorize whether the changes are related to bug fixes or a new feature.

  • ❗ Remove important field from the schema. The important field was deprecated in v14.0.1 (#644) and now we are removing it in this release.

  • ❗ Apps can now use Node.js v18.x and Node.js v14.x is no longer supported. (a) Any integrations that depend on [email protected] will now run on Node.js 18. (b) We are dropping support for Node.js 14, which has been designated end-of-life since 2023-04-30 (see the Node.js release schedule).

cli

  • πŸ› zapier convert now uses jest test template scaffold instead of mocha (#674)
  • πŸ› zapier login --sso points to the correct link for fetching Deploy Keys (#666)
  • πŸ› zapier convert should convert source fields (#660)
  • ❗ Changelog is required for promotions (#653)

core

  • ❗ Apps can now use Node.js v18.x and Node.js v14.x is no longer supported (#665)

schema

  • ❗ Remove important field from the schema (#662)

misc

14.1.1

released 2023-06-07

cli

  • πŸ“œ Improve docs related to expected behaviors for configuring OAuth2 with PKCE (#655)
  • πŸ“œ Improve docs related to hydration payload limit(#656)
  • πŸ”¨ Dependency updates
    • Bump typescript in template generator from 4.2.4 to 4.9.4 (#657)

core

  • None!

schema

  • None!

misc

  • None!

14.0.1

released 2023-05-22

cli

  • πŸ› Fix duplicate authentication field keys being generated by the zapier convert command (#639)
  • πŸ› Fix missing key property in the .zapierapprc file after running the zapier convert command (#640)
  • πŸ“œ Improve docs related to expected behaviors for stale authentication (#647)

core

  • None!

schema

  • πŸ“œ Deprecate the important key of the BasicDisplaySchema. This property will be removed and hence a breaking change ❗ in the next major version release. (#644)

misc

  • πŸ”¨ Dependency updates
    • Bump moment from 2.24.0 to 2.29.4 (#635)
    • Bump minimatch from 3.0.4 to 3.0.5 (#634)

14.0.0

released 2023-03-21

Version 14.0.0 is a breaking change release that contains several important upgrades and deprecations. Here is a brief breakdown of the changes (❗ denotes a breaking change):

  1. ❗ altersDynamicFields no longer defaults to true when dynamic is set. You should now set the flag appropriately. If a dynamic dropdown (i.e. a field with dynamic set) should refresh other input fields, you must set altersDynamicFields to true on v14.

    inputFields: [
      {
        key: 'city',
        dynamic: 'city.id.name',
        altersDynamicFields: true  // <- set this appropriately on v14
      }
    ]
    
  2. ❗ Before v14, the Zap editor didn't really use canPaginate. Instead, it made two requests and compared them to determine if pagination is supported. Starting from v14, canPaginate is required for the Zap editor to show the Load More button for pagination.

    triggers: {
      contact: {
        operation: {
          canPaginate: true  // <- set this appropriately on v14
        }
      }
    }
    
  3. ❗ Now you are required to provide meta information about your app, such as your intended audience and app category (if that information isn't already provided). If you are missing this information, you will be blocked from making updates to your integration (zapier promote, zapier upload, zapier push). Use zapier register with [email protected] or go to https://developer.zapier.com/app/{app_id}/version/{version}/settings to fill it out.

  4. On v14, OAuth2 implementation now supports PKCE! See our documentation for details.

Read on for a detailed set of release notes. Again, ❗ are BREAKING CHANGEs.

cli

  • ❗ Implement individual field flags for register command (#618)
  • ❗ Block promote, upload, and push for missing required app info (#612)
  • πŸ’… Use uniform field names in check-missing-app-info util (#630)
  • πŸ’… Only require fields for private integrations via CLI (#628)
  • πŸ’… Implement --yes flag for register command (#627)
  • πŸ“œ Improve documentation on throttling (#631)
  • πŸ“œ Add documentation for PKCE OAuth2 (#629)
  • πŸ“œ Add information about how to return line items (#620)
  • πŸ“œ Fix 'integraiton' typo in CLI docs (#613)

core

  • πŸ”¨ bump http-cache-semantics from 4.1.0 to 4.1.1 (#617)

schema

  • πŸŽ‰ Add enablePkce to oauth2Config (#623)
  • πŸ”¨ searchAndCreates and searchOrCreates can coexist to avoid search key collision (#624)
  • πŸ“œ Add clarity on role of performList for testing REST Hooks (#619)

misc

  • πŸ“œ Small followup improvement on GitHub issue templates (#625)
  • πŸ“œ Replace issue templates with GitHub forms, update CODEOWNERS (#622)

Old Releases

The changelogs for older versions can be found in the changelog directory.