Node.js Azure Function programming model V4 Preview

Peter Herbel
GetTech Blog
Published in
2 min readApr 21, 2023

Microsoft has announced the preview of Azure Functions version 4 for the Node.js programming model. This update brings several enhancements and new features to the platform, including:

  1. Flexible folder structure: The V4 model removes the strict directory structure and gives users the flexibility to organize triggers
  2. Define function in code: The V4 model uses an app object as the entry point for registering functions instead of function.json files.
  3. New HTTP Types: In the V4 model, we’ve adjusted the HTTP request and response types to be a subset of the fetch standard instead of types unique to Azure Functions

This preview release aims to gather user feedback to refine and enhance the platform before the official release. Users are encouraged to provide their input and report any issues they encounter.

Now V4 Programming model landed in the VS Code.

You can read full article about the details here:

Azure Functions: Version 4 of the Node.js programming model is in preview — Microsoft Community Hub

You can start here to try:
Create a TypeScript function using Visual Studio Code — Azure Functions | Microsoft Learn

GitHub — Azure/azure-functions-nodejs-library: The Node.js framework for Azure Functions

--

--

Peter Herbel
GetTech Blog

Architect, leader, coach, help teams to understand technologies, DevOps and Agile software principles and practices, focusing on cloud systems