Skip to content

Commit

Permalink
[PDE-4089] chore(cli, core, schema): Release v16.0.0 (#929)
Browse files Browse the repository at this point in the history
* chore(all) [PDE-4089]: v16 release development branch (#923)

* Param name fixed.

* Width of produced markdown docs fixed to 80 chars.

* Deps of @oclif packages upgraded.

* Command args and flags upgraded.

* Run scripts updated.

* Tests for ZapierBaseCommand upgraded with command flag tests added.

* Tests for register command upgraded.

* logList is really printing tables (without borders).

* argv parsed.

* yarn lock file updated.

* Docs updated.

* Function name consolidated.

* @oclif/core requires node >= 18.

* Old code removed.

* build(schema-to-ts): [PDE-5183] schema-to-ts is now part of yarn workspace  (#913)

* BREAKING CHANGE(all): [v16] Bump dependency package versions (#926)

* bumping oclif packages

* bump more packages

* upgrade Yeoman enviornment to latest v3

* dotenv added a package.json

* more package upgrades

* use promises instead of callback

* revert jsonschema upgrade as it breaks a test

* bump

* upgrade Lerna to v8

* upgrade prettier to latest v3

* run prettier with trailingComma: es5

* upgrade husky

* husky followups

* Revert "upgrade prettier to latest v3"

This reverts commit 840d0ae.

* Revert "run prettier with trailingComma: es5"

This reverts commit df8a16f.

* bump mocha, dotenv and oclif core patch

* undo convert changes

* chore(all): [v16] Bump eslint and related packages, bump prettier and run on codebase (#927)

* bumping oclif packages

* bump more packages

* upgrade Yeoman enviornment to latest v3

* dotenv added a package.json

* more package upgrades

* use promises instead of callback

* revert jsonschema upgrade as it breaks a test

* bump

* upgrade Lerna to v8

* upgrade prettier to latest v3

* run prettier with trailingComma: es5

* upgrade husky

* husky followups

* Revert "upgrade prettier to latest v3"

This reverts commit 840d0ae.

* Revert "run prettier with trailingComma: es5"

This reverts commit df8a16f.

* bump mocha, dotenv and oclif core patch

* undo convert changes

* bump eslint and related packages

* prettier bump, run prettier

* fix eslintignore

* fix test

* run over example-apps as well

* rebuild yarn.lock

* chore(types): Add type for z.request option skipEncodingChars (#928)

---------

Co-authored-by: szchenghuang <[email protected]>
Co-authored-by: Thomas Cranny <[email protected]>

* add changelog

* Bump cli, core, schema 15.19.0 -> 16.0.0

---------

Co-authored-by: szchenghuang <[email protected]>
Co-authored-by: Thomas Cranny <[email protected]>
  • Loading branch information
3 people authored Dec 16, 2024
1 parent ad4366e commit 37b2b61
Show file tree
Hide file tree
Showing 319 changed files with 12,370 additions and 8,429 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

34 changes: 0 additions & 34 deletions .eslintrc

This file was deleted.

3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lerna run --stream precommit && yarn generate-types && yarn lint-staged
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ package.json
package-lock.json
packages/cli/src/generators/templates/
.yarn

/.nx/workspace-data
83 changes: 83 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,86 @@
## 16.0.0

_released `2024-12-16`_

Version `16.0.0` is a breaking change release that contains some important housekeeping updates that put us in a better spot to support some exciting changes coming up in future versions. **Here is a quick breakdown of the two main breaking changes:**

**1. The minimum supported version of Node.js is now v18.18.** We’ve officially dropped support for Node.js v16.x, which has been designated [end-of-life since September 2023](https://nodejs.org/en/blog/announcements/nodejs16-eol).

**2. Integrations using `[email protected]` and onwards will default to running on the ARM architecture in AWS Lambda.** Note: If you believe your integrations have run into runtime incompatibilities due to this change, please [reach out to our support team](https://developer.zapier.com/contact) and we may be able to opt your integration out of running on ARM.

Here are the detailed release notes for this release (**note that ❗ denotes a breaking change**):

### cli

- :hammer: The `oclif` suite of packages have been upgraded to support the latest `oclif` major version (v4) ([#890](https://github.com/zapier/zapier-platform/pull/890)).

### core

- **:exclamation: Node.js v16.x is no longer supported ([#890](https://github.com/zapier/zapier-platform/pull/890))**

- **:exclamation: Integrations running on `zapier-platform-core` v16 and onwards will run on the ARM architecture by default.** This means means they will run on AWS Graviton2 processors (previously, the AWS Lambda runtime was based on x86 architecture). For more details on what this means on a technical level, please check out: [AWS Lambda on Graviton 2](https://github.com/aws/aws-graviton-getting-started/blob/main/aws-lambda/README.md#aws-lambda-on-graviton2).

- **:exclamation: Due to changes in the underlying `dotenv` library ([see changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)) ([#926](https://github.com/zapier/zapier-platform/pull/926)), when using `zapier.tools.env.inject()`, we always recommend "double quoting" your environment variable values.** Please make sure to consider if the following cases would apply to your `.env` files:
* ```SECRET_HASH=something-with-a-#-hash```: change it to ```SECRET_HASH="something-with-a-#-hash"```
* ```SECRET_BACKTICK=something-with-a-`-backtick```: change it to ```SECRET_BACKTICK="something-with-a-`-backtick"```
* Add `skipEncodingChars` property typing for z.request object ([#928](https://github.com/zapier/zapier-platform/pull/928))

### schema

* N/A

### schema-to-ts

- :wrench: The `schema-to-ts` package is now part of the repository root "yarn workspaces" ([#913](https://github.com/zapier/zapier-platform/pull/913))

### misc
- :hammer: Dependency updates ([#890](https://github.com/zapier/zapier-platform/pull/890), [#926](https://github.com/zapier/zapier-platform/pull/926), [#927](https://github.com/zapier/zapier-platform/pull/927))
- repo root
- Add `@eslint/eslintrc@^3.2.0`
- Add `@eslint/js@^9.16.0`
- Add `globals@^15.13.0`
- Remove `eslint-plugin-standard`
- Update `lerna` from 6.4.1 to 8.0.2
- Update `husky` from 7.0.4 to 9.1.7
- Update `mocha` from 10.8.2 to 11.0.1
- Update `eslint` from 8.32.0 to 9.16.0
- Update `eslint-plugin-import` from 2.27.5 to 2.31.0
- Update `eslint-plugin-mocha` from 9.0.0 to 10.5.0
- Update `eslint-plugin-n` from 15.6.1 to 17.14.0
- Update `eslint-plugin-promise` from 6.1.1 to 7.2.1
- Update `prettier` from 2.8.3 to 3.4.1
- cli
- Add `oclif@^4.15.1`
- Add `@oclif/[email protected]`
- Add `@oclif/[email protected]`
- Remove `stdout-stderr`
- Remove `oclif/dev-cli`
- Remove `@oclif/command`
- Remove `@oclif/config`
- Update `archiver` 5.3.1 to 7.0.1
- Update `gulp-prettier` from 4.0.0 to 5.0.0
- Update `marked` 4.2.12 to 14.1.4
- Update `marked-terminal` from 5.2.0 to 7.2.1
- Update `read` from 2.1.0 to 4.0.0
- Update `fs-extra` from 11.1.1 to 11.2.0
- Update `yeoman-environment` from 3.3.0 to 3.19.3
- Update `semver` from 7.5.2 to 7.6.3
- Update `node-fetch` from 2.6.7 to 2.7.0
- Update `adm-zip` from 0.5.10 to 0.5.16
- Update `browserify` from 17.0.0 to 17.0.1
- Update `cli-table3` from 0.6.3 to 0.6.5
- Update `tmp` from 0.2.1 to 0.2.3
- Update `traverse` from 0.6.7 to 0.6.10
- Update prettier from 2.8.9 to 3.4.1
- core
- Update `dotenv` from 12.0.4 to 16.4.5
- Update `semver` from 7.5.2 to 7.6.3
- Update `node-fetch` from 2.6.7 to 2.7.0
- Update `form-data` from 4.0.0 to 4.0.1
- schema-to-ts
- Update `prettier` from 3.2.5 to 3.4.1


## 15.19.0

_released `2024-11-25`_
Expand Down
6 changes: 0 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ In the repo directory, install dependencies with yarn:
yarn
```

An additional step is required while we drop Node.js 16 support (see [GitHub comment](https://github.com/zapier/zapier-platform/pull/821#issuecomment-2230958511)) - install `schema-to-ts` dependencies:
```bash
cd schema-to-ts
yarn
```

That's it! Now you have a local environment for development.

## Running Tests
Expand Down
20 changes: 0 additions & 20 deletions docs/cli.html

This file was deleted.

Loading

0 comments on commit 37b2b61

Please sign in to comment.