Skip to content

Releases: Azure/azure-dev

azure-dev-vscode_0.7.0

12 Jul 19:48
5667e09
Compare
Choose a tag to compare

0.7.0 (2023-07-12)

Features Added

  • [#2396] Diagnostics have been added for azure.yaml files for when a path referenced as a project does not exist.
  • [#2447] An experience has been added to easily rename project paths referenced in azure.yaml.
  • [#2448] Services can be added to azure.yaml by dragging a folder and then holding Shift and dropping it into azure.yaml.

Bugs Fixed

  • [#2504] Fixed an issue where the "Azure Developer CLI (azd): Initialize App (init)" command would fail on Windows when executed immediately after installing AZD.

azure-dev-cli_1.1.0

12 Jul 19:15
5667e09
Compare
Choose a tag to compare

1.1.0 (2023-07-12)

Features Added

  • [2364] Display docker output during package and deploy.
  • [2463] Support --docs flag for all azd commands to show official documentation website.

Bugs Fixed

  • [2402] Support for workload profiles in Azure Container Apps
  • [2428, 2040] Include current git branch in GitHub federated credentials

Other Changes

  • [1118] Add azd as a devcontainer feature. Thanks aaronpowell for their contributions to this feature and for updating our templates to use this new feature!

azure-dev-cli_1.0.2

14 Jun 20:56
d605760
Compare
Choose a tag to compare

1.0.2 (2023-06-14)

Features Added

  • [2266] Support for buildArgs on Docker builds.
  • [2322] Support Azure Spring Apps consumption dedicated plan.

Bugs Fixed

  • [2348] Support purging Managed HSMs.
  • [2362] Prevent more errors from interrupting console progress.
  • [2366] Fixes issue where hooks inline script slashes are replaced.
  • [2375] Store numeric values with leading zeros in .env correctly.
  • [2401] Fix the application url fetched from ASA consumption plan.
  • [2426] Fix saving of subscription and location defaults.

Other Changes

  • [2337] Update device-code auth flow.

azure-dev-cli_1.0.1

25 May 21:40
8407ba5
Compare
Choose a tag to compare

1.0.1 (2023-05-25)

  • [2300] Fix azd auth login failing with error "reauthentication required: run azd auth login to log in" due to stale cache data.

azure-dev-cli_1.0.0

22 May 23:35
ed2244c
Compare
Choose a tag to compare

1.0.0 (2023-05-22)

Bugs Fixed

  • [2279] Fetch k8s GPG key from alternate location.
  • [2278] Remove infrastructure outputs from .env on azd down.
  • [2274] Change AKS service spec 'targetPort' from int to string.

azure-dev-cli_0.9.0-beta.3

19 May 14:03
e564b12
Compare
Choose a tag to compare

0.9.0-beta.3 (2023-05-19)

Features Added

  • [2245] Add support to login to Azure Container Registry with current identity.
  • [2228] Add error classification and reporting for external errors to azd.
  • [2219] Support environment name as explicit argument for azd env refresh.
  • [2164] Add timing information on up,package,build, provision,deploy, down and restore commands.

Template Feature

  • [2157] Add Dapr and container configuration properties to Azure Container Apps modules.

Bugs Fixed

  • [2257] Add purge option of cognitive accounts for azd down.
  • [2243] Return error when login fails.
  • [2251] Create an alpha version of azure.yaml schema with terraform.
  • [2028] Add check on required role assignments for azd pipeline config.

Other Changes

  • [2218] Update azd pipeline config default roles to include User Access Administrator.
  • [2185] Improve error messages on auth command.

azure-dev-vscode_0.6.0

18 May 17:42
e797ff8
Compare
Choose a tag to compare

0.6.0 (2023-05-17)

Features Added

  • [#2122] The appropriate schema for azure.yaml has been associated for use by the optional YAML extension. The YAML extension can offer syntax and schema validation, completions, hover tooltips, and more.

Other Changes

  • [#2190] Command names have been altered to appear more consistent with VS Code conventions. Commands have been grouped into submenus.

azure-dev-cli_0.9.0-beta.2

12 May 04:28
f204b07
Compare
Choose a tag to compare

0.9.0-beta.2 (2023-05-11)

Bugs Fixed

  • [2177] Use information in .installed-by.txt to advise the user on how to upgrade azd
  • [2183] Statically link CRT in MSI custom action

azure-dev-cli_0.9.0-beta.1

11 May 16:09
9e9e9d6
Compare
Choose a tag to compare

0.9.0-beta.1 (2023-05-11)

Features Added

  • [1808] Support for Azure Spring Apps(alpha feature).
  • [2083] Allow resource group scope deployments(alpha feature).

Breaking Changes

  • [2066] azd no longer assumes dotnet by default when services.language is not set, or empty in azure.yaml. If you receive an error message 'language property must not be empty', specify language: dotnet explicitly in azure.yaml.
  • [2100] As a follow up from the change for azd up ordering, automatic .env file injection when building staticwebapp services have been removed. For more details, read more about Static Web App Dynamic Configuration below.
  • [2126] During azd pipeline config commands azd will no longer store non-secret configuration values in GitHub secrets and instead will be stored in GitHub variables. Non-secret variables should be referenced using the vars context instead of the secrets context within your GitHub actions.
  • [1989] Refactor Container App service target. Deploy will fail if you are using Azure Container Apps that are not deploying the Azure Container Apps resources as part of the initial provision step.

Bugs Fixed

  • [2071] Fix azd config reset causing a logout to occur.
  • [2048] Fix azd down deletion on an empty resource group environment.
  • [2088] Fix error when running azd pipeline config --provider azdo on Codespaces.
  • [2094] Add error check for pipeline yml file and ssh interaction when running azd pipeline config.

Template Fix

  • [2013] Fix load template missing error in azd env list.
  • [2001] Fix Azure Container Apps CORS strategy for Java, NodeJs and Python.

Other Changes

  • [2026] Improve provisioning performance for dotnet services by batching dotnet user-secret updates.
  • [2004] Improve error message when no subscriptions are found.
  • [1792] Add java postgresql terraform template.
  • [2055] Add new starter templates for bicep and terraform.
  • [2090] Update todo templates names and descriptions.

Static Web App Dynamic Configuration

This change affects staticwebapp services that are currently relying on azd provided .env file variables during azd deploy. If you have an application initialized from an older azd provided Static Web App template (before April 10, 2023), we recommend uptaking the latest changes if you're relying on .env variables being present. A way to check whether this affects you is by looking at contents in azure.yaml:

Old, uptake needed:

# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json

name: <your project>
metadata:
  template: [email protected]
services:
  web:
    project: ./src/web
    dist: build
    language: js
    host: staticwebapp
  api:
    project: ./src/api
    language: js
    host: function

New, no changes necessary:

# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json

name: <your project>
metadata:
  template: [email protected]
services:
  web:
    project: ./src/web
    dist: build
    language: js
    host: staticwebapp
    hooks:
      predeploy:
        posix:
          shell: sh
          run: node entrypoint.js -o ./build/env-config.js
          continueOnError: false
          interactive: false
        windows:
          shell: pwsh
          run: node entrypoint.js -o ./build/env-config.js
          continueOnError: false
          interactive: false
  api:
    project: ./src/api
    language: py
    host: function

From the example above, dynamic configuration can still be generated from azd .env files by creating a predeploy hook that embeds the configuration into web assets. See an example change here.

azure-dev-cli_0.8.0-beta.2

20 Apr 22:22
429b6cc
Compare
Choose a tag to compare

0.8.0-beta.2 (2023-04-20)

Features Added

  • [#1931] Support *.war and *.ear java archive files, and specify a specific archive file if multiple archives are present.
  • [#1704] Add requiredVersions to azure.yaml.
  • [#1924] Improve UX on azd down.
  • [#1807] Retrieves credentials using the token endpoint on CloudShell.

Bugs Fixed

  • [#1923] Fix Python CLI not installed error when Python is installed.
  • [#1963] Update GitHub federated auth token provider to allow for fetching of tokens when tokens expire.
  • [#1967] Display provisioning resources in Failed state.
  • [#1940] Detect and update environment changes before and after hook executions.
  • [#1970] Fix pipeline config issues on Codespaces for ghcli and gitcli auth.
  • [#1982] Ensure directory has user "execute" permissions.