Skip to content

Commit f2c6b01

Browse files
Merge pull request #251220 from hossam-nasr/node20-preview
Add node 20 as a preview supported language
2 parents 1d5d125 + 5e616b2 commit f2c6b01

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

articles/azure-functions/create-first-function-cli-node.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Before you begin, you must have the following prerequisites:
3131
+ The Azure [Az PowerShell module](/powershell/azure/install-azure-powershell) version 5.9.0 or later.
3232

3333
::: zone pivot="nodejs-model-v3"
34-
+ [Node.js](https://nodejs.org/) version 18 or 16.
34+
+ [Node.js](https://nodejs.org/) version 20 (preview), 18 or 16.
3535
::: zone-end
3636

3737
::: zone pivot="nodejs-model-v4"
@@ -151,15 +151,15 @@ Each binding requires a direction, a type, and a unique name. The HTTP trigger h
151151
az functionapp create --resource-group AzureFunctionsQuickstart-rg --consumption-plan-location <REGION> --runtime node --runtime-version 18 --functions-version 4 --name <APP_NAME> --storage-account <STORAGE_NAME>
152152
```
153153

154-
The [az functionapp create](/cli/azure/functionapp#az-functionapp-create) command creates the function app in Azure. It's recommended that you use the latest version of Node.js, which is currently 18. You can specify the version by setting `--runtime-version` to `18`.
154+
The [az functionapp create](/cli/azure/functionapp#az-functionapp-create) command creates the function app in Azure. It's recommended that you use the latest LTS version of Node.js, which is currently 18. You can specify the version by setting `--runtime-version` to `18`.
155155

156156
# [Azure PowerShell](#tab/azure-powershell)
157157

158158
```azurepowershell
159159
New-AzFunctionApp -Name <APP_NAME> -ResourceGroupName AzureFunctionsQuickstart-rg -StorageAccount <STORAGE_NAME> -Runtime node -RuntimeVersion 18 -FunctionsVersion 4 -Location <REGION>
160160
```
161161

162-
The [New-AzFunctionApp](/powershell/module/az.functions/new-azfunctionapp) cmdlet creates the function app in Azure. It's recommended that you use the latest version of Node.js, which is currently 18. You can specify the version by setting `--runtime-version` to `18`.
162+
The [New-AzFunctionApp](/powershell/module/az.functions/new-azfunctionapp) cmdlet creates the function app in Azure. It's recommended that you use the latest LTS version of Node.js, which is currently 18. You can specify the version by setting `--runtime-version` to `18`.
163163

164164
---
165165

articles/azure-functions/functions-reference-node.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ The following table shows each version of the Node.js programming model along wi
3030

3131
| [Programming Model Version](https://www.npmjs.com/package/@azure/functions?activeTab=versions) | Support Level | [Functions Runtime Version](./functions-versions.md) | [Node.js Version](https://github.com/nodejs/release#release-schedule) | Description |
3232
| ---- | ---- | --- | --- | --- |
33-
| 4.x | Preview | 4.16+ | 18.x | Supports a flexible file structure and code-centric approach to triggers and bindings. |
34-
| 3.x | GA | 4.x | 18.x, 16.x, 14.x | Requires a specific file structure with your triggers and bindings declared in a "function.json" file |
33+
| 4.x | Preview | 4.16+ | 20.x (Preview), 18.x | Supports a flexible file structure and code-centric approach to triggers and bindings. |
34+
| 3.x | GA | 4.x | 20.x (Preview), 18.x, 16.x, 14.x | Requires a specific file structure with your triggers and bindings declared in a "function.json" file |
3535
| 2.x | GA (EOL) | 3.x | 14.x, 12.x, 10.x | Reached end of life (EOL) on December 13, 2022. See [Functions Versions](./functions-versions.md) for more info. |
3636
| 1.x | GA (EOL) | 2.x | 10.x, 8.x | Reached end of life (EOL) on December 13, 2022. See [Functions Versions](./functions-versions.md) for more info. |
3737

includes/functions-requirements-visual-studio-code-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: glenga
88

99
+ An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
1010

11-
+ [Node.js 18.x](https://nodejs.org/en/download/releases/) or [Node.js 16.x](https://nodejs.org/en/download/releases/). Use the `node --version` command to check your version.
11+
+ [Node.js 14.x](https://nodejs.org/en/download/releases/) or above. Use the `node --version` command to check your version.
1212

1313
+ [Visual Studio Code](https://code.visualstudio.com/) on one of the [supported platforms](https://code.visualstudio.com/docs/supporting/requirements#_platforms).
1414

includes/functions-supported-languages.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ The following table shows the language versions supported for Node.js functions.
7474

7575
| Supported version | Support level | Expected community EOL date |
7676
| ---- | ---- |--- |
77+
| [Node.js 20](https://endoflife.date/nodejs) | Preview | April 30, 2026 |
7778
| [Node.js 18](https://endoflife.date/nodejs) | GA | April, 2025|
7879
| [Node.js 16](https://endoflife.date/nodejs) | GA | September 11, 2023<sup>\*</sup> |
7980
| [Node.js 14](https://endoflife.date/nodejs) | GA | April 30, 2023<sup>\*</sup> |

0 commit comments

Comments
 (0)