Skip to content

Commit 086d2cd

Browse files
cjk7989Jikun
andauthored
feat: upgrade swa runtime version (#967)
* feat: upgrade swa runtime version * update constants for swa init * recover old runtime --------- Co-authored-by: Jikun <[email protected]>
1 parent 2102e1c commit 086d2cd

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

schema/staticwebapp.config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@
587587
"enum": [
588588
"dotnet:3.1",
589589
"dotnet:6.0",
590+
"dotnet:8.0",
590591
"dotnet-isolated:6.0",
591592
"dotnet-isolated:7.0",
592593
"dotnet-isolated:8.0",
@@ -598,7 +599,8 @@
598599
"node:20",
599600
"python:3.8",
600601
"python:3.9",
601-
"python:3.10"
602+
"python:3.10",
603+
"python:3.11"
602604
],
603605
"description": "Language runtime for the managed functions API"
604606
}

src/core/constants.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,10 +305,10 @@ export const DEFAULT_VERSION = {
305305
};
306306

307307
export const SUPPORTED_VERSIONS = {
308-
Node: ["12", "14", "16", "18"],
309-
Dotnet: ["3.1", "6.0"],
310-
DotnetIsolated: ["6.0", "7.0", "8.0"],
311-
Python: ["3.8", "3.9", "3.10"],
308+
Node: ["12", "14", "16", "18", "20"],
309+
Dotnet: ["3.1", "6.0", "8.0"],
310+
DotnetIsolated: ["6.0", "7.0", "8.0", "9.0"],
311+
Python: ["3.8", "3.9", "3.10", "3.11"],
312312
};
313313

314314
export const DEFAULT_RUNTIME_LANGUAGE = "node";

0 commit comments

Comments
 (0)