Skip to content

feat(all): nodejs16x support#877

Merged
flochaz merged 16 commits into
mainfrom
feat/node16_support
May 24, 2022
Merged

feat(all): nodejs16x support#877
flochaz merged 16 commits into
mainfrom
feat/node16_support

Conversation

@dreamorosi
Copy link
Copy Markdown
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
Comment thread packages/metrics/tests/e2e/basicFeatures.decorators.test.ts Outdated
Co-authored-by: Florian Chazal <florianchazal@gmail.com>
@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
Copy Markdown
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.)

Comment thread .github/workflows/pr_lint_and_test.yml Outdated
working-directory: ./examples/sam
run: npm ci
run: |
sam --version
Copy link
Copy Markdown
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
Copy Markdown
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 <florianchazal@gmail.com>

Co-authored-by: Florian Chazal <florianchazal@gmail.com>
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 <florianchazal@gmail.com>

Co-authored-by: Florian Chazal <florianchazal@gmail.com>
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