Skip to content

Commit 2bb58e7

Browse files
author
Jikun
committed
updated supported api runtime versions
1 parent 72ea22b commit 2bb58e7

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

src/core/constants.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -298,17 +298,17 @@ export const SWA_CONFIG_SCHEME_FALLBACK_PATH = path.join(__dirname, "../../schem
298298

299299
// Constants related to Api runtime
300300
export const DEFAULT_VERSION = {
301-
Node: "16",
302-
Dotnet: "6.0",
303-
DotnetIsolated: "6.0",
304-
Python: "3.8",
301+
Node: "22",
302+
Dotnet: "8.0",
303+
DotnetIsolated: "8.0",
304+
Python: "3.11",
305305
};
306306

307307
export const SUPPORTED_VERSIONS = {
308-
Node: ["12", "14", "16", "18", "20", "22"],
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"],
308+
Node: ["18", "20", "22"],
309+
Dotnet: ["8.0"],
310+
DotnetIsolated: ["8.0", "9.0"],
311+
Python: ["3.9", "3.10", "3.11"],
312312
};
313313

314314
export const DEFAULT_RUNTIME_LANGUAGE = "node";

src/core/frameworks/frameworks.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const apiFrameworks: FrameworkDefinition[] = [
66
config: {
77
apiBuildCommand: "npm run build --if-present",
88
apiLanguage: "node",
9-
apiVersion: "16",
9+
apiVersion: "22",
1010
},
1111
},
1212
{
@@ -27,7 +27,7 @@ export const apiFrameworks: FrameworkDefinition[] = [
2727
config: {
2828
apiBuildCommand: "dotnet publish -c Release",
2929
apiLanguage: "dotnet",
30-
apiVersion: "6.0",
30+
apiVersion: "8.0",
3131
},
3232
},
3333
{
@@ -36,7 +36,7 @@ export const apiFrameworks: FrameworkDefinition[] = [
3636
files: ["*.?(csproj|fsproj)", "host.json"],
3737
config: {
3838
apiLanguage: "dotnetisolated",
39-
apiVersion: "6.0",
39+
apiVersion: "8.0",
4040
},
4141
},
4242
{
@@ -46,7 +46,7 @@ export const apiFrameworks: FrameworkDefinition[] = [
4646
config: {
4747
// Nothing to setup, but we need to know the apiLocation (rootPath)
4848
apiLanguage: "python",
49-
apiVersion: "3.8",
49+
apiVersion: "3.11",
5050
},
5151
},
5252
];

0 commit comments

Comments
 (0)