Skip to content

Commit 37b2b61

Browse files
rnegronszchenghuangtkcranny
authored
[PDE-4089] chore(cli, core, schema): Release v16.0.0 (#929)
* 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]>
1 parent ad4366e commit 37b2b61

File tree

319 files changed

+12370
-8429
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

319 files changed

+12370
-8429
lines changed

.eslintignore

-4
This file was deleted.

.eslintrc

-34
This file was deleted.

.husky/pre-commit

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
yarn lerna run --stream precommit && yarn generate-types && yarn lint-staged

.prettierignore

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ package.json
33
package-lock.json
44
packages/cli/src/generators/templates/
55
.yarn
6+
7+
/.nx/workspace-data

CHANGELOG.md

+83
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,86 @@
1+
## 16.0.0
2+
3+
_released `2024-12-16`_
4+
5+
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:**
6+
7+
**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).
8+
9+
**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.
10+
11+
Here are the detailed release notes for this release (**note that ❗ denotes a breaking change**):
12+
13+
### cli
14+
15+
- :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)).
16+
17+
### core
18+
19+
- **:exclamation: Node.js v16.x is no longer supported ([#890](https://github.com/zapier/zapier-platform/pull/890))**
20+
21+
- **: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).
22+
23+
- **: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:
24+
* ```SECRET_HASH=something-with-a-#-hash```: change it to ```SECRET_HASH="something-with-a-#-hash"```
25+
* ```SECRET_BACKTICK=something-with-a-`-backtick```: change it to ```SECRET_BACKTICK="something-with-a-`-backtick"```
26+
* Add `skipEncodingChars` property typing for z.request object ([#928](https://github.com/zapier/zapier-platform/pull/928))
27+
28+
### schema
29+
30+
* N/A
31+
32+
### schema-to-ts
33+
34+
- :wrench: The `schema-to-ts` package is now part of the repository root "yarn workspaces" ([#913](https://github.com/zapier/zapier-platform/pull/913))
35+
36+
### misc
37+
- :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))
38+
- repo root
39+
- Add `@eslint/eslintrc@^3.2.0`
40+
- Add `@eslint/js@^9.16.0`
41+
- Add `globals@^15.13.0`
42+
- Remove `eslint-plugin-standard`
43+
- Update `lerna` from 6.4.1 to 8.0.2
44+
- Update `husky` from 7.0.4 to 9.1.7
45+
- Update `mocha` from 10.8.2 to 11.0.1
46+
- Update `eslint` from 8.32.0 to 9.16.0
47+
- Update `eslint-plugin-import` from 2.27.5 to 2.31.0
48+
- Update `eslint-plugin-mocha` from 9.0.0 to 10.5.0
49+
- Update `eslint-plugin-n` from 15.6.1 to 17.14.0
50+
- Update `eslint-plugin-promise` from 6.1.1 to 7.2.1
51+
- Update `prettier` from 2.8.3 to 3.4.1
52+
- cli
53+
- Add `oclif@^4.15.1`
54+
- Add `@oclif/[email protected]`
55+
- Add `@oclif/[email protected]`
56+
- Remove `stdout-stderr`
57+
- Remove `oclif/dev-cli`
58+
- Remove `@oclif/command`
59+
- Remove `@oclif/config`
60+
- Update `archiver` 5.3.1 to 7.0.1
61+
- Update `gulp-prettier` from 4.0.0 to 5.0.0
62+
- Update `marked` 4.2.12 to 14.1.4
63+
- Update `marked-terminal` from 5.2.0 to 7.2.1
64+
- Update `read` from 2.1.0 to 4.0.0
65+
- Update `fs-extra` from 11.1.1 to 11.2.0
66+
- Update `yeoman-environment` from 3.3.0 to 3.19.3
67+
- Update `semver` from 7.5.2 to 7.6.3
68+
- Update `node-fetch` from 2.6.7 to 2.7.0
69+
- Update `adm-zip` from 0.5.10 to 0.5.16
70+
- Update `browserify` from 17.0.0 to 17.0.1
71+
- Update `cli-table3` from 0.6.3 to 0.6.5
72+
- Update `tmp` from 0.2.1 to 0.2.3
73+
- Update `traverse` from 0.6.7 to 0.6.10
74+
- Update prettier from 2.8.9 to 3.4.1
75+
- core
76+
- Update `dotenv` from 12.0.4 to 16.4.5
77+
- Update `semver` from 7.5.2 to 7.6.3
78+
- Update `node-fetch` from 2.6.7 to 2.7.0
79+
- Update `form-data` from 4.0.0 to 4.0.1
80+
- schema-to-ts
81+
- Update `prettier` from 3.2.5 to 3.4.1
82+
83+
184
## 15.19.0
285

386
_released `2024-11-25`_

CONTRIBUTING.md

-6
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ In the repo directory, install dependencies with yarn:
2424
yarn
2525
```
2626

27-
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:
28-
```bash
29-
cd schema-to-ts
30-
yarn
31-
```
32-
3327
That's it! Now you have a local environment for development.
3428

3529
## Running Tests

docs/cli.html

-20
This file was deleted.

0 commit comments

Comments
 (0)