From 1d0b3ed88d203994fccc22b45340f239432643a4 Mon Sep 17 00:00:00 2001 From: Stephan van Rooij <1292510+svrooij@users.noreply.github.com> Date: Sun, 12 Jul 2026 13:20:00 +0200 Subject: [PATCH 1/2] fix supported versions --- src/core/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/constants.ts b/src/core/constants.ts index d29c94ebf..873f24631 100644 --- a/src/core/constants.ts +++ b/src/core/constants.ts @@ -305,9 +305,9 @@ export const DEFAULT_VERSION = { }; export const SUPPORTED_VERSIONS = { - Node: ["18", "20", "22"], + Node: ["18", "20", "22", "24", "26"], Dotnet: ["8.0"], - DotnetIsolated: ["8.0", "9.0"], + DotnetIsolated: ["8.0", "9.0", "10.0"], Python: ["3.9", "3.10", "3.11"], }; From f5eb5de73ade438c894905a95e63b1a6d2d1f3ea Mon Sep 17 00:00:00 2001 From: Stephan van Rooij <1292510+svrooij@users.noreply.github.com> Date: Wed, 15 Jul 2026 15:47:08 +0200 Subject: [PATCH 2/2] Fix dotnet-isolated naming mistake from the past --- schema/staticwebapp.config.json | 1 + src/cli/commands/deploy/deploy.ts | 5 +++++ src/core/constants.ts | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/schema/staticwebapp.config.json b/schema/staticwebapp.config.json index 3d36c64fb..6cf29dbe4 100644 --- a/schema/staticwebapp.config.json +++ b/schema/staticwebapp.config.json @@ -588,6 +588,7 @@ "dotnet:8.0", "dotnet-isolated:8.0", "dotnet-isolated:9.0", + "dotnet-isolated:10.0", "node:18", "node:20", "node:22", diff --git a/src/cli/commands/deploy/deploy.ts b/src/cli/commands/deploy/deploy.ts index f748accde..f674ac232 100644 --- a/src/cli/commands/deploy/deploy.ts +++ b/src/cli/commands/deploy/deploy.ts @@ -37,6 +37,11 @@ export async function deploy(options: SWACLIConfig) { apiVersion, } = options; + // normalize the hyphenated variant to the canonical value used throughout the codebase + if (apiLanguage === "dotnet-isolated") { + apiLanguage = "dotnetisolated"; + } + if (dryRun) { logger.warn("***********************************************************************"); logger.warn("* WARNING: Running in dry run mode. This project will not be deployed *"); diff --git a/src/core/constants.ts b/src/core/constants.ts index 873f24631..3d41b2873 100644 --- a/src/core/constants.ts +++ b/src/core/constants.ts @@ -305,7 +305,7 @@ export const DEFAULT_VERSION = { }; export const SUPPORTED_VERSIONS = { - Node: ["18", "20", "22", "24", "26"], + Node: ["18", "20", "22"], Dotnet: ["8.0"], DotnetIsolated: ["8.0", "9.0", "10.0"], Python: ["3.9", "3.10", "3.11"],