{"id":3046,"date":"2024-05-16T08:56:58","date_gmt":"2024-05-16T15:56:58","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/azure-sdk\/?p=3046"},"modified":"2024-07-19T15:10:33","modified_gmt":"2024-07-19T22:10:33","slug":"azure-developer-cli-azd-may-2024-release","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/azure-sdk\/azure-developer-cli-azd-may-2024-release\/","title":{"rendered":"Azure Developer CLI (azd) &#8211; May 2024 Release"},"content":{"rendered":"<p>We&#8217;re pleased to announce that the May 2024 release (version 1.9.0) of the Azure Developer CLI (<code>azd<\/code>) is now available. 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>Here&#8217;s what&#8217;s new in <code>azd<\/code> this month:<\/p>\n<ul>\n<li>New demo mode <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/3848\">(azure-dev#3848)<\/a><\/li>\n<li>.NET Aspire enhancements<\/li>\n<\/ul>\n<p>Our team is working on some exciting updates in relation to AI, so this month&#8217;s release is a little smaller than usual. Stay tuned though because we&#8217;ll have announcements in relation to <a href=\"https:\/\/aka.ms\/microsoft-build\">Microsoft Build<\/a>. The conference kicks off on May 21 and registration is still open. You can register for free to attend virtually. We look forward to seeing you there!<\/p>\n<h2>New demo mode<\/h2>\n<p>We love seeing <code>azd<\/code>&#8216;s presence grow and it being included in demos! When showing <code>azd<\/code> outputs publicly, it was a common practice to blur your subscription ID. Because that can be tedious, we&#8217;re introducing a new demo mode in which your subscription ID won&#8217;t be displayed in the console. No more spending your precious time blurring IDs before uploading a video of you building cool stuff with <code>azd<\/code>!<\/p>\n<p>This mode introduces the environment variable: <code>AZD_DEMO_MODE<\/code>. To enable demo mode, run:<\/p>\n<pre><code class=\"language-bash\">export AZD_DEMO_MODE=true<\/code><\/pre>\n<p>If you want demo mode to persist across reboots, you can also run:<\/p>\n<pre><code class=\"language-bash\">setx AZD_DEMO_MODE true<\/code><\/pre>\n<p>or in PowerShell:<\/p>\n<pre><code class=\"language-bash\">$env:AZD_DEMO_MODE=\"true\"<\/code><\/pre>\n<h2>.NET Aspire enhancements<\/h2>\n<p>As a part of <code>azd<\/code>&#8216;s continued partnership with <a href=\"https:\/\/aka.ms\/dotnet-aspire\">.NET Aspire<\/a>, we made a couple noteworthy changes:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/3267\">Support for multiple endpoints<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/3774\">Aspire dashboard support<\/a> (Region availability varies. As of blog publishing, the support is available in the <code>westcentralus<\/code> region.)<\/li>\n<\/ul>\n<p>To learn more about these and other enhancements, check out <a href=\"https:\/\/learn.microsoft.com\/dotnet\/aspire\/whats-new\/preview-7\">.NET Aspire&#8217;s latest product updates<\/a>.<\/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>Other features for <code>azd<\/code> core:<\/p>\n<ul>\n<li>Filter <code>azd template list<\/code> using tags <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/3840\">(azure-dev#3840)<\/a><\/li>\n<\/ul>\n<p>Bug fixes for <code>azd<\/code> core:<\/p>\n<ul>\n<li>Fix cross-build configuration <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/3707\">(azure-dev#3707)<\/a><\/li>\n<li>Allow <code>azd env refresh<\/code> without <code>Bicep<\/code> <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/3787\">(azure-dev#3787)<\/a><\/li>\n<li>Aspire &#8211; support <code>args<\/code> on <code>project.v0<\/code> and <code>dokerfile.v0<\/code> resources <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/3678\">(azure-dev#3678)<\/a><\/li>\n<\/ul>\n<h2>New Templates<\/h2>\n<p>We officially have over 100 templates in our <a href=\"https:\/\/azure.github.io\/awesome-azd\/\">Awesome-azd template gallery<\/a>! New templates this month include:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/Azure-Samples\/chat-with-your-data-solution-accelerator\">Chat with your data &#8211; Solution accelerator<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/FBoucher\/ZipDeploy-AzFunc\">Zip Deploy Azure Function<\/a> from community contributor <a href=\"https:\/\/github.com\/FBoucher\">FBoucher<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/john0isaac\/rag-semantic-kernel-mongodb-vcore\">RAG using Semantic Kernel with Azure OpenAI and Azure Cosmos DB for MongoDB vCore<\/a> from community contributor <a href=\"https:\/\/github.com\/john0isaac\">john0isaac<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/Azure-Samples\/serverless-chat-langchainjs\">Serverless AI Chat with RAG using LangChain.js<\/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<h2>Community contributions<\/h2>\n<p>We\u2019d also like to extend a special thanks to the community contributors of this release:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/pamelafox\">pamelafox<\/a>:\n<ul>\n<li>Update <code>search-services.bicep<\/code> with <code>disableLocalAuth<\/code> compatibility <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/3677\">(azure-dev#3677)<\/a><\/li>\n<li>Update <code>cognitiveservices.bicep<\/code> with <code>disableLocalAuth<\/code> compatibility <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/3769\">(azure-dev#3769)<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\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 May release of the Azure Developer CLI (`azd`), which includes a new demo mode, various .NET Aspire enhancements, and bug fixes.<\/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-3046","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 May release of the Azure Developer CLI (`azd`), which includes a new demo mode, various .NET Aspire enhancements, and bug fixes.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts\/3046","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=3046"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts\/3046\/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=3046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/categories?post=3046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/tags?post=3046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}