Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: drop support for Node 12 #3547

Merged
merged 4 commits into from
Jun 8, 2022
Merged

chore: drop support for Node 12 #3547

merged 4 commits into from
Jun 8, 2022

Conversation

RomainMuller
Copy link
Contributor

Upgrade the minimal required node release to 14.x, since Node 12 has
been end-of-life since 2022-04-01. This allows us to upgrade our
TypeScript target from ES2019 to ES2020 (native support for
nullish-coalescing and optional chaining, among other things).

Removed the node12 entries from the various test matrices and stop
publishing node12 tags for jsii/superchain.

BREAKING CHANGE: Beginning with this release, jsii packages no longer
support node 12. Users should migrate to a supported node release (14.x,
16.x, or 18.x).


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Upgrade the minimal required node release to 14.x, since Node 12 has
been end-of-life since `2022-04-01`. This allows us to upgrade our
TypeScript `target` from `ES2019` to `ES2020` (native support for
nullish-coalescing and optional chaining, among other things).

Removed the `node12` entries from the various test matrices and stop
publishing `node12` tags for `jsii/superchain`.

BREAKING CHANGE: Beginning with this release, jsii packages no longer
support node 12. Users should migrate to a supported node release (14.x,
16.x, or 18.x).
@RomainMuller RomainMuller added the pr/do-not-merge This PR should not be merged at this time. label May 17, 2022
@RomainMuller RomainMuller requested a review from a team May 17, 2022 10:00
@RomainMuller RomainMuller self-assigned this May 17, 2022
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label May 17, 2022
@RomainMuller
Copy link
Contributor Author

⚠️ In order to honor our commitment on not dropping support for a runtime without having issued run-time warnings for at least one month, this PR must not be merged before 2021-06-07

Copy link

@Naumel Naumel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

# Conflicts:
#	packages/@jsii/check-node/package.json
#	packages/@jsii/dotnet-runtime-test/package.json
#	packages/@jsii/dotnet-runtime/package.json
#	packages/@jsii/go-runtime/package.json
#	packages/@jsii/integ-test/package.json
#	packages/@jsii/java-runtime/package.json
#	packages/@jsii/kernel/package.json
#	packages/@jsii/runtime/package.json
#	packages/@jsii/spec/package.json
#	packages/@scope/jsii-calc-base-of-base/package.json
#	packages/@scope/jsii-calc-base/package.json
#	packages/@scope/jsii-calc-lib/package.json
#	packages/codemaker/package.json
#	packages/jsii-calc/package.json
#	packages/jsii-config/package.json
#	packages/jsii-diff/package.json
#	packages/jsii-pacmak/package.json
#	packages/jsii-reflect/package.json
#	packages/jsii-rosetta/package.json
#	packages/jsii/lib/compiler.ts
#	packages/jsii/package.json
#	packages/oo-ascii-tree/package.json
#	tools/jsii-compliance/package.json
#	yarn.lock
@RomainMuller RomainMuller removed the pr/do-not-merge This PR should not be merged at this time. label Jun 8, 2022
@RomainMuller RomainMuller merged commit 06a7889 into main Jun 8, 2022
@RomainMuller RomainMuller deleted the rmuller/remove-node-12 branch June 8, 2022 12:11
@analytically
Copy link

This breaks our builds cause Codebuild doesnt have a corretto11 with Node14 option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants