{"id":2561,"date":"2023-03-09T11:04:56","date_gmt":"2023-03-09T19:04:56","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/azure-sdk\/?p=2561"},"modified":"2023-03-09T11:04:56","modified_gmt":"2023-03-09T19:04:56","slug":"azure-developer-cli-azd-march-2023-release","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/azure-sdk\/azure-developer-cli-azd-march-2023-release\/","title":{"rendered":"Azure Developer CLI (azd) &#8211; March 2023 Release"},"content":{"rendered":"<p>We&#8217;re pleased to announce that the March 2023 release (<code>0.7.0-beta.1<\/code>) of the Azure Developer CLI (<code>azd<\/code>) is now available. You can learn about how to get started with the Azure Developer CLI by visiting our <a href=\"https:\/\/aka.ms\/azd\">Dev Hub<\/a>.<\/p>\n<p>This release includes the following features and improvements:<\/p>\n<ul>\n<li>Support for Azure Kubernetes Service (AKS) <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/1615\">azure-dev#1615<\/a>, <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/1616\">azure-dev#1616<\/a>, <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/1617\">azure-dev#1617<\/a>, <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/1622\">azure-dev#1622<\/a><\/li>\n<li>Updates to the Azure Developer CLI extension for Visual Studio Code\n<ul>\n<li>New application view to manage Azure resources <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/1427\">azure-dev#1427<\/a><\/li>\n<li>New getting started walkthrough <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/1404\">azure-dev#1404<\/a><\/li>\n<\/ul>\n<\/li>\n<li>Removal of <code>gh<\/code> CLI as a dependency for <code>azd pipeline config<\/code> <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/821\">azure-dev#821<\/a><\/li>\n<li><code>azd help<\/code> UX improvements <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/822\">azure-dev#822<\/a><\/li>\n<\/ul>\n<p>Our team is hosting a community standup on March 16 at 11:00 AM PT on the Azure Developers <a href=\"https:\/\/www.youtube.com\/watch?v=lXuUpoQ9kpQ\">YouTube<\/a> and <a href=\"https:\/\/www.twitch.tv\/azuredevelopers\">Twitch<\/a> channels. Hope to see you all there!<\/p>\n<h2>Support for Azure Kubernetes Service (AKS)<\/h2>\n<p>We&#8217;re excited to announce that the Azure Developer CLI now supports Azure Kubernetes Service (AKS) as a target host for your Kubernetes applications. This offering of our AKS support should be considered as a preview. With this initial release, we currently support applications with manifests that can be deployed via <code>kubectl apply -f<\/code>.<\/p>\n<p>We&#8217;ve also created a template (<a href=\"https:\/\/github.com\/Azure-Samples\/todo-nodejs-mongo-aks\">todo-nodejs-mongo-aks<\/a>) that can help you get your application up and running on AKS quickly. This template includes:<\/p>\n<ul>\n<li>Custom manifests for namespace, deployments, service, and ingress.<\/li>\n<li>All the relevant infrastructure as code (IaC) written in Bicep, including simple ingress via <a href=\"https:\/\/learn.microsoft.com\/azure\/aks\/web-app-routing?tabs=with-osm\">Web App Routing Add-on<\/a>.<\/li>\n<li>Integration with Azure Monitor for monitoring and logging.<\/li>\n<\/ul>\n<p>You can try it out via <code>azd up --template Azure-Samples\/todo-nodejs-mongo-aks<\/code> or by running <code>azd up<\/code> and selecting it out of the list of available templates.<\/p>\n<p>In the future, we plan to expand this feature&#8217;s offering to include multi-cluster deployments, deployment with Helm, Kustomize and GitOps, Azure AD integration, blue\/green deployments, and more! If you&#8217;re interested in learning more about our team&#8217;s plans, check out <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/1411\">this GitHub issue<\/a>. We&#8217;d welcome any feedback around the current functionality and future offerings!<\/p>\n<h2>Updates to the Azure Developer CLI experience in Visual Studio Code<\/h2>\n<h3>New application view to manage Azure resources<\/h3>\n<p>As of the 0.4.0 release of the Azure Developer CLI extension, there&#8217;s a new view of your application in the Workspace pane in VS Code (requires version 0.6.1 of the Azure Resources extension). This application view helps you better understand and manage your application&#8217;s resources in any Azure Developer CLI compatible application.<\/p>\n<p>In this new view, the application node (which maps to your application name as defined in your <code>azure.yaml<\/code>) contains subnodes for grouping services and environments relevant to your application. Each of these nodes allows you to trigger contextually relevant Azure Developer CLI commands via the context menu (via right click). Using this view, you&#8217;re also able to select &#8220;Show Resource Group&#8221; from the context menu and quickly jump to the appropriate resource group in the Resources pane of the Azure side rail. As a note, resources need to be grouped &#8220;by Resource Group&#8221; in the Resource pane for this navigation to work correctly.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-content\/uploads\/sites\/58\/2023\/03\/2023-3-8-azd-app-view.gif\" alt=\"The new application resource view in Visual Studio Code depicting the experience as outlined in the last paragraph\" \/><\/p>\n<h3>New getting started walkthrough<\/h3>\n<p>As of this release of our VS Code extension, we&#8217;ve also added a Getting Started walkthrough to guide users through their first provisions and deployments of their application, and provide next steps and more resources. You can see this Getting Started walkthrough by opening the Command Palette (ctrl+shift+p on Windows and cmd+shift+p on Mac), typing &#8220;Welcome: Open walkthrough&#8230;&#8221; and searching for Azure Developer CLI.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-content\/uploads\/sites\/58\/2023\/03\/2023-3-8-azd-walkthrough-vscode.png\" alt=\"One step in the Azure Developer CLI getting started walkthrough in VS Code - shows a one-click provision and deploy\" \/><\/p>\n<h2>Removal of <code>gh<\/code> CLI as a dependency for <code>azd pipeline config<\/code><\/h2>\n<p>Over the past couple of releases, we&#8217;ve been working to streamline the experience of getting started with the Azure Developer CLI. As of this release, the GitHub CLI (<code>gh<\/code>) is no longer a required pre-requisite if you&#8217;re using the default CI\/CD provider of GitHub Actions as part of <code>azd pipeline config<\/code>.<\/p>\n<p>Now, the Azure Developer CLI installs the <code>gh<\/code> within <code>azd<\/code> scope (not global scope) for you as part of executing <code>azd pipeline config<\/code>. In the future, we may update this behavior. If you have any feedback on this experience, let us know on <a href=\"https:\/\/github.com\/Azure\/azure-dev\">our GitHub repo<\/a>.<\/p>\n<h2><code>azd help<\/code> UX improvements<\/h2>\n<p>Another area of focus over the past several releases was around improving <code>azd<\/code>&#8216;s UX consistency across all commands. In this release, we&#8217;re excited to ship some great improvements for all of our command <code>help<\/code> pages in the CLI!<\/p>\n<p>Some UX improvements in this release include:<\/p>\n<ul>\n<li>New command groupings into categories that more accurately illustrate the developer workflow.<\/li>\n<li>A quickstart section at the bottom of the root <code>azd -h<\/code> command to outline how to get started with a template.<\/li>\n<li>New usage examples to accompany many of our core commands.<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-content\/uploads\/sites\/58\/2023\/03\/2023-3-8-azd-help.png\" alt=\"New azd command groupings in the help menu including configure and develop your app, manage Azure resources and app deployments, monitor, test and release your app and about, help and upgrade\" \/><\/p>\n<h2>Other changes and enhancements<\/h2>\n<p>We have also added small 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>Using <code>-e<\/code> with <code>azd up<\/code> should create a new env <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/1519\">azure-dev#1519<\/a><\/li>\n<li>Use <code>customizations\/vscode\/extensions<\/code> in <code>.devcontainer.json<\/code> <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/1518\">azure-dev#1518<\/a><\/li>\n<li>Support <code>azd down<\/code> from VS Code <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/132\">azure-dev#132<\/a><\/li>\n<li><code>azd<\/code> pipeline started failing on GitHub Actions <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/1532\">azure-dev#1532<\/a><\/li>\n<li>Show prompt to install <code>azd<\/code> from VS Code <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/1461\">azure-dev#1461<\/a><\/li>\n<li>Improvement of documentation &#8211; hooks and <code>interactive:false<\/code> <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/1551\">azure-dev#1551<\/a><\/li>\n<\/ul>\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> &#8211; Security updates to APIM and AppService <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/1646\">azure-dev#1646<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/rpothin\">rpothin<\/a> &#8211; New template &#8211; <a href=\"https:\/\/github.com\/rpothin\/servicebus-csharp-function-dataverse\">Service Bus messages processing to Dataverse<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/tonybaloney\">tonybaloney<\/a> &#8211; New template &#8211; <a href=\"https:\/\/github.com\/tonybaloney\/simple-flask-azd\">Simple Flask App<\/a><\/li>\n<\/ul>\n<p>Try out these new improvements by <a href=\"https:\/\/aka.ms\/azure-dev\/install-instructions\">installing the Azure Developer CLI<\/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>, 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\">Dev Hub documentation<\/a>. If you run into any problems or have suggestions, file an issue or start a discussion on <a href=\"https:\/\/github.com\/Azure\/azure-dev\">Azure Developer CLI repo<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This post announces the March 2023 release of the Azure Developer CLI (`azd`). Support includes support for Azure Kubernetes Service (AKS), updates to Visual Studio Code, UX improvements for azd help, and more!<\/p>\n","protected":false},"author":95415,"featured_media":2276,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[864,815,878,160,159,861,162,733,895],"class_list":["post-2561","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure-sdk","tag-azure-developer-cli","tag-c","tag-codespaces","tag-java","tag-javascript","tag-kubernetes","tag-python","tag-typescript","tag-vscode"],"acf":[],"blog_post_summary":"<p>This post announces the March 2023 release of the Azure Developer CLI (`azd`). Support includes support for Azure Kubernetes Service (AKS), updates to Visual Studio Code, UX improvements for azd help, and more!<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts\/2561","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=2561"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts\/2561\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/media\/2276"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/media?parent=2561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/categories?post=2561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/tags?post=2561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}