fix supported versions - #1001
Conversation
|
I had just created a ticket before seeing this PR :) |
|
Simone Chiaretta (@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 Stephan van Rooij (@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 |
|
Jikun (@cjk7989) I removed the node versions (that should be supported), and made it accept both |
|
Jikun (@cjk7989) care to have a look at this PR? It is an easy fix that will unblock others. While not changing anything mayor. Not officially supporting dotnet 10 really makes users of Swa nervous, and they start asking questions if SWA is still a product Microsoft wants to support. |

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 }, }