Releases: Azure/azure-functions-core-tools
Release list
4.13.0
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.parsein 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
defaultHostNameinstead ofenabledHostNames(#5462) - Added
durable-functionsdependency topackage.jsonwhen creating Node.js durable function templates (#5495) - Changed
func startto bind to the IPv4 loopback address (127.0.0.1) by default instead of0.0.0.0, and added an opt-in--addressflag (andHost.LocalHttpAddresssetting inlocal.settings.json) to override the bind address (#5484)- Potential breaking change: the host now binds to
127.0.0.1by default, so it is only reachable from the local machine. Setups that relied on binding to0.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 withfunc start --address 0.0.0.0(or set"LocalHttpAddress": "0.0.0.0"underHostinlocal.settings.json) to restore the previous behavior.
- Potential breaking change: the host now binds to
4.12.1
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
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 -- --prereleaseYou 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 setupPrefer 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 # Go2. Create a project
func quickstart # complete sample app
# or
func init # initalize an empty projectAdd individual Function templates via
func new
3. Run it locally
func runFeedback
File issues at https://github.com/Azure/azure-functions-core-tools/issues and tag with v5.
v5.0.0-preview.1
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, orgo(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 rundashboard. When attached to a TTY,func run(aliasfunc 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 -- --prereleaseYou 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 setupPrefer 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 # GoOr set up multiple stacks at once (comma-separated or repeated):
func setup --features node,pythonEither 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 initcreates an empty project;func newis 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 projectAdd individual Function templates via
func new
3. Run it locally
func runFeedback
File issues at https://github.com/Azure/azure-functions-core-tools/issues and tag with v5.