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

Add support for nodejs 22.x as a runtime #90

Open
RishikeshDarandale opened this issue Nov 29, 2024 · 10 comments
Open

Add support for nodejs 22.x as a runtime #90

RishikeshDarandale opened this issue Nov 29, 2024 · 10 comments

Comments

@RishikeshDarandale
Copy link

Lambda now supports NodeJS 22.x

https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html

RishikeshDarandale added a commit to RishikeshDarandale/typescript that referenced this issue Dec 10, 2024
The aws lambda runtimes are updated to the latest according to the
documentation[1].

Resolves: serverless#90

[1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
@visrut-at-handldigital
Copy link

Is it generated automatically though (type definitions)? As mentioned in the repository description

@RishikeshDarandale
Copy link
Author

@visrut-at-handldigital , that's what is mentioned in README. But, @fredericbarthelet , updated the runtime manually last year.

@fredericbarthelet , Can you please confirm what is the correct way? Thanks!

@Jacob-Mahoney
Copy link

@fredericbarthelet Can we get an update on this? I was hoping to use nodejs22.x for my new serverless project!

@AntonOellerer
Copy link

I think that @types/serverless is the correct dependency, seems like @serverless/typescript is not maintained anymore

@RishikeshDarandale
Copy link
Author

@fredericbarthelet , Can you please help us understand about the maintainability of this package?

@fredericbarthelet
Copy link
Contributor

Unfortunately, as stated in #81, without a valid NPM_TOKEN, no new version of this package can be published on NPM. Awaiting assistance from Serverless Framework team on that matter. @austencollins?

@AntonOellerer
Copy link

Glad to hear this is still maintained, is there any guideline on when to use @types/serverless and when to use @serverless/typescript?

@RishikeshDarandale
Copy link
Author

Glad to hear this is still maintained, is there any guideline on when to use @types/serverless and when to use @serverless/typescript?

IMO, @serverless/typescript should be used as this package is generating the types using serverless JSON schema objects. @types/serverless is also not updated since long time and lacks v4 support as well.

@thadeu
Copy link

thadeu commented Jan 15, 2025

+1 here

@LeonardKoch
Copy link

This is also an important factor for us to more broadly adopt V4 for more services. Having to add dozens of ts ignores is making the upgrade hurdle higher for some of our larger monorepos. Please update this Serverless Team :)

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 a pull request may close this issue.

7 participants