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

feat(all): nodejs16x support #877

Merged
merged 16 commits into from
May 24, 2022
Merged

feat(all): nodejs16x support #877

merged 16 commits into from
May 24, 2022

Conversation

dreamorosi
Copy link
Contributor

@dreamorosi dreamorosi commented May 13, 2022

Description of your changes

AWS Lambda announced support for Node JS 16 a few days ago, this PR aims at adding support to that same runtime.

The changes in the PR revolve around:

  • Adding the nodejs16x runtime to the e2e test matrix
  • Making Node JS 16.x the default version for development
  • Making Node JS 16.x the default version for CI/CD

How to verify this change

See successful run for GitHub Actions under this PR, as well as a successful run for the e2e tests that now includes the new runtime as part of the matrix (link to execution).

Related issues, RFCs

#830

PR status

Is this ready for review?: YES
Is it a breaking change?: NO

Checklist

  • My changes meet the tenets criteria
  • I have performed a self-review of my own code
  • I have commented my code where necessary, particularly in areas that should be flagged with a TODO, or hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding changes to the examples
  • My changes generate no new warnings
  • The code coverage hasn't decreased
  • New and existing unit tests pass locally and in Github Actions
  • Any dependent changes have been merged and published in downstream module
  • The PR title follows the conventional commit semantics

Breaking change checklist

N/A


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@dreamorosi dreamorosi changed the title feat: nodejs16x support feat(all): nodejs16x support May 13, 2022
@dreamorosi dreamorosi self-assigned this May 13, 2022
@dreamorosi dreamorosi added this to the production-ready-release milestone May 13, 2022
@dreamorosi dreamorosi linked an issue May 13, 2022 that may be closed by this pull request
@dreamorosi dreamorosi marked this pull request as ready for review May 13, 2022 16:17
@dreamorosi dreamorosi requested a review from flochaz May 18, 2022 12:41
flochaz
flochaz previously approved these changes May 18, 2022
ijemmy
ijemmy previously approved these changes May 23, 2022
Copy link
Contributor

@ijemmy ijemmy left a comment

Choose a reason for hiding this comment

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

This is very thorough. It's scary on how much duplication we have.
(esp. on my E2E code. Should have made the default version a constant.)

- name: Install SAM example packages
# Since we are not managing the SAM examples with npm workspaces we install
# the dependencies in a separate step
working-directory: ./examples/sam
run: npm ci
run: |
sam --version
Copy link
Contributor

Choose a reason for hiding this comment

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

(nit) Is this intentional or just for debug?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, I need to remove this

@dreamorosi dreamorosi dismissed stale reviews from ijemmy and flochaz via 0201fe3 May 24, 2022 14:02
@flochaz flochaz merged commit d2b13c9 into main May 24, 2022
@flochaz flochaz deleted the feat/node16_support branch May 24, 2022 18:19
flochaz added a commit that referenced this pull request Jun 3, 2022
* feat: added node16 to e2e test

* Added runtime to e2eUtils

* feat: added node16 to e2e test

* chore: added runtime key

* chore: update occurrences of nodejs14x

* test sam version

* test sam version

* revert

* sam

* sam

* sam

* sam

* chore: added .nvmrc

* chore: updated cdk example runtime

* Update packages/metrics/tests/e2e/basicFeatures.decorators.test.ts

Co-authored-by: Florian Chazal <[email protected]>

Co-authored-by: Florian Chazal <[email protected]>
dreamorosi added a commit that referenced this pull request Aug 2, 2022
* feat: added node16 to e2e test

* Added runtime to e2eUtils

* feat: added node16 to e2e test

* chore: added runtime key

* chore: update occurrences of nodejs14x

* test sam version

* test sam version

* revert

* sam

* sam

* sam

* sam

* chore: added .nvmrc

* chore: updated cdk example runtime

* Update packages/metrics/tests/e2e/basicFeatures.decorators.test.ts

Co-authored-by: Florian Chazal <[email protected]>

Co-authored-by: Florian Chazal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: add support for nodejs16.x runtime
3 participants