It is exciting to have Microsoft Ignite happening this week and the team wanted to give an update on the latest releases of Azure Functions since the previous update in May Azure Functions – May update for Microsoft build. There have been a lot of features that were released based on your feedback that hopefully will make your experience using Azure Functions better as you build out your serverless applications.
The following capabilities are now generally available for all Functions customers.
Azure Functions now supports .NET 8 for applications using the isolated worker model. Support is available for Windows and Linux on the Consumption, Elastic Premium, and App Service plan hosting options. .NET 8 on the isolated worker model is the new recommended default for .NET function apps, and this will be reflected in tooling updates released after this announcement.
If you want to upgrade your existing Function applications to .NET 8, you can use the .NET Upgrade Assistant or follow the documentation at https://aka.ms/af-dotnet-isolated-migration.
Support for .NET 8 does not currently extend to applications using the in-process model. See the August 2023 roadmap update for more information regarding support timelines.
For more information about .NET 8 on the isolated worker model, see https://aka.ms/af-dotnet-isolated-net8.
The isolated worker model has received several key updates that make it now the best way to author Azure Functions using .NET. These improvements include:
To learn more about the isolated worker model and how to integrate these features, see https://aka.ms/af-dotnet-isolated-guide.
The v4 programming model for Azure Functions using Node.js is now generally available. This programming model is part of Azure Function’s larger effort to provide flexible and intuitive experience for all supported languages.
With the v4 programming model, customers will benefit from:
To learn more about the Node,js v4 programming model, read our blog post
Starting with version 6.0.0 of the Azure Functions Event Hubs extension, a higher default value of 100 will be used for the maxEventBatchSize configuration setting.
This setting represents the maximum number of events from Event Hubs that the function can receive when it's invoked. This matches the defaults of the Azure SDK for Event Hubs and will apply starting with version 6.0.0 of the Event Hubs extension.
This change will be beneficial to the average scenario by helping to improve performance as well as lower costs due to fewer function executions. We recommend testing to ensure no breaking changes are introduced to your function app before updating existing applications to version 6.0.0 or newer of the Event Hubs extension, especially if you have code that was written to expect 10 as the max event batch size.
Use the application map for a more complete view of end-to-end transactions to better diagnose issues and interactions within your function application and external systems.
You can now use the latest Python 3.11 to build your applications. See the supported versions of Python in the documentation
Support of Durable Functions with the Azure Functions v2 programming model for development in Python is now Generally Available. Durable apps can now be organized in a manner more idiomatic to Python developers.
To learn more and try out durable with the v2 programming model for Python today, see Create your first durable function in Azure using Python
Azure Functions support for local development on Apple Silicon Macs is now generally available for Node.js, .NET, PowerShell, Python 3.8+, and Java 11 & 17. This means you can natively develop Azure Functions using Core Tools on Apple Silicon Macs. To get started, upgrade your Core Tools version to 4.0.5455 or above, and try it out!
Kubernetes Event-driven Autoscaling (KEDA) is a single-purpose and lightweight component that strives to make application autoscaling simple and is a CNCF Graduate project.
It applies event-driven autoscaling to scale your application to meet demand in a sustainable and cost-efficient manner with scale-to-zero. You can learn more about this release on the blog.
The KEDA add-on makes it even easier by deploying a managed KEDA installation, providing you with a rich catalog of Azure KEDA scalers that you can scale your applications with on your Azure Kubernetes Services (AKS) cluster. To learn more about using KEDA with Azure Functions in AKS, please visit the documentation.
The following capabilities are now in preview for Functions customers.
We are excited to introduce Flex Consumption, a new Azure Functions hosting option that offers more flexibility and customizability without compromising on available features. It introduces private networking, instance size selection, and fast and large scale out features on a serverless model.
Flex Consumption will be the best choice for event-driven serverless functions. We are currently in early access preview and need your feedback to help shape this feature.
Click here to sign up for early access.
You can now develop functions using Node.js 20 locally and deploy them to all Azure Functions plans on Linux and Windows.
Learn more about upgrading your Function Apps to Node.js 20.
We are pleased to announce the public preview launch of the Dapr extension and the seamless integration with Azure Functions for cloud-native services hosted on Azure Container Apps. These capabilities enable functions to seamlessly interact with Dapr, facilitating the development of cloud-native applications. Azure Functions on Azure Container Apps was launched in public preview in May 2023 which enables you to quickly build event driven, cloud-native apps, with the flexibility to run Functions along with other microservices, APIs, websites, workflows or any container hosted components. With this seamless integration, cloud native microservices can leverage DAPR to simplify the development of distributed applications by abstracting away the challenges in building resilient, scalable, and secure cloud-native systems. You can learn more about the preview on the Tech Community blog.
The DAPR extension for Azure Functions is optimized for Azure Functions on Azure container apps plans. In addition, the extension can also be used in other environments that supports Dapr and Azure Functions like AKS, Kubernetes or self-hosted mode.
We would love to hear feedback on these new capabilities and your overall experience with Functions so we can make sure we meet all your needs. You can click on the “Send us your feedback” button from the overview page of your function app.
Thanks for all your feedback from the Azure Functions Team.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.