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

Node.js 16 is now 'End of Life' #5422

Closed
CameronMcAuley opened this issue Oct 27, 2023 · 6 comments · Fixed by #5429 or #5583
Closed

Node.js 16 is now 'End of Life' #5422

CameronMcAuley opened this issue Oct 27, 2023 · 6 comments · Fixed by #5429 or #5583
Labels
dependencies Pull requests that update a dependency file size/M We should be able to deliver roughly 1 medium issue in a sprint.

Comments

@CameronMcAuley
Copy link

https://nodejs.org/en/blog/announcements/nodejs16-eol

'We are moving the End-of-Life date of Node.js 16 by seven months to coincide with the end of support of OpenSSL 1.1.1 on September 11th, 2023.'

With the newest version of the copilot-cli, generated Lambdas still use Node.js 16 which is EOL.
Are there any plans to upgrade this to 18 or 20?

@huanjani huanjani added the dependencies Pull requests that update a dependency file label Oct 27, 2023
@mergify mergify bot closed this as completed in #5429 Oct 31, 2023
mergify bot pushed a commit that referenced this issue Oct 31, 2023
…o nodejs18.x (#5429)

Resolves #5422 


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
@iamhopaul123
Copy link
Contributor

Reopen in favor of #5432

@iamhopaul123 iamhopaul123 reopened this Oct 31, 2023
@CameronMcAuley
Copy link
Author

Hi @iamhopaul123 , has this been implemented?
I updated my copilot version to the latest and ran a copilot svc deploy on my already existing application, but the node.js version of the codepilot genereated lambas did not update. Is there something else I need to do on my end?
Thanks

@KollaAdithya
Copy link
Contributor

Hello @CameronMcAuley

nodejs16.x is still not upgraded to nodejs18.x. As mentioned over here

we can't use SDK v2 in our custom resource code(lambdas). Adopting to SDK v3 takes more effort.

Thanks for your patience!

@h5aaimtron
Copy link

@KollaAdithya what is the timeline for this upgrade? This has been flagged here at UCLA as a potential issue across accounts using copilot. Operationally, we are required to create upgrade and deprecation roadmaps aligned with EOL for various dependencies and their versions. Generally speaking, this allows us to migrate to new versions 3-6 months before their deprecation. Hoping to get something on our board for this so we can upgrade ASAP.

@Lou1415926 Lou1415926 added the size/S We should be able to deliver roughly 2 small issues in a sprint. label Dec 22, 2023
@Lou1415926
Copy link
Contributor

@h5aaimtron sorry about the trouble! this is one of the top tasks on the list - we'll roll out the upgrade asap, and update the status here 🙇🏼‍♀️ !

@iamhopaul123 iamhopaul123 added size/M We should be able to deliver roughly 1 medium issue in a sprint. and removed size/S We should be able to deliver roughly 2 small issues in a sprint. labels Jan 2, 2024
@mergify mergify bot closed this as completed in #5583 Jan 8, 2024
mergify bot pushed a commit that referenced this issue Jan 8, 2024
Resolves #5422
On top of this PR #5429 upgraded sdk js to V3


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
@KollaAdithya
Copy link
Contributor

Hello @CameronMcAuley and @h5aaimtron !

Nodejs 16.x is now upgraded to nodejs20.x and now released in v1.33

Upgrade to Copilot version v1.33 and run copilot env deploy and copilot svc deploy for all the environments and services to upgrade lambda runtimes to 20.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file size/M We should be able to deliver roughly 1 medium issue in a sprint.
Projects
None yet
6 participants