Releases: Azure/azure-dev
azure-dev-cli_1.0.0
azure-dev-cli_0.9.0-beta.3
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,downandrestorecommands.
Template Feature
- [2157] Add
Daprand 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
alphaversion of azure.yaml schema withterraform. - [2028] Add check on required role assignments for
azd pipeline config.
Other Changes
azure-dev-vscode_0.6.0
0.6.0 (2023-05-17)
Features Added
- [#2122] The appropriate schema for
azure.yamlhas 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
azure-dev-cli_0.9.0-beta.1
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]
azdno longer assumesdotnetby default whenservices.languageis not set, or empty inazure.yaml. If you receive an error message 'language property must not be empty', specifylanguage: dotnetexplicitly inazure.yaml. - [2100] As a follow up from the change for azd up ordering, automatic
.envfile injection when buildingstaticwebappservices have been removed. For more details, read more about Static Web App Dynamic Configuration below. - [2126] During
azd pipeline configcommandsazdwill 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 thevarscontext instead of thesecretscontext 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
provisionstep.
Bugs Fixed
- [2071] Fix
azd config resetcausing a logout to occur. - [2048] Fix
azd downdeletion on an empty resource group environment. - [2088] Fix error when running
azd pipeline config --provider azdoon Codespaces. - [2094] Add error check for pipeline yml file and ssh interaction when running
azd pipeline config.
Template Fix
- [2013] Fix
load template missingerror inazd env list. - [2001] Fix Azure Container Apps CORS strategy for Java, NodeJs and Python.
Other Changes
- [2026] Improve provisioning performance for
dotnetservices by batchingdotnet user-secretupdates. - [2004] Improve error message when no subscriptions are found.
- [1792] Add
java postgresql terraformtemplate. - [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: todo-nodejs-mongo-swa-func@0.0.1-beta
services:
web:
project: ./src/web
dist: build
language: js
host: staticwebapp
api:
project: ./src/api
language: js
host: functionNew, 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: todo-python-mongo-swa-func@0.0.1-beta
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: functionFrom 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
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
requiredVersionstoazure.yaml. - [#1924] Improve UX on
azd down. - [#1807] Retrieves credentials using the token endpoint on
CloudShell.
Bugs Fixed
- [#1923] Fix
Python CLI not installederror 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
Failedstate. - [#1940] Detect and update environment changes before and after hook executions.
- [#1970] Fix
pipeline configissues on Codespaces forghcliandgitcliauth. - [#1982] Ensure directory has user "execute" permissions.
azure-dev-vscode_0.5.0
0.5.0 (2023-04-05)
Features Added
- [#1849] Support for the
azd packagecommand has been added for both the entire application and individual services.
Breaking Changes
azure-dev-cli_0.8.0-beta.1
0.8.0-beta.1 (2023-04-10)
Features Added
- [#1715] Adding feature alpha toggle:
- Moving terraform provider as alpha feature. Use
azd config set alpha.terraform onto have it enabled.
- Moving terraform provider as alpha feature. Use
- [#1833] Deploy from existing package using
--from-packageflag.
Breaking Changes
- [#1715] Using
terraformas provisioning provider will fail and require user to enable terraform runningazd config set alpha.terraform on. - [#1801] Restructuring specific command flags.
azd upno longer runsazd init. As a result, the following flags have been removed fromazd up:--template/-t--location/-l--branch/-b--subscription
- Use of
--serviceand--no-progressinazd upis being deprecated. azd deploynow accepts a positional argument. Useazd deploy <web>instead ofazd deploy --service <web>- Deprecate
--no-progressflag as it currently does nothing. A warning message is shown when used. - Hide
--outputflag in the usage printout to correctly reflect the current it's current alpha-preview status. The output contract for structured schema such as JSON has yet been finalized.
- [#1804] Adjust command aliases.
azd loginandazd logoutare now available asazd auth loginandazd auth logoutrespectively.azd loginandazd logoutare still available for use, but will be removed in a future release.azd infra createandazd infra delete, which have always been aliases forazd provisionandazd down, are now deprecated. The commands are still available for use, but will be removed in a future release.
- [#1824] Add working directory sensitivity for
restoreanddeploy.azd deploywill now deploy the current service, when the current working directory is set to a service directory.azd deploywill deploy all services, when the current working directory is set to the project directory containingazure.yaml- In other directories,
azd deploywill not attempt a deployment and instead error out with suggestions.azd deploy --allcan be used to deploy all services, orazd deploy <service>to deploy a given service always.
- [#1752] Ask fewer questions during
init.azd initwill now only prompt for the environment name. Azure subscription and location values are prompted only when infrastructure provisioning is needed, when runningazd provision, and consequently when runningazd up.
Bugs Fixed
- [#1734] Fix setting
AZURE_PRINCIPAL_IDon multi-tenant directory. - [#1738] Fix generating auth token on multi-tenant directory.
- [#1762] Allow local files to be kept when running
init. - [#1764] Enhance zip-deploy during build for:
- Python: Do not include virtual environments for python.
- Node: Update node modules detection to exclude it from build.
- [#1857] Adds
packagecommand hooks to azd schema. - [#1878] Ensure default generated docker repo/tags are all lowercase.
- [#1875] Fixes panic for
postpackagehook errors.
Other Changes
azd up no longer runs azd init
The behavior of azd up -t <template> can be reproduced with:
cd <empty dir>
azd init -t <template>
azd upazd deploy no longer deploys all services when ran in any directory
The new behavior is as follows:
azd deploywill now deploy the current service, when the current working directory is set to a service directory.azd deploywill deploy all services, when the current working directory is set to the project directory containingazure.yaml.- In other directories,
azd deploywill not attempt a deployment and error out with suggestions.azd deploy --allcan be used to deploy all services, orazd deploy <service>to deploy a given service always.
azd up ordering
azd up now packages artifacts prior to running azd provision and azd deploy. This should not affect most users, with the exception of users that may be taking advantage of azd's environment values in packaging staticwebapp services. If azd up no longer works as expected, and you are currently taking advantage of azd's provided environment values to package your application, a predeploy hook may be used to generate configuration files from azd environment values. See the working example in our ToDo templates that leverage staticwebapp, example here. Note that script hooks automatically have azd environment values loaded in the shell environment.
azure-dev-vscode_0.4.2
0.4.2 (2023-03-15)
Bugs Fixed
- [#1735] Fixed an issue with the login command not working immediately after install.
azure-dev-vscode_0.4.1
0.4.1 (2023-03-14)
Bugs Fixed
- [#1724] Refine conditions for displaying the prompt to install the CLI.