Skip to content

Commit 770734e

Browse files
authored
default to node 22 (#865)
* default to node 22 * fix typos
1 parent df4e228 commit 770734e

File tree

9 files changed

+126
-65
lines changed

9 files changed

+126
-65
lines changed

.ncurc.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
22
"upgrade": false,
33
"reject": [
4-
"@types/node",
54
"got",
6-
"ava",
7-
"@ava/typescript",
85
"eslint",
96
"@opensearch-project/opensearch",
107
"serverless",

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
22

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## unreleased - TBD
9+
10+
### Changed
11+
12+
- Use Node 22 by default.
13+
814
## [3.11.0] - 2025-03-27
915

1016
### Added

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
- [Architecture](#architecture)
1010
- [Migration](#migration)
1111
- [Warnings](#warnings)
12+
- [4.0.0](#400)
13+
- [Node 22 update](#node-22-update)
1214
- [3.10.0](#3100)
1315
- [Node 20 update](#node-20-update)
1416
- [3.1.0](#310)
@@ -164,15 +166,24 @@ apiLambda --> opensearch
164166
name, reindex the existing index into the newly-created index, delete and re-created
165167
the existing index by creating a collection, and reindex back into the index.
166168

169+
### 4.0.0
170+
171+
#### Node 22 update
172+
173+
The default Lambda deployment environment is now Node 22.
174+
175+
To update the deployment to use Node 22, modify the serverless config file value
176+
`provider.runtime` to be `nodejs22.x` and the application re-deployed.
177+
167178
### 3.10.0
168179

169180
#### Node 20 update
170181

171182
The default Lambda deployment environment is now Node 20. The major difference between
172183
the Node 18 and Node 20 Lambda environment is the update of the underlying Linux version
173-
from Amazon Linux 2 to Amazon Linux 2023.
184+
from Amazon Linux 2 to Amazon Linux 2023.
174185

175-
To update the deployment to use Node 18, modify the serverless config file value
186+
To update the deployment to use Node 20, modify the serverless config file value
176187
`provider.runtime` to be `nodejs20.x` and the application re-deployed.
177188

178189
### 3.1.0

0 commit comments

Comments
 (0)