Skip to content

Commit 8dcedf2

Browse files
Merge pull request #273242 from craigshoemaker/swa/node18
[Static Web Apps] Update: Remove preview flag from Node 18
2 parents 64fdc56 + 0a86266 commit 8dcedf2

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

articles/static-web-apps/apis-functions.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: API support in Azure Static Web Apps with Azure Functions
3-
description: Learn how to use Azure Functions with Azure Static Web Apps
3+
description: Learn how to use Azure Functions with Azure Static Web Apps.
44
services: static-web-apps
55
author: craigshoemaker
66
ms.service: static-web-apps
@@ -11,20 +11,20 @@ ms.author: cshoe
1111

1212
# API support in Azure Static Web Apps with Azure Functions
1313

14-
Front end web applications often call back end APIs for data and services. By default, Azure Static Web Apps provides built-in serverless API endpoints via [Azure Functions](apis-functions.md).
14+
Front end web applications often callback end APIs for data and services. By default, Azure Static Web Apps provides built-in serverless API endpoints via [Azure Functions](apis-functions.md).
1515

16-
Azure Functions APIs in Static Web Apps are supported by two possible configurations depending on the [hosting plan](plans.md#features):
16+
Azure Functions APIs in Static Web Apps are available in two possible configurations depending on the [hosting plan](plans.md#features):
1717

1818
- **Managed functions**: By default, the API of a static web app is an Azure Functions application managed and deployed by Azure Static Web Apps associated with some restrictions.
1919

20-
- **Bring your own functions**: Optionally, you can [provide an existing Azure Functions application](functions-bring-your-own.md) of any plan type, which is accompanied by all the features of Azure Functions. With this configuration, you're responsible to handle a separate deployment for the Functions app.
20+
- **Bring your own functions**: Optionally, you can [provide an existing Azure Functions application](functions-bring-your-own.md) of any plan type, which includes all the features of Azure Functions. With this configuration, you're responsible to handle a separate deployment for the Functions app.
2121

2222
The following table contrasts the differences between using managed and existing functions.
2323

2424
| Feature | Managed Functions | Bring your own Functions |
2525
|---|---|---|
2626
| Access to Azure Functions [triggers and bindings](../azure-functions/functions-triggers-bindings.md#supported-bindings) | HTTP only | All |
27-
| Supported Azure Functions [runtimes](../azure-functions/supported-languages.md#languages-by-runtime-version)<sup>1</sup> | Node.js 12<br>Node.js 14<br>Node.js 16<br>Node.js 18 (public preview)<br>.NET Core 3.1<br>.NET 6.0<br>.NET 7.0<br>Python 3.8<br>Python 3.9<br>Python 3.10 | All |
27+
| Supported Azure Functions [runtimes](../azure-functions/supported-languages.md#languages-by-runtime-version)<sup>1</sup> | Node.js 12<br>Node.js 14<br>Node.js 16<br>Node.js 18<br>.NET Core 3.1<br>.NET 6.0<br>.NET 7.0<br>Python 3.8<br>Python 3.9<br>Python 3.10 | All |
2828
| Supported Azure Functions [hosting plans](../azure-functions/functions-scale.md) | Consumption | Consumption<br>Premium<br>Dedicated |
2929
| [Integrated security](user-information.md) with direct access to user authentication and role-based authorization data |||
3030
| [Routing integration](./configuration.md?#routes) that makes the `/api` route available to the web app securely without requiring custom CORS rules. |||
@@ -64,7 +64,7 @@ In addition to the Static Web Apps API [constraints](apis-overview.md#constraint
6464

6565
| Managed functions | Bring your own functions |
6666
|---|---|
67-
| <ul><li>Triggers and bindings are limited to [HTTP](../azure-functions/functions-bindings-http-webhook.md).</li><li>The Azure Functions app must either be in Node.js 12, Node.js 14, Node.js 16, Node.js 18 (public preview), .NET Core 3.1, .NET 6.0, Python 3.8, Python 3.9 or Python 3.10.</li><li>Some application settings are managed by the service, therefore the following prefixes are reserved by the runtime:<ul><li>*APPSETTING\_, AZUREBLOBSTORAGE\_, AZUREFILESSTORAGE\_, AZURE_FUNCTION\_, CONTAINER\_, DIAGNOSTICS\_, DOCKER\_, FUNCTIONS\_, IDENTITY\_, MACHINEKEY\_, MAINSITE\_, MSDEPLOY\_, SCMSITE\_, SCM\_, WEBSITES\_, WEBSITE\_, WEBSOCKET\_, AzureWeb*</li></ul></li><li>Some application tags are internally used by the service. Therefore, the following tags are reserved:<ul><li> *AccountId, EnvironmentId, FunctionAppId*.</li></ul></li></ul> | <ul><li>You are responsible to manage the Functions app deployment.</li></ul> |
67+
| <ul><li>Triggers and bindings are limited to [HTTP](../azure-functions/functions-bindings-http-webhook.md).</li><li>The Azure Functions app must either be in Node.js 12, Node.js 14, Node.js 16, Node.js 18 (public preview), .NET Core 3.1, .NET 6.0, Python 3.8, Python 3.9, or Python 3.10.</li><li>Some application settings are managed by the service, therefore the following prefixes are reserved by the runtime:<ul><li>*APPSETTING\_, AZUREBLOBSTORAGE\_, AZUREFILESSTORAGE\_, AZURE_FUNCTION\_, CONTAINER\_, DIAGNOSTICS\_, DOCKER\_, FUNCTIONS\_, IDENTITY\_, MACHINEKEY\_, MAINSITE\_, MSDEPLOY\_, SCMSITE\_, SCM\_, WEBSITES\_, WEBSITE\_, WEBSOCKET\_, AzureWeb*</li></ul></li><li>Some application tags are internally used by the service. Therefore, the following tags are reserved:<ul><li> *AccountId, EnvironmentId, FunctionAppId*.</li></ul></li></ul> | <ul><li>You're responsible to manage the Functions app deployment.</li></ul> |
6868

6969
## Next steps
7070

articles/static-web-apps/languages-runtimes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: static-web-apps
55
author: craigshoemaker
66
ms.service: static-web-apps
77
ms.topic: conceptual
8-
ms.date: 08/30/2022
8+
ms.date: 04/24/2024
99
ms.author: cshoe
1010
---
1111

@@ -35,9 +35,9 @@ You can specify the runtime version that builds the front end of your static web
3535

3636
## API
3737

38-
The APIs in Azure Static Web Apps are supported by Azure Functions. Refer to the [Azure Functions supported languages and runtimes](../azure-functions/supported-languages.md) for details.
38+
The underlying support for APIs in Azure Static Web Apps is provided by Azure Functions. Refer to the [Azure Functions supported languages and runtimes](../azure-functions/supported-languages.md) for details.
3939

40-
The following versions are supported for managed functions in Static Web Apps. If your application requires a version not listed, considering [bringing your own functions](./functions-bring-your-own.md).
40+
The following versions are supported for managed functions in Static Web Apps. If your application requires a version not listed, consider [bringing your own functions](./functions-bring-your-own.md) to your app.
4141

4242
[!INCLUDE [Languages and runtimes](../../includes/static-web-apps-languages-runtimes.md)]
4343

includes/static-web-apps-languages-runtimes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To configure the API language runtime version, set the `apiRuntime` property in
1818
| Node.js 12.x | Linux | 3.x | `node:12` | December 3, 2022 |
1919
| Node.js 14.x | Linux | 4.x | `node:14` | - |
2020
| Node.js 16.x | Linux | 4.x | `node:16` | - |
21-
| Node.js 18.x <br>(public preview) | Linux | 4.x | `node:18` | - |
21+
| Node.js 18.x | Linux | 4.x | `node:18` | - |
2222
| Python 3.8 | Linux | 4.x | `python:3.8` | - |
2323
| Python 3.9 | Linux | 4.x | `python:3.9` | - |
2424
| Python 3.10 | Linux | 4.x | `python:3.10` | - |

0 commit comments

Comments
 (0)