Supported languages in Azure Functions

This article explains the levels of support offered for languages that you can use with Azure Functions. It also describes strategies for creating functions using languages not natively supported.

Levels of support

There are two levels of support:

  • Generally available (GA) - Fully supported and approved for production use.
  • Preview - Not yet supported, but expected to reach GA status in the future.

Languages by runtime version

Several versions of the Azure Functions runtime are available. The following table shows which languages are supported in each runtime version.

Language 1.x 2.x 3.x 4.x (Preview)
C# GA (.NET Framework 4.8) GA (.NET Core 2.11) GA (.NET Core 3.1)
GA (.NET 5.0)
Preview (.NET 6.0)
JavaScript GA (Node 6) GA (Node 10 & 8) GA (Node 14, 12, & 10) Preview (Node 14)
F# GA (.NET Framework 4.8) GA (.NET Core 2.11) GA (.NET Core 3.1) Preview (.NET 6.0)
Java N/A GA (Java 8) GA (Java 11 & 8) Preview (Java 11 & 8)
PowerShell N/A GA (PowerShell Core 6) GA (PowerShell 7.0 & Core 6) Preview (PowerShell 7.0)
Python N/A GA (Python 3.7 & 3.6) GA (Python 3.9, 3.8, 3.7, & 3.6) Preview (Python 3.9, 3.8)
TypeScript2 N/A GA GA Preview

1 .NET class library apps targeting runtime version 2.x runs on .NET Core 3.1 in .NET Core 2.x compatibility mode. To learn more, see Functions v2.x considerations.
2 Supported through transpiling to JavaScript.

See the language-specific developer guide article for more details about supported language versions.
For information about planned changes to language support, see Azure roadmap.

Language major version support

Azure Functions provides a guarantee of support for the major versions of supported programming languages. For most languages, there are minor or patch versions released to update a supported major version. Examples of minor or patch versions include such as Python 3.9.1 and Node 14.17. After new minor versions of supported languages become available, the minor versions used by your functions apps are automatically upgraded to these newer minor or patch versions.

Note

Because Azure Functions can remove the support of older minor versions at any time after a new minor version is available, you shouldn't pin your function apps to a specific minor/patch version of a programming language.

Custom handlers

Custom handlers are lightweight web servers that receive events from the Azure Functions host. Any language that supports HTTP primitives can implement a custom handler. This means that custom handlers can be used to create functions in languages that aren't officially supported. To learn more, see Azure Functions custom handlers.

Language extensibility

Starting with version 2.x, the runtime is designed to offer language extensibility. The JavaScript and Java languages in the 2.x runtime are built with this extensibility.

Next steps

To learn more about how to develop functions in the supported languages, see the following resources: