Commit 2d32163
chore: upgrade to node 24 (#3379)
<!--
Please make sure to read the Pull Request Guidelines:
https://github.com/aws-amplify/amplify-cli/blob/master/CONTRIBUTING.md#pull-requests
-->
#### Description of changes
Update lambda runtime / node dependencies to node 24. Also upload sdk
deps in related packages to most recent version. Upgrade knex dependency
for compatibility.
Upgraded `aws-cdk-lib` to 2.224.0 which is the oldest version of
`aws-cdk-lib` that has access to Node 24 lambda functions (and locked to
that version for now).
Upgraded `jsii` to 5.7.0 for compatibility with Node 24.
Node 24 Lambda functions do not support callback-based handler
signatures and force the use of async/await which lead to some tests
getting changed
(https://aws.amazon.com/blogs/compute/node-js-24-runtime-now-available-in-aws-lambda/).
`aws-serverless-express` is dead and has been replace by its successor
`@codegenie/serverless-express`.
<!--
Thank you for your Pull Request! Please provide a description above and
review
the requirements below.
-->
##### CDK / CloudFormation Parameters Changed
<!--
Please list any changes to the CDK/CFN params, with a link to references
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html
e.g.
* Conditionally added support for `Code` based AppSync Functions:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-code
* Conditionally added support for `Code` based AppSync Resolvers:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html#cfn-appsync-resolver-code
-->
#### Issue #, if available
<!-- Also, please reference any associated PRs for documentation
updates. -->
#### Description of how you validated changes
#### Checklist
<!-- Remove items that do not apply. For completed items, change [ ] to
[x]. -->
- [x] PR description included
- [x] `yarn test` passes
- [x] E2E test run linked
- [x] Tests are [changed or
added](https://github.com/aws-amplify/amplify-cli/blob/master/CONTRIBUTING.md#tests)
- [ ] Relevant documentation is changed or added (and PR referenced)
- [ ] New AWS SDK calls or CloudFormation actions have been added to
relevant test and service IAM policies
- [ ] Any CDK or CloudFormation parameter changes are called out
explicitly
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
---------
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Jon Wire <iambipedal@gmail.com>1 parent d986592 commit 2d32163
54 files changed
Lines changed: 2159 additions & 1091 deletions
File tree
- client-test-apps/js/api-model-relationship-app
- packages
- amplify-data-construct
- amplify-graphql-api-construct-tests
- src
- __tests__
- __snapshots__
- backends
- admin-role
- sql-configurable-stack
- amplify-graphql-api-construct
- src/__tests__/__functional__
- amplify-graphql-auth-transformer
- amplify-graphql-conversation-transformer
- src/__tests__
- amplify-graphql-function-transformer
- amplify-graphql-generation-transformer
- amplify-graphql-http-transformer
- amplify-graphql-index-transformer
- amplify-graphql-model-transformer
- src
- resolvers/rds
- resources/amplify-dynamodb-table
- amplify-graphql-name-mapping-transformer
- src
- amplify-graphql-predictions-transformer
- assets
- src
- __tests__/__snapshots__
- amplify-graphql-relational-transformer
- amplify-graphql-schema-generator
- src/utils
- vpc-db-lambda
- amplify-graphql-searchable-transformer
- amplify-graphql-sql-transformer
- amplify-graphql-transformer-core
- amplify-graphql-transformer-interfaces
- amplify-graphql-transformer-test-utils
- amplify-graphql-transformer
- graphql-transformer-common/src
- graphql-transformer-core
- graphql-transformers-e2e-tests
- resources/jsonServer
- src-server
- src
- src
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
| 422 | + | |
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
295 | | - | |
| 294 | + | |
| 295 | + | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
| 54 | + | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| |||
0 commit comments