-
Notifications
You must be signed in to change notification settings - Fork 628
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
Cannot upgrade @middy/core to v5.x #3681
Comments
## Description This PR upgrades the node runtime to the latest LTS version on AWS. ## Migration - Ensure your AWS provider is supporting nodejs20x ## Updates - Examples - CI - All dependencies bumped except middy/core see #3681 ## Test - [x] multi-runner - [x] ephemeral with enabled pool close: #3645 --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello @npalm! Concerning the usage of Powertools for AWS Lambda (TypeScript) and Middy v5: the current Powertools version 1.18.0 officially supports Middy up until version 3, as described in the documentation. Official support for Middy v4 is expected to be launched soon as part of the upcoming major release 2.x. I opened a feature request for official support of Middy v5. Concerning the usage of Middy v5 and Jest: it seems like the libraries can be used together successfully by using these tsconfig setup. Can you share the errors that you are getting in the unit tests? |
Hi @saragerion, still getting the same error on @middy/core: 5.2.4, Cannot find module '@middy/core' or its corresponding type declarations. my jest.config.ts
|
Hi @vks-dbb and @npalm, I tried to reproduce your issue but I cannot. Just checking: it seems like the bug is solved? See this comment: #3789 (comment) If the bug was caused by the Powetools library, can you please open an issue in the Powertools repository? |
No still having the issue when updating middy. But looks like not a powertools issue. |
Thanks for clarifying @npalm! |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs. Thank you for your contributions. |
Upgrading @middy/core failes the unit test. Issue looks related to middyjs/middy#1148
See also: #3724
The text was updated successfully, but these errors were encountered: