Releases: Azure/azure-dev
azure-dev-cli_0.6.0-beta.2
0.6.0-beta.2 (2023-02-10)
Bugs Fixed
- [#1527] Fix running specific commands with
--output json
causing stack overflow errors to occur. - [#1534] Fix running commands with
-e <environment name>
flag or withAZURE_ENV_NAME
set not being respected. When running in CI environments, this caused prompting to occur, and failing if--no-prompt
is specified.
azure-dev-cli_0.6.0-beta.1
0.6.0-beta.1 (2023-02-08)
Features Added
-
[#1236] Support for command and service hooks
-
[#1414] Support for installation via Homebrew. Windows Package Manager, and Chocolatey are also now supported.
-
[#1407] Improve UX styling for
azd pipeline config
. -
[#1478] Support for multiple Azure tenants.
-
[#1345] Core bicep module
appservice.bicep
now supportsftpsState
as a parameter to configure FTPS upload behavior. -
[#1497] Core bicep module
appservice.bicep
now supportshealthCheckPath
as a parameter to configure the health-check endpoint. -
[#1403] Core bicep module
apim-api.bicep
now links Web App or Function App instances. This allows users on the Azure Portal to navigate to the API management resource directly from the Web App or Function App.
Bugs Fixed
- [#1406] On Windows, fix MSI installation not updating
azd
in some cases (reported by @lechnerc77, fixed by @heaths) - [#1418] Display
provision
progress for PostgreSQL server resources. - [#1483] For Python projects, skip packaging of virtual environment (
.venv
folders) - [#1495]
init
now restores file executable permissions and initializes agit
repository automatically. - [#1470] Improve performance of
azd --help
on Windows for domain-joined users. - [#1503] Fix display for Function App types in
provision
progress
Thanks to community members: @pamelafox, @lechnerc77 for their contributions in this release.
azure-dev-cli_0.5.0-beta.3
azure-dev-cli_0.5.0-beta.2
0.5.0-beta.2 (2023-01-12)
Bugs Fixed
- [#1366] Login not possible with personal account after upgrade to 0.5.0.
azure-dev-cli_0.5.0-beta.1
0.5.0-beta.1 (2023-01-11)
Features Added
- [#1311] Add support to install script with MSI on Windows.
- [#1312] Allow users to configure service endpoints using
SERVICE_<service>_ENDPOINTS
. - [#1323] Add API Management Service support for all templates.
- [#1326] Add purge support for API Management Service.
- [#1076] Refactor the Bicep tool in azd to use the standalone API vs az command wrapper.
- [#1087] Add NodeJs and Terraform devcontainer.
- [#965] Add UX style for
azd init
. - [#1100] Add Shell completion.
- [#1086] Add FederatedIdentityCredentials (FICS).
- [#1177] Add command
azd auth token
. - [#1210] Have azd acquire Bicep.
- [#1133] Add UX style for
azd provision
. - [#1248] Support
redirect port
forazd login
. - [#1269] Add UX style for
azd deploy
.
Breaking Changes
- [#1129] Remove all dependencies on az cli.
- [#1105]
azd env new
now accepts the name of the environment as the first argument, i.e.azd env new <environment>
. Previously, this behavior was accomplished via the global environment flag-e
, i.e.azd env new -e <environment>
. - [#1022]
azd
no longer uses theaz
CLI to authenticate with Azure by default. You will need to runazd login
after upgrading. You may runazd config set auth.useAzCliAuth true
to restore the old behavior of usingaz
for authentication.
Bugs Fixed
- [#1107] Fix Bicep path not found.
- [#1096] Fix Java version check for major-only release.
- [#1105] Fix
env new
to use positional argument. - [#1168] Fix purge option for command
azd down --force --purge
to purge key vaults and app configurations resources.
If you have existing pipelines that use azd
, you will need to update your pipelines to use the new azd
login methods when authenticating against Azure.
GitHub Actions pipelines:
Update your azure-dev.yml
to stop using the azure/login@v1
action, and instead log in using azd
directly. To do so, replace:
- name: Log in with Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
with
With Client Credentials
- name: Log in with Azure (Client Credentials)
run: |
$info = $Env:AZURE_CREDENTIALS | ConvertFrom-Json -AsHashtable;
Write-Host "::add-mask::$($info.clientSecret)"
azd login `
--client-id "$($info.clientId)" `
--client-secret "$($info.clientSecret)" `
--tenant-id "$($info.tenantId)"
shell: pwsh
env:
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}
With Federated Credentials
- name: Log in with Azure (Federated Credentials)
run: |
azd login `
--client-id "$Env:AZURE_CLIENT_ID" `
--federated-credential-provider "github" `
--tenant-id "$Env:AZURE_TENANT_ID"
shell: pwsh
Azure DevOps pipelines:
Update your azure-dev.yml
file to force azd
to use az
for authentication. To do so, add a new step before any other steps which use azd
:
- pwsh: |
azd config set auth.useAzCliAuth "true"
displayName: Configure azd to Use az CLI Authentication.
We plan to improve this behavior with [#1126].
azure-dev-cli_0.4.0-beta.1
0.4.0-beta.1 (2022-11-02)
Features Added
- [#773] Add support for Java with Maven.
- [#1026], [#1021] New official templates: ToDo with Java on App Service, ToDo with Java on Azure Container Apps, ToDo with C# on Azure Functions
- [#967] New
azd config
command for managing default subscription and location selections. - [#1035] Add terraform support for Azure Pipelines created using
azd pipeline config
.
Bugs Fixed
- [#1060] Fix color rendering on Windows.
- [#1011] Improve error printout for deployment failures.
- [#991] Fix
devcontainers.json
to use non-deprecated syntax. - [#996] ToDo templates:
- Fix cases where provisioning of app settings would succeed, but app settings configuration would not take place.
- Move resource naming to
main.bicep
and removeresources.bicep
from templates.
azure-dev-cli_0.3.0-beta.5
azure-dev-cli_0.3.0-beta.4 ( DEPRECATED - DO NOT USE)
0.3.0-beta.4 (2022-10-25) DEPRECATED
Bugs Fixed
- [#979] Fix provisioning template with non string outputs.
azure-dev-cli_0.3.0-beta.3
0.3.0-beta.3 (2022-10-21)
Features Added
- [#878]
azd down
supports purge of app configuration stores.
Bugs Fixed
- [#925] Fix issues where running
azd infra create
with--output==json
would emit invalid JSON. As part of this change, we now no longer emit multiple objects tostdout
as part of an operation. Instead, progress messages are streamed in a structured way tostderr
.