{"id":3212,"date":"2024-10-14T12:39:03","date_gmt":"2024-10-14T19:39:03","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/azure-sdk\/?p=3212"},"modified":"2024-10-14T12:39:03","modified_gmt":"2024-10-14T19:39:03","slug":"azure-developer-cli-azd-october-2024","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/azure-sdk\/azure-developer-cli-azd-october-2024\/","title":{"rendered":"Azure Developer CLI (azd) &#8211; October 2024"},"content":{"rendered":"<p>This post announces the October 2024 release (version 1.10.2) of the Azure Developer CLI (<code>azd<\/code>). As always, you can learn about how to get started with the Azure Developer CLI by visiting our <a href=\"https:\/\/aka.ms\/azd\">documentation<\/a>.<\/p>\n<p>This month&#8217;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 <a href=\"https:\/\/github.com\/Azure\/azure-dev\/discussions\/4421\">our October release discussion on GitHub<\/a>. We&#8217;re also welcoming <a href=\"https:\/\/forms.office.com\/r\/92YAkjf5Hr\">community call guest signups<\/a>. If you&#8217;ve contributed to <code>azd<\/code>, made a template, or done anything else interesting using <code>azd<\/code> we want you to join our livestream and show off your work.<\/p>\n<p>Here&#8217;s what&#8217;s new with <code>azd<\/code>:<\/p>\n<ul>\n<li>Configurable <code>api-version<\/code> for container app deployments <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4272\">(azure-dev#4272)<\/a><\/li>\n<\/ul>\n<h3>Configurable <code>api-version<\/code> for container app deployments<\/h3>\n<p><code>azd<\/code> now allows you to specify an explicit <code>api-version<\/code> 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.<\/p>\n<p>An example <code>azure.yaml<\/code> using this feature may look like:<\/p>\n<pre><code class=\"language-yaml\">name: todo-nodejs-mongo-aca\r\nservices:\r\n  web:\r\n    project: .\/src\/web\r\n    language: js\r\n    host: containerapp\r\n    apiVersion: 2024-02-02-preview # Force `azd` to use this API version for GET\/PATCH operations\r\n  api:\r\n    project: .\/src\/api\r\n    language: js\r\n    host: containerapp\r\n    apiVersion: 2024-02-02-preview # Force `azd` to use this API version for GET\/PATCH operations<\/code><\/pre>\n<p>See <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/4429\">(azure-dev#4429)<\/a> for the latest on this bug.<\/p>\n<h2>Other changes and enhancements<\/h2>\n<p>We also added smaller enhancements and fixed issues requested by users that should improve your experience working with the <code>azd<\/code>. Some notable changes include:<\/p>\n<p>Bugs fixed in <code>azd<\/code>:<\/p>\n<ul>\n<li>Enable remote build support for AKS <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4375\">(azure-dev#4375)<\/a><\/li>\n<li>Fix environment variables to be evaluated too early for <code>main.parameters.json<\/code> <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4363\">(azure-dev#4363)<\/a><\/li>\n<\/ul>\n<p>Other changes:<\/p>\n<ul>\n<li>New <code>azd<\/code> environmental variables doc: <a href=\"https:\/\/github.com\/Azure\/azure-dev\/blob\/main\/cli\/azd\/docs\/environment-variables.md\">environment-variables.md<\/a> <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4321\">(azure-dev#4321)<\/a><\/li>\n<li>Add spinner to <code>azd down<\/code> <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4336\">(azure-dev#4336)<\/a><\/li>\n<li>Update <code>azure.yaml.json<\/code> for <code>remoteBuild<\/code> <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4357\">(azure-dev#4357)<\/a><\/li>\n<li>Update docker <code>buildargs<\/code> to expandable strings <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4369\">(azure-dev#4369)<\/a><\/li>\n<li>Expose configurable settings for <code>actionOnUnmanage<\/code> and <code>denySettings<\/code> for Azure Deployment Stacks (alpha) <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4331\">(azure-dev#4331)<\/a><\/li>\n<\/ul>\n<h2>New Templates<\/h2>\n<p>New templates this month include:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/Azure-Samples\/hello-azd\">Hello azd<\/a> authored by <a href=\"https:\/\/github.com\/alexwolfmsft\">Alex Wolf<\/a> &amp; <a href=\"https:\/\/github.com\/Azure-Samples\">Azure Content Team<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/Azure-Samples\/Cosmic-Food-RAG-app\">Cosmic Food with Azure OpenAI and Azure Cosmos DB for MongoDB vCore<\/a> authored by <a href=\"https:\/\/github.com\/john0isaac\">John Aziz<\/a><\/li>\n<\/ul>\n<p>Do you have an <code>azd<\/code> template you&#8217;d like to share with the rest of the community? You can learn how to with our <a href=\"https:\/\/azure.github.io\/awesome-azd\/docs\/intro\">contributor guide<\/a>.<\/p>\n<p>You can use the Azure Developer CLI from:<\/p>\n<ul>\n<li>Your terminal of choice on Windows, Linux, or macOS.<\/li>\n<li>Visual Studio Code or GitHub Codespaces by <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-azuretools.azure-dev\">downloading the extension<\/a> from the Marketplace, or installing it directly from the extension view (<code>Ctrl<\/code> + <code>Shift<\/code> + <code>X<\/code> for Windows or <code>Cmd<\/code> + <code>Shift<\/code> + <code>X<\/code> for macOS) in Visual Studio Code.<\/li>\n<li>Visual Studio by <a href=\"https:\/\/devblogs.microsoft.com\/azure-sdk\/introducing-the-azure-developer-cli-a-faster-way-to-build-apps-for-the-cloud\/#visual-studio\">enabling the preview feature flag<\/a>.<\/li>\n<li>You can learn more about the Azure Developer CLI from our <a href=\"https:\/\/aka.ms\/azd\">official documentation<\/a>.<\/li>\n<li>If you run into any problems or have suggestions, file an issue or start a discussion in the <a href=\"https:\/\/github.com\/Azure\/azure-dev\">Azure Developer CLI repository<\/a>. You can also try checking out our <a href=\"https:\/\/aka.ms\/azd-troubleshoot\">troubleshooting documentation<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This post announces the October release of the Azure Developer CLI (`azd`), including configurable api-version for ACA.<\/p>\n","protected":false},"author":145931,"featured_media":2111,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[701,864,878,160,159,861,162,733,895],"class_list":["post-3212","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure-sdk","tag-net","tag-azure-developer-cli","tag-codespaces","tag-java","tag-javascript","tag-kubernetes","tag-python","tag-typescript","tag-vscode"],"acf":[],"blog_post_summary":"<p>This post announces the October release of the Azure Developer CLI (`azd`), including configurable api-version for ACA.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts\/3212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/users\/145931"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/comments?post=3212"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts\/3212\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/media\/2111"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/media?parent=3212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/categories?post=3212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/tags?post=3212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}