Skip to content

Releases: Azure/azure-functions-core-tools

4.13.0

Choose a tag to compare

@azure-functions-release azure-functions-release released this 10 Aug 17:49
dd0daba

Azure Functions CLI 4.13.0

Host Version

  • Host Runtime Version: 4.1051.300
  • In-Proc CLI:
    • CLI Version: 4.7.0
    • Host Runtime Version: 4.51.100 (includes 4.851.100, 4.651.100)

Changes

  • Removed warning log for remote build with Python 3.14 Flex apps, as remote build is now supported (#5375)
  • Fixed npm postinstall silently swallowing extraction errors (#5281)
  • Added lazy first-use install for npm RFC #868 compatibility (#5291)
  • Added warning when key vault references fail to resolve (#5373)
  • Replaced deprecated url.parse in npm installer (#5371)
  • Enhanced func CLI static gitignore and streamlined Azurite entries (#5084)
  • Bumped dotnet templates version to 4.0.5590 (#5271)
  • Bumped https-proxy-agent dependency (#5335)
  • Updated target framework to .NET 10 (#4850)
  • Fix Flex Health Check to use defaultHostName instead of enabledHostNames (#5462)
  • Added durable-functions dependency to package.json when creating Node.js durable function templates (#5495)
  • Changed func start to bind to the IPv4 loopback address (127.0.0.1) by default instead of 0.0.0.0, and added an opt-in --address flag (and Host.LocalHttpAddress setting in local.settings.json) to override the bind address (#5484)
    • Potential breaking change: the host now binds to 127.0.0.1 by default, so it is only reachable from the local machine. Setups that relied on binding to 0.0.0.0 — for example reaching the host from outside a Docker container via a published port — will no longer connect. Workaround: start the host with func start --address 0.0.0.0 (or set "LocalHttpAddress": "0.0.0.0" under Host in local.settings.json) to restore the previous behavior.

4.12.1

Choose a tag to compare

@azure-functions-release azure-functions-release released this 24 Jun 18:20
7f573ec

Azure Functions CLI 4.12.1

Host Version

  • Host Runtime Version: 4.1048.200
  • In-Proc CLI:
    • CLI Version: 4.6.0
    • Host Runtime Version: 4.49.100 (includes 4.849.100, 4.649.100)

Changes

  • No changes to core CLI, in-proc CLI updated to 4.6.0 with host version 4.49.100

v5.0.0-preview.2

v5.0.0-preview.2 Pre-release
Pre-release

Choose a tag to compare

@liliankasem liliankasem released this 02 Jun 20:58
b3ae8cb

Azure Functions CLI

What's changed since preview.1

  • Fix func run failing to resolve installed prerelease worker workloads against built-in profile ranges (e.g. node [3.13.0] now accepts 3.13.0-preview.1). (#5286)

New to v5?

This is a preview of the v5 CLI rebuild. See the v5.0.0-preview.1 release notes for the full overview, or jump in below.

⚠️ Preview. Not production-ready, not at v4 feature parity.

Install

PowerShell (Windows, macOS, Linux):

iex "& { $(irm https://aka.ms/func-cli/install.ps1) } -Prerelease"

Bash (macOS, Linux):

curl -sSL https://aka.ms/func-cli/install.sh | bash -s -- --prerelease

You maybe need to run with -Force (pwsh) | --force (bash) if you are upgrading.

Getting started

The CLI ships with just the core commands. Before you can create or run a Functions app, you need to install the workloads for your stack. The easiest way to do that is func setup.

1. Set up your machine

Run func setup on its own to get an interactive multi-select prompt for the stacks you want:

func setup

Prefer non-interactive? Pass the stack directly with --features:

func setup --features dotnet     # .NET
func setup --features node       # Node.js
func setup --features python     # Python
func setup --features go         # Go

2. Create a project

func quickstart                  # complete sample app
# or
func init                        # initalize an empty project

Add individual Function templates via

func new

3. Run it locally

func run

Feedback

File issues at https://github.com/Azure/azure-functions-core-tools/issues and tag with v5.

v5.0.0-preview.1

v5.0.0-preview.1 Pre-release
Pre-release

Choose a tag to compare

@liliankasem liliankasem released this 02 Jun 17:03
4f92d34

Azure Functions CLI

⚠️ Preview release. This is the first public preview of the Azure Functions CLI. It is not production-ready and is not at feature parity with Core Tools (v4). Expect breaking changes before GA. For stable workflows, keep using Core Tools.

This release is a ground-up rebuild designed around a small core func binary plus on-demand workloads (host, language stacks, templates, extension bundle).

What's new in v5

  • New architecture. Small core binary built on System.CommandLine, Spectre.Console, and .NET 10. The Functions host, language stacks, templates, and the extension bundle ship as separate workloads installed on demand.
  • Per-stack workloads. Install only what you need: dotnet, node, python, or go (more coming soon).
  • Decoupled host. The Functions host is no longer baked into the CLI. It's a workload of its own, so you can install, update, or pin host versions independently of the CLI version, and run multiple host versions side by side.
  • Profiles. Pin the host (and other workload versions) to match a specific Azure Functions environment, so your local install lines up with what Azure is running.
  • Interactive func run dashboard. When attached to a TTY, func run (alias func start) renders a live dashboard: a sticky header showing the host status and list
  • Rebranded. The product is now Azure Functions CLI. The legacy "Core Tools" name is being phased out in v5.

Install

Because this is a preview, you must opt in to prereleases when installing.

PowerShell (Windows, macOS, Linux):

iex "& { $(irm https://aka.ms/func-cli/install.ps1) } -Prerelease"

Bash (macOS, Linux):

curl -sSL https://aka.ms/func-cli/install.sh | bash -s -- --prerelease

You maybe need to run with -Force (pwsh) | --force (bash) if you are upgrading.

Both scripts auto-detect your OS and architecture, download this release from GitHub, and install to ~/.azure-functions. The install directory is added to your PATH automatically (run source ~/.bashrc or open a new shell on Linux/macOS to pick it up).

Getting started

The CLI ships with just the core commands. Before you can create or run a Functions app, you need to install the workloads for your stack. The easiest way to do that is func setup.

1. Set up your machine

Run func setup on its own to get an interactive multi-select prompt for the stacks you want:

func setup

Prefer non-interactive? Pass the stack directly with --features:

func setup --features dotnet     # .NET
func setup --features node       # Node.js
func setup --features python     # Python
func setup --features go         # Go

Or set up multiple stacks at once (comma-separated or repeated):

func setup --features node,python

Either way, func setup installs the Functions host, the worker for each selected stack, templates, and the extension bundle.

2. Create a project

Two scaffolding entry points, depending on what you want:

  • func quickstart: scaffolds a complete, ready-to-run sample app (trigger code, host config, optional IaC) from a curated catalog. Best when you want a working starting point.
  • func init + func new: build a project from scratch. func init creates an empty project; func new is the template engine for adding individual functions by trigger (HTTP, Timer, Blob, Queue, Cosmos DB, Durable, etc.).
func quickstart                  # complete sample app
# or
func init                        # initalize an empty project

Add individual Function templates via

func new

3. Run it locally

func run

Feedback

File issues at https://github.com/Azure/azure-functions-core-tools/issues and tag with v5.

4.12.0

Choose a tag to compare

@azure-functions-release azure-functions-release released this 28 May 19:31
21d180f

Azure Functions CLI 4.12.0