fix supported versions#1001
Conversation
|
I had just created a ticket before seeing this PR :) |
|
@simonechGSC just deploy your app with |
That's indeed what I did... I wonder what is the purpose of that parameter if is not taken into account |
|
Great question for the team that developed this cli. |
|
Hi @svrooij, thank you very much for the contribution. StaticWebApps platform haven't supported node 24, 26 currently, so just making changes on SWA-CLI will not help. We will support them in the future. See https://learn.microsoft.com/en-us/azure/static-web-apps/languages-runtimes |
According to that page, net10 is not supported either, but I deploy it, it works fine. Also that page was last updated in february 2025, not really up to date |
|
@cjk7989 I removed the node versions (that should be supported), and made it accept both |

It is a mistery to my why the cli is only supporting very old versions. Here is a version bump for node an
dotnet-isolatedwhich for some reason are referenced asdotnetisolatedonly in this repository.And you might want to change the config specification to also reflect this..... schemastore.org/staticwebapp.config.json
{ "platform": { "type": "object", "description": "Platform configuration", "properties": { "apiRuntime": { "type": "string", "enum": [ "dotnet:3.1", "dotnet:6.0", "dotnet-isolated:6.0", "dotnet-isolated:7.0", "dotnet-isolated:8.0", "dotnet-isolated:9.0", "node:12", "node:14", "node:16", "node:18", "node:20", "python:3.8", "python:3.9", "python:3.10" ], "description": "Language runtime for the managed functions API" } }, "additionalProperties": false }, }