Skip to content

Commit e123953

Browse files
committed
Update Lambda runtimes
1 parent 87ed1d0 commit e123953

File tree

1 file changed

+29
-18
lines changed

1 file changed

+29
-18
lines changed

cjs/index.js

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
// Runtimes still being tested out can be added, just not at runtimes[runtime][0]
44
let runtimes = {
55
node: [
6+
'nodejs22.x',
67
'nodejs20.x',
78
'nodejs18.x',
8-
'nodejs16.x',
99
],
1010
python: [
11+
'python3.13',
1112
'python3.12',
1213
'python3.11',
1314
'python3.10',
1415
'python3.9',
15-
'python3.8',
1616
],
1717
java: [
1818
'java21',
@@ -21,10 +21,11 @@ let runtimes = {
2121
'java8.al2',
2222
],
2323
dotnet: [
24-
'dotnet7',
24+
'dotnet8',
2525
'dotnet6',
2626
],
2727
ruby: [
28+
'ruby3.3',
2829
'ruby3.2',
2930
],
3031
custom: [
@@ -34,6 +35,13 @@ let runtimes = {
3435
}
3536

3637
let runtimeVersions = {
38+
'nodejs22.x': {
39+
runtime: 'node',
40+
major: '22',
41+
minor: null,
42+
patch: null,
43+
wildcard: '22.*.*'
44+
},
3745
'nodejs20.x': {
3846
runtime: 'node',
3947
major: '20',
@@ -48,12 +56,12 @@ let runtimeVersions = {
4856
patch: null,
4957
wildcard: '18.*.*'
5058
},
51-
'nodejs16.x': {
52-
runtime: 'node',
53-
major: '16',
54-
minor: null,
59+
'python3.13': {
60+
runtime: 'python',
61+
major: '3',
62+
minor: '13',
5563
patch: null,
56-
wildcard: '16.*.*'
64+
wildcard: '3.13.*',
5765
},
5866
'python3.12': {
5967
runtime: 'python',
@@ -83,13 +91,6 @@ let runtimeVersions = {
8391
patch: null,
8492
wildcard: '3.9.*',
8593
},
86-
'python3.8': {
87-
runtime: 'python',
88-
major: '3',
89-
minor: '8',
90-
patch: null,
91-
wildcard: '3.8.*',
92-
},
9394
'java21': {
9495
runtime: 'java',
9596
major: '21',
@@ -118,12 +119,12 @@ let runtimeVersions = {
118119
patch: null,
119120
wildcard: '8.*.*',
120121
},
121-
'dotnet7': {
122+
'dotnet8': {
122123
runtime: 'dotnet',
123-
major: '7',
124+
major: '8',
124125
minor: null,
125126
patch: null,
126-
wildcard: '7.*',
127+
wildcard: '8.*',
127128
},
128129
'dotnet6': {
129130
runtime: 'dotnet',
@@ -132,6 +133,13 @@ let runtimeVersions = {
132133
patch: null,
133134
wildcard: '6.*',
134135
},
136+
'ruby3.3': {
137+
runtime: 'ruby',
138+
major: '3',
139+
minor: '3',
140+
patch: null,
141+
wildcard: '3.3.*',
142+
},
135143
'ruby3.2': {
136144
runtime: 'ruby',
137145
major: '3',
@@ -191,6 +199,7 @@ let aliases = {
191199

192200
let retiredRuntimes = {
193201
node: [
202+
'nodejs16.x',
194203
'nodejs14.x',
195204
'nodejs12.x',
196205
'nodejs10.x',
@@ -201,6 +210,7 @@ let retiredRuntimes = {
201210
'nodejs', // 0.10
202211
],
203212
python: [
213+
'python3.8',
204214
'python3.7',
205215
'python3.6',
206216
'python2.7',
@@ -216,6 +226,7 @@ let retiredRuntimes = {
216226
'go1.x',
217227
],
218228
dotnet: [
229+
'dotnet7',
219230
'dotnet5.0',
220231
'dotnetcore3.1',
221232
'dotnetcore2.1',

0 commit comments

Comments
 (0)