Skip to content

Commit

Permalink
Update Lambda runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger authored and ryanblock committed Dec 4, 2024
1 parent 87ed1d0 commit baca5e7
Showing 1 changed file with 29 additions and 18 deletions.
47 changes: 29 additions & 18 deletions cjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
// Runtimes still being tested out can be added, just not at runtimes[runtime][0]
let runtimes = {
node: [
'nodejs22.x',
'nodejs20.x',
'nodejs18.x',
'nodejs16.x',
],
python: [
'python3.13',
'python3.12',
'python3.11',
'python3.10',
'python3.9',
'python3.8',
],
java: [
'java21',
Expand All @@ -21,10 +21,11 @@ let runtimes = {
'java8.al2',
],
dotnet: [
'dotnet7',
'dotnet8',
'dotnet6',
],
ruby: [
'ruby3.3',
'ruby3.2',
],
custom: [
Expand All @@ -34,6 +35,13 @@ let runtimes = {
}

let runtimeVersions = {
'nodejs22.x': {
runtime: 'node',
major: '22',
minor: null,
patch: null,
wildcard: '22.*.*'
},
'nodejs20.x': {
runtime: 'node',
major: '20',
Expand All @@ -48,12 +56,12 @@ let runtimeVersions = {
patch: null,
wildcard: '18.*.*'
},
'nodejs16.x': {
runtime: 'node',
major: '16',
minor: null,
'python3.13': {
runtime: 'python',
major: '3',
minor: '13',
patch: null,
wildcard: '16.*.*'
wildcard: '3.13.*',
},
'python3.12': {
runtime: 'python',
Expand Down Expand Up @@ -83,13 +91,6 @@ let runtimeVersions = {
patch: null,
wildcard: '3.9.*',
},
'python3.8': {
runtime: 'python',
major: '3',
minor: '8',
patch: null,
wildcard: '3.8.*',
},
'java21': {
runtime: 'java',
major: '21',
Expand Down Expand Up @@ -118,12 +119,12 @@ let runtimeVersions = {
patch: null,
wildcard: '8.*.*',
},
'dotnet7': {
'dotnet8': {
runtime: 'dotnet',
major: '7',
major: '8',
minor: null,
patch: null,
wildcard: '7.*',
wildcard: '8.*',
},
'dotnet6': {
runtime: 'dotnet',
Expand All @@ -132,6 +133,13 @@ let runtimeVersions = {
patch: null,
wildcard: '6.*',
},
'ruby3.3': {
runtime: 'ruby',
major: '3',
minor: '3',
patch: null,
wildcard: '3.3.*',
},
'ruby3.2': {
runtime: 'ruby',
major: '3',
Expand Down Expand Up @@ -191,6 +199,7 @@ let aliases = {

let retiredRuntimes = {
node: [
'nodejs16.x',
'nodejs14.x',
'nodejs12.x',
'nodejs10.x',
Expand All @@ -201,6 +210,7 @@ let retiredRuntimes = {
'nodejs', // 0.10
],
python: [
'python3.8',
'python3.7',
'python3.6',
'python2.7',
Expand All @@ -216,6 +226,7 @@ let retiredRuntimes = {
'go1.x',
],
dotnet: [
'dotnet7',
'dotnet5.0',
'dotnetcore3.1',
'dotnetcore2.1',
Expand Down

0 comments on commit baca5e7

Please sign in to comment.