{"id":2867,"date":"2023-11-15T08:30:31","date_gmt":"2023-11-15T16:30:31","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/azure-sdk\/?p=2867"},"modified":"2023-11-15T08:30:31","modified_gmt":"2023-11-15T16:30:31","slug":"azure-developer-cli-azd-november-2023-release","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/azure-sdk\/azure-developer-cli-azd-november-2023-release\/","title":{"rendered":"Azure Developer CLI (azd) &#8211; November 2023 Release"},"content":{"rendered":"<p>We&#8217;re pleased to announce that the November 2023 release (version 1.5.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>:<\/p>\n<ul>\n<li>Support for Azure Deployment Environment is now available in Beta <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/1113\">(azure-dev#1113)<\/a><\/li>\n<li>Simplified initialization and cloud-native buildpacks promotion to Beta <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/2728\">(azure-dev#2728)<\/a><\/li>\n<li>The Azure Developer CLI is the easiest way to deploy .NET Aspire projects<\/li>\n<li>A new command to help you see deployed endpoints and environments: <code>azd show<\/code> <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/1887\">(azure-dev#1887)<\/a><\/li>\n<li>Updates to awesome-azd <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/2865\">(azure-dev#2865)<\/a><\/li>\n<\/ul>\n<p>Last week on the GitHub Universe main stage, <a href=\"https:\/\/aka.ms\/ghu-azure-mainstage\">our team presented<\/a> an end-to-end walkthrough of how to quickly build and deploy OpenAI apps on Azure, infused with your own data. Today also marks the first day of sessions for <a href=\"https:\/\/aka.ms\/ignite\">Microsoft Ignite<\/a>. You can find the Azure Developer CLI and some of the new v1.5.0 features in the following sessions:<\/p>\n<ul>\n<li><a href=\"https:\/\/aka.ms\/Ignite23DEM137\">Simplified deployments with the Azure Developer CLI (azd)<\/a><\/li>\n<li><a href=\"https:\/\/aka.ms\/Ignite23BRK233H\">Productive and secure end-to-end developer experiences powered by AI<\/a><\/li>\n<\/ul>\n<p>Our November release is our last major release of 2023! We&#8217;ll be back in January 2024 with more exciting features and enhancements.<\/p>\n<h2>Support for Azure Deployment Environments<\/h2>\n<p>We&#8217;re excited to announce that support for <a href=\"https:\/\/azure.microsoft.com\/products\/deployment-environments\">Azure Deployment Environments (ADE)<\/a> in the Azure Developer CLI is now in beta. If you&#8217;re unfamiliar, Azure Deployment Environments is a generally available service designed to help developers in enterprises efficiently orchestrate and manage their application deployments across various stages of the development lifecycle. By extending support for Azure Deployment Environments, we&#8217;re reinforcing our commitment to meet the evolving needs of developers needing to deploy apps in enterprise or governed settings.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-content\/uploads\/sites\/58\/2023\/11\/2023-11-15-azd-ade.png\" alt=\"Diagram of azd and ADE working together\" \/><\/p>\n<p>To enter ADE (or DevCenter) mode in <code>azd<\/code>, you can run <code>azd config set platform.type devcenter<\/code>. By enabling this mode, remote environment states and provisioning use ADE. In other words, any local infrastructure directory with Bicep or Terraform templates in your project are ignored. Instead, <code>azd<\/code> uses the infrastructure templates from your DevCenter catalog for resource provisioning.<\/p>\n<p>By enabling DevCenter mode, there are some user experience changes to several <code>azd<\/code> commands:<\/p>\n<ul>\n<li><code>azd init<\/code> prompts you to select a template from your accessible Dev Centers<\/li>\n<li><code>azd template list<\/code> now lists templates from your accessible Dev Centers<\/li>\n<li><code>azd provision<\/code> allows you to create new DevCenter environments based on types and environment definitions from your accessible DevCenters<\/li>\n<li><code>azd env list<\/code> shows both local and remote DevCenter environments referencing the same DevCenter, project and environment definition<\/li>\n<\/ul>\n<p><div style=\"width: 640px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-2867-1\" width=\"640\" height=\"360\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-content\/uploads\/sites\/58\/2023\/11\/azd-with-ade.mp4?_=1\" \/><a href=\"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-content\/uploads\/sites\/58\/2023\/11\/azd-with-ade.mp4\">https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-content\/uploads\/sites\/58\/2023\/11\/azd-with-ade.mp4<\/a><\/video><\/div><\/p>\n<p>For full details about how to configure and use <code>azd<\/code> with ADE, see <a href=\"https:\/\/aka.ms\/azd-ade\">our docs<\/a>.<\/p>\n<h2>Simplified initialization and cloud-native buildpack promotion to Beta<\/h2>\n<p>In September, <a href=\"https:\/\/aka.ms\/azd-sept-2023\">we announced<\/a> a new and simplified way of initializing your application for Azure and cloud-native buildpack support were in alpha. These features marked a huge experience improvement for developers looking to get started with Azure. We&#8217;re excited to announce that these features are now in beta.<\/p>\n<p>As of today&#8217;s release, these features are now in beta. If you run <code>azd init<\/code> in a directory with existing application code, you&#8217;re presented with an option to use code in the current directory. By selecting this option, the Azure Developer CLI:<\/p>\n<ul>\n<li>Detects the components of your application (for example, frontend, backend, database)<\/li>\n<li>Provides a summary of the services and detected languages\/frameworks\/databases, and then<\/li>\n<li>Generates the configuration and infrastructure as code needed to get your application hosted on Azure Container Apps<\/li>\n<\/ul>\n<p>After that, you can configure the infrastructure and deploy your application by running <code>azd up<\/code>.<\/p>\n<p><iframe title=\"Detect, configure and deploy in minutes with the Azure Developer CLI\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/jw9Hic-m-6w?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>The best part is that thanks to our cloud-native buildpack support you can get your app up and running on Azure Container Apps without having to write a Dockerfile. This new support is yet another step toward allowing you to focus more on application development and less on infrastructure.<\/p>\n<p>You can learn more about this workflow in our <a href=\"https:\/\/aka.ms\/azd-easy-init\">official documentation<\/a>.<\/p>\n<h2>The Azure Developer CLI is the easiest way to deploy .NET Aspire projects<\/h2>\n<p>If you&#8217;re a .NET developer and excited about the new <a href=\"https:\/\/aka.ms\/aspireannouncement\">Aspire stack<\/a> for cloud-native development announced at .NET Conf yesterday, you&#8217;re in luck! The Azure Developer CLI&#8217;s simplified initialization workflow is optimized to work seamlessly with Aspire projects, making it the easiest way to go from code to cloud.<\/p>\n<p>To deploy your Aspire project, you can use the simplified init workflow &#8211; just run <code>azd init<\/code> and then <code>azd up<\/code>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-content\/uploads\/sites\/58\/2023\/11\/2023-11-15-azd-aspire.gif\" alt=\"Azd simplified init for Aspire projects\" \/><\/p>\n<p>One marked difference in this experience for Aspire projects is that no Infrastructure as Code (IaC) files in an <code>infra\/<\/code> folder are persisted to your project after <code>azd init<\/code>. Instead, there&#8217;s just an <code>azure.yaml<\/code> that describes the services, keeping you project clean and simple. If at any point you want to eject from this simplified view and see the full IaC files, you can run:<\/p>\n<ul>\n<li><code>azd config set alpha.infraSynth on<\/code> to enable our new infra synth feature<\/li>\n<li><code>azd infra synth<\/code> to generate:\n<ul>\n<li>The IaC files written in Bicep in <code>infra\/<\/code> and,<\/li>\n<li>A <code>containerapp.tmpl.yaml<\/code> in a <code>manifest\/<\/code> in each of your .NET projects that is referenced with <code>.AddProject()<\/code> in the AppHost. These files are used to deploy the containerize service for that project to Azure Container Apps.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>If you&#8217;d like to try this experience, see <a href=\"https:\/\/aka.ms\/azd-aspire\">this quickstart<\/a>. This simplified <code>azure.yaml<\/code>-only user experience is one that we&#8217;re also planning to expand to other languages and frameworks in the future. Stay tuned for that! If you have feedback on this experience, we&#8217;d also love to hear from you on our <a href=\"https:\/\/github.com\/Azure\/azure-dev\">GitHub repo<\/a>. You can also learn more about .NET Aspire on the <a href=\"https:\/\/aka.ms\/dotnet\/aspire\">official docs<\/a>.<\/p>\n<h2>A new command to help you see deployed endpoints and environments: <code>azd show<\/code><\/h2>\n<p>If you&#8217;ve been using the Azure Developer CLI for a while, you might have found yourself looking for a command to quickly grab the deployed endpoint URLs and view local and remote environments for your application. If so, you&#8217;re in luck! In this release, there&#8217;s a new <code>azd show<\/code> convenience command to do just that.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-content\/uploads\/sites\/58\/2023\/11\/2023-11-15-azd-show-command.gif\" alt=\"Azd show command\" \/><\/p>\n<h2>Updates to awesome-azd<\/h2>\n<p>Last release, we shipped a revamped <a href=\"https:\/\/aka.ms\/awesome-azd\">awesome-azd<\/a> template gallery with better search and filtering capabilities. We&#8217;re excited to announce some more features today:<\/p>\n<ul>\n<li>A popout card panel to view more details about a template (for example, description, languages, frameworks, Azure services, etc.)<\/li>\n<li>Dark mode &#8211; developers rejoice!<\/li>\n<\/ul>\n<p><div style=\"width: 640px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-2867-2\" width=\"640\" height=\"360\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-content\/uploads\/sites\/58\/2023\/11\/awesome-azd-updates.mp4?_=2\" \/><a href=\"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-content\/uploads\/sites\/58\/2023\/11\/awesome-azd-updates.mp4\">https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-content\/uploads\/sites\/58\/2023\/11\/awesome-azd-updates.mp4<\/a><\/video><\/div><\/p>\n<h2>Other changes and enhancements<\/h2>\n<p>We have also added smaller enhancements and fixed issues requested by users that should improve your experience working with the Azure Developer CLI. Some notable changes include:<\/p>\n<ul>\n<li>Smaller features for <code>azd<\/code> core:\n<ul>\n<li>Add Redis as a DB option in simplified init (<a href=\"https:\/\/www.github.com\/azure\/azure-dev\/issues\/2902\">azure-dev#2902<\/a>)<\/li>\n<li><code>azd<\/code> should prompt for parameter value when referenced environment variable isn&#8217;t set (<a href=\"https:\/\/www.github.com\/azure\/azure-dev\/issues\/2895\">azure-dev#2895<\/a>)<\/li>\n<\/ul>\n<\/li>\n<li>Bug fixes for <code>azd<\/code> core:\n<ul>\n<li>Running <code>azd up<\/code> after running <code>azd down<\/code> doesn&#8217;t make changes to Azure (<a href=\"https:\/\/www.github.com\/azure\/azure-dev\/issues\/2835\">azure-dev#2835<\/a>)<\/li>\n<li>Update <code>pipeline config<\/code> to only set client credential app passwords when <code>--auth-type client-credentials<\/code> is explicitly specified(<a href=\"https:\/\/www.github.com\/azure\/azure-dev\/issues\/2883\">azure-dev#2883<\/a>)<\/li>\n<li>Running <code>azd up<\/code> after running <code>azd down<\/code> doesn&#8217;t make changes to Azure (<a href=\"https:\/\/www.github.com\/azure\/azure-dev\/issues\/2835\">azure-dev#2835<\/a>)<\/li>\n<li>MSI Dev\/Release Upgrade Scenarios (<a href=\"https:\/\/www.github.com\/azure\/azure-dev\/issues\/2815\">azure-dev#2815<\/a>)<\/li>\n<li>Migrate package hosting CDN (<a href=\"https:\/\/www.github.com\/azure\/azure-dev\/issues\/2766\">azure-dev#2766<\/a>)<\/li>\n<li>Static frontend app support for simplified init (<a href=\"https:\/\/www.github.com\/azure\/azure-dev\/issues\/2750\">azure-dev#2750<\/a>)<\/li>\n<li>Improve UX of flowing API keys\/env vars through infrastructure (<a href=\"https:\/\/www.github.com\/azure\/azure-dev\/issues\/2739\">azure-dev#2739<\/a>)<\/li>\n<\/ul>\n<\/li>\n<li>Bug fixes for <code>azd<\/code> VS Code extension:\n<ul>\n<li>Remote environments &#8211; invalid start Web and API (<a href=\"https:\/\/www.github.com\/azure\/azure-dev\/issues\/2797\">azure-dev#2797<\/a>)<\/li>\n<li>Display subscription name<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>Community and Hacktoberfest 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\/john0isaac\">john0isaac<\/a>:\n<ul>\n<li><code>azd template list<\/code> includes clickable links (<a href=\"https:\/\/www.github.com\/azure\/azure-dev\/issues\/2731\">azure-dev#2731<\/a>)<\/li>\n<li>Display subscription name and ID on <code>azd provision<\/code> (<a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/2544\">azure-dev#2544<\/a>)<\/li>\n<li>Fix <code>azd env get-values<\/code> to check if environment exists (<a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/2567\">azure-dev#2567<\/a>)<\/li>\n<\/ul>\n<\/li>\n<li><a href=\"https:\/\/github.com\/lechnerc77\">lechnerc77<\/a>:\n<ul>\n<li>Clickable links in <code>azd template show<\/code>(<a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/2867\">azure-dev#2867<\/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>, 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>.\nYou can learn more about the Azure Developer CLI from our <a href=\"https:\/\/aka.ms\/azd\">official documentation<\/a>. 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>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This post announces the November release of the Azure Developer CLI (`azd`), which includes support for Azure Deployment Environments, deployment of .NET Aspire projects, simplified initialization and cloud-native buildpacks promotion to Beta, a new command to help you see deployed endpoints and environments, and more.<\/p>\n","protected":false},"author":95415,"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-2867","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 November release of the Azure Developer CLI (`azd`), which includes support for Azure Deployment Environments, deployment of .NET Aspire projects, simplified initialization and cloud-native buildpacks promotion to Beta, a new command to help you see deployed endpoints and environments, and more.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts\/2867","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\/95415"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/comments?post=2867"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts\/2867\/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=2867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/categories?post=2867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/tags?post=2867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}