This post announces the October 2024 release (version 1.10.2) of the Azure Developer CLI (azd
). As always, you can learn about how to get started with the Azure Developer CLI by visiting our documentation.
This month’s release is a little smaller than our typical monthly releases but be sure to stay tuned as we have some exciting announcements coming next month! In the meantime, we invite you to join our October release discussion on GitHub. We’re also welcoming community call guest signups. If you’ve contributed to azd
, made a template, or done anything else interesting using azd
we want you to join our livestream and show off your work.
Here’s what’s new with azd
:
- Configurable
api-version
for container app deployments (azure-dev#4272)
Configurable api-version
for container app deployments
azd
now allows you to specify an explicit api-version
when deploying services hosted by Azure Container Apps (ACA). This change helps you avoid getting and using an incompatible API version and losing configuration data set in Bicep. The feature also makes deployment more loosely coupled to avoid losing custom configuration data during JSON marshaling to a hard-coded Azure SDK library version.
An example azure.yaml
using this feature may look like:
name: todo-nodejs-mongo-aca
services:
web:
project: ./src/web
language: js
host: containerapp
apiVersion: 2024-02-02-preview # Force `azd` to use this API version for GET/PATCH operations
api:
project: ./src/api
language: js
host: containerapp
apiVersion: 2024-02-02-preview # Force `azd` to use this API version for GET/PATCH operations
See (azure-dev#4429) for the latest on this bug.
Other changes and enhancements
We also added smaller enhancements and fixed issues requested by users that should improve your experience working with the azd
. Some notable changes include:
Bugs fixed in azd
:
- Enable remote build support for AKS (azure-dev#4375)
- Fix environment variables to be evaluated too early for
main.parameters.json
(azure-dev#4363)
Other changes:
- New
azd
environmental variables doc: environment-variables.md (azure-dev#4321) - Add spinner to
azd down
(azure-dev#4336) - Update
azure.yaml.json
forremoteBuild
(azure-dev#4357) - Update docker
buildargs
to expandable strings (azure-dev#4369) - Expose configurable settings for
actionOnUnmanage
anddenySettings
for Azure Deployment Stacks (alpha) (azure-dev#4331)
New Templates
New templates this month include:
- Hello azd authored by Alex Wolf & Azure Content Team
- Cosmic Food with Azure OpenAI and Azure Cosmos DB for MongoDB vCore authored by John Aziz
Do you have an azd
template you’d like to share with the rest of the community? You can learn how to with our contributor guide.
You can use the Azure Developer CLI from:
- Your terminal of choice on Windows, Linux, or macOS.
- Visual Studio Code or GitHub Codespaces by downloading the extension from the Marketplace, or installing it directly from the extension view (
Ctrl
+Shift
+X
for Windows orCmd
+Shift
+X
for macOS) in Visual Studio Code. - Visual Studio by enabling the preview feature flag.
- You can learn more about the Azure Developer CLI from our official documentation.
- If you run into any problems or have suggestions, file an issue or start a discussion in the Azure Developer CLI repository. You can also try checking out our troubleshooting documentation.
0 comments