Azure Static Web Apps support for Node 12 ends on 3 December 2022
Published date: September 30, 2022
Node 12 announced the end of community support on 30 April 2022. As a result, extended support for Node 12 in Azure Static Web Apps ends on 3 December 2022. After this date, your existing static web apps that use Azure Functions will continue to work, but security patches and customer service for Node 12 will no longer be provided.
Azure Functions announced the end of support for Azure Functions Core Tools v3.0 in March 2022. Since the managed functions hosted by Azure Static Web Apps run on Azure Functions, we recommend you update your functions applications to runtime version 4.x, which supports Node 16.
Node 16 is the latest version with long-term support and provides these enhancements:
The update of the V8 JavaScript engine to 9.0
Faster calls to functions with a mismatched argument list length
Improved support for Regex and additional stable APIs.
npm 7, and much more.
Required action
To avoid potential service disruptions or security vulnerabilities, update your applications to runtime version 4.x before 3 December 2022.
Change the api runtime from Node 12 to Node 16 and configure the apiRuntime version in staticwebapp.config.json as explained here.
To learn more about Azure Functions runtime support policy, check out this documentation.
Help and support
If you have questions, get answers from community experts in Microsoft Q&A. If you have a support plan and you need technical help, please create a support request.