From 559d68abd3ec4d076da00f6c4a91ab00215c4549 Mon Sep 17 00:00:00 2001 From: Azure CLI Team Date: Tue, 22 Apr 2025 07:39:56 +0000 Subject: [PATCH 1/3] update azure-cli version to 2.72.0 --- src/azure-cli-core/HISTORY.rst | 4 + src/azure-cli-core/azure/cli/core/__init__.py | 2 +- src/azure-cli-core/setup.py | 2 +- src/azure-cli/HISTORY.rst | 100 ++++++++++++++++++ src/azure-cli/azure/cli/__main__.py | 2 +- src/azure-cli/requirements.py3.Darwin.txt | 4 +- src/azure-cli/requirements.py3.Linux.txt | 4 +- src/azure-cli/requirements.py3.windows.txt | 4 +- src/azure-cli/setup.py | 2 +- 9 files changed, 114 insertions(+), 10 deletions(-) diff --git a/src/azure-cli-core/HISTORY.rst b/src/azure-cli-core/HISTORY.rst index 03a51b6a760..d6e1a747032 100644 --- a/src/azure-cli-core/HISTORY.rst +++ b/src/azure-cli-core/HISTORY.rst @@ -3,6 +3,10 @@ Release History =============== +2.72.0 +++++++ +* Minor fixes + 2.71.0 ++++++ * PREVIEW: Support managed identity authentication with MSAL. Run `az config set core.use_msal_managed_identity=true` or set environment variable `AZURE_CORE_USE_MSAL_MANAGED_IDENTITY` to enable it (#31092) diff --git a/src/azure-cli-core/azure/cli/core/__init__.py b/src/azure-cli-core/azure/cli/core/__init__.py index d75d216e31a..643c6ae5087 100644 --- a/src/azure-cli-core/azure/cli/core/__init__.py +++ b/src/azure-cli-core/azure/cli/core/__init__.py @@ -4,7 +4,7 @@ # -------------------------------------------------------------------------------------------- # pylint: disable=line-too-long -__version__ = "2.71.0" +__version__ = "2.72.0" import os import sys diff --git a/src/azure-cli-core/setup.py b/src/azure-cli-core/setup.py index 683adfb5fd4..500262fb741 100644 --- a/src/azure-cli-core/setup.py +++ b/src/azure-cli-core/setup.py @@ -8,7 +8,7 @@ from codecs import open from setuptools import setup, find_packages -VERSION = "2.71.0" +VERSION = "2.72.0" # If we have source, validate that our version numbers match # This should prevent uploading releases with mismatched versions. diff --git a/src/azure-cli/HISTORY.rst b/src/azure-cli/HISTORY.rst index f9dd87790b3..2add9ed63dd 100644 --- a/src/azure-cli/HISTORY.rst +++ b/src/azure-cli/HISTORY.rst @@ -3,6 +3,106 @@ Release History =============== +2.72.0 +++++++ + +**ACR** + +* Fix #31130: Fix extra version line in encodedTask created by file (#31153) +* Move taskfilesample into data folder (#31211) + +**AKS** + +* `az aks update`: Make specified version to match current version when turning off autoupgrade (#31018) +* `az aks nodepool add/update`: Add option `Ubuntu2204` to `--os-sku` parameter (#31119) +* `az aks create`: Add `--custom-ca-trust-certificates` parameter to support custom CA trust feature (#31107) +* `az aks nodepool add`: Add `--custom-ca-trust-certificates` parameter to support custom CA trust feature (#31107) +* `az aks nodepool add`: Add GPU driver install options `--gpu-driver install` and `--gpu-driver none` (#31106) + +**App Config** + +* `az appconfig create/update`: Add developer sku support (#31199) +* `az appconfig feature set`: Update feature name documentation (#31185) + +**App Service** + +* Fix #20983: `az webapp config ssl import`: Make web app a non-required parameter (#30958) +* `az appservice plan create`: Add Pv4/Pmv4 ASP support (#31021) +* Fix: #20209: `az webapp create-remote-connection`: Add ssh command to output (#31155) + +**ARM** + +* `az deployment`: Fix issue where Bicep is not found in CI environments (#31202) +* Fix issue #31188: `az lock delete`: Fix the case sensitivity of `--namespace` parameter validation (#31274) + +**ARO** + +* `az aro update`: Ensure that refreshing cluster service principal credentials is successful when the cluster has an invalid or missing subnet in its resource definition (#31039) + +**Compute** + +* [BREAKING CHANGE] `az sig image-version`: Change the `--os-vhd-storage-account` parameter mapping to the `properties.storageProfile.osDiskImage.source.storageAccountId` property (#31186) +* [BREAKING CHANGE] `az sig image-version`: Change the `--data-vhds-storage-accounts` parameter mapping to the `properties.storageProfile.dataDiskImages.source.storageAccountId` property (#31186) +* `az vm create`: Add new parameter `--zone-placement-policy` to support setting vm placement to create a zonal VM (#31233) +* `az vm create`: Add new parameter `--include-zones` to support setting vm placement to create a zonal VM (#31233) +* `az vm create`: Add new parameter `--exclude-zones` to support setting vm placement to create a zonal VM (#31233) +* `az vm create/update`: Add new parameter `--align-regional-disks-to-vm-zone` to support setting regional disks attached to the VM to be converted to zonal (#31233) +* `az sig image-version create/update`: Rename shorter alias for `--block-deletion-before-end-of-life` parameter (#31283) +* `az vm create/update`: Add new parameters `--wire-server-mode` and `--wire-server-access-control-profile-reference-id` to support setting wireserver endpoint settings (#31279) +* `az vmss create/update`: Add new parameters `--wire-server-mode` and `--wire-server-access-control-profile-reference-id` to support setting wireserver endpoint settings (#31279) +* `az vm create/update`: Add new parameters `--imds-mode` and `--imds-access-control-profile-reference-id` to support setting IMDS endpoint settings (#31279) +* `az vmss create/update`: Add new parameters `--imds-mode` and `--imds-access-control-profile-reference-id` to support setting IMDS endpoint settings (#31279) +* `az vm create/update`: Add new parameter `--key-incarnation-id` to support setting key incarnation id (#31279) +* `az vmss create/update`: Add new parameter `--key-incarnation-id` to support setting key incarnation id (#31279) +* `az vm/vmss create/update`: Set `--security-type` to `Standard` only if explicitly set by end user (#31282) + +**Consumption** + +* `az consumption usage list`: Enhanced handling of `usageStart` and `usageEnd` when missing (#31128) + +**Container Registry** + +* `az acr create/check-name`: Add parameter `--dnl-scope` for domain name label hash (#30638) +* Upgrade default api version to 2024-11-01-preview (#30638) + +**Microsoft Entra ID** + +* `az ad sp create-for-rbac`: Add `--service-management-reference` argument (#31212) +* `az ad sp create-for-rbac`: Add `--create-password` argument. Use `--create-password false` to disable creating password credential (#31215) + +**MySQL** + +* `az mysql flexible-server create`: Add `--backup-interval` parameter to enable setting backup interval (#31298) +* `az mysql flexible-server restore`: Add `--faster-restore` parameter to open auto-iops-scaling when restore (#31298) +* `az mysql flexible-server replica create`: Add `--faster-provisioning` parameter to open auto-iops-scaling when create replica (#31298) + +**Network** + +* Fix #31129: `az network vnet-gateway create/update`: Refine the logic of `--root-cert-data` (#31166) +* `az network application-gateway waf-policy managed-rule rule-set`: Support rule set type Microsoft_DefaultRuleSet (#31289) + +**Profile** + +* Fix #29030: `az login`: During interactive login, fall back to `tenantId` if `tenantDisplayName` is missing (#29245) + +**RDBMS** + +* `az postgres flexible-server upgrade`: Add server capability API check to the `--version` parameter and allow user to upgrade to PG17 when it is available (#31146) + +**Role** + +* `az role assignment list`: Add `--fill-principal-name` argument. Use `--fill-principal-name false` to omit `principalName` property and bypass Microsoft Graph query (#30693) +* `az role assignment list`: Add `--fill-role-definition-name` argument. Use `--fill-role-definition-name false` to omit `roleDefinitionName` property and bypass the role definitions query (#31152) +* `az role assignment list/delete`: Add `--assignee-object-id` argument. Use this argument instead of `--assignee` to bypass Microsoft Graph query (#30469) + +**Service Connector** + +* `az webapp connection create -h`: Clarify that system identity is a flag (#31263) + +**SQL** + +* Update azure-mgmt-sql Package from 4.0.0b20 to 4.0.0b21 (#31214) + 2.71.0 ++++++ diff --git a/src/azure-cli/azure/cli/__main__.py b/src/azure-cli/azure/cli/__main__.py index 803cf829aa9..1b50f70fd81 100644 --- a/src/azure-cli/azure/cli/__main__.py +++ b/src/azure-cli/azure/cli/__main__.py @@ -17,7 +17,7 @@ from knack.log import get_logger __author__ = "Microsoft Corporation " -__version__ = "2.71.0" +__version__ = "2.72.0" logger = get_logger(__name__) diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index 0fdaffac7a4..8fa1ce9bb43 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -4,9 +4,9 @@ argcomplete==3.5.2 asn1crypto==0.24.0 azure-appconfiguration==1.7.0 azure-batch==15.0.0b1 -azure-cli-core==2.71.0 +azure-cli-core==2.72.0 azure-cli-telemetry==1.1.0 -azure-cli==2.71.0 +azure-cli==2.72.0 azure-common==1.1.22 azure-core==1.31.0 azure-cosmos==3.2.0 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index 5ab22d44ce5..6258085564d 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -4,9 +4,9 @@ argcomplete==3.5.2 asn1crypto==0.24.0 azure-appconfiguration==1.7.0 azure-batch==15.0.0b1 -azure-cli-core==2.71.0 +azure-cli-core==2.72.0 azure-cli-telemetry==1.1.0 -azure-cli==2.71.0 +azure-cli==2.72.0 azure-common==1.1.22 azure-core==1.31.0 azure-cosmos==3.2.0 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index 18d4f9fb861..e83330ba201 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -4,9 +4,9 @@ argcomplete==3.5.2 asn1crypto==0.24.0 azure-appconfiguration==1.7.0 azure-batch==15.0.0b1 -azure-cli-core==2.71.0 +azure-cli-core==2.72.0 azure-cli-telemetry==1.1.0 -azure-cli==2.71.0 +azure-cli==2.72.0 azure-common==1.1.22 azure-core==1.31.0 azure-cosmos==3.2.0 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 3aef8fb2517..f160e684880 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -17,7 +17,7 @@ logging.warning("Wheel is not available, disabling bdist_wheel hook") cmdclass = {} -VERSION = "2.71.0" +VERSION = "2.72.0" # If we have source, validate that our version numbers match # This should prevent uploading releases with mismatched versions. try: From 2f104e16114170f4678f585c0e8e5850331ed7cc Mon Sep 17 00:00:00 2001 From: Xing Zhou Date: Tue, 22 Apr 2025 15:45:48 +0800 Subject: [PATCH 2/3] Update HISTORY.rst --- src/azure-cli/HISTORY.rst | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/azure-cli/HISTORY.rst b/src/azure-cli/HISTORY.rst index 2add9ed63dd..2ba40a737d7 100644 --- a/src/azure-cli/HISTORY.rst +++ b/src/azure-cli/HISTORY.rst @@ -8,8 +8,8 @@ Release History **ACR** -* Fix #31130: Fix extra version line in encodedTask created by file (#31153) -* Move taskfilesample into data folder (#31211) +* `az acr task show`: Fix #31130: Fix extra version line in encodedTask created by file (#31153) +* `az acr create/check-name`: Add parameter `--dnl-scope` for domain name label hash (#30638) **AKS** @@ -60,11 +60,6 @@ Release History * `az consumption usage list`: Enhanced handling of `usageStart` and `usageEnd` when missing (#31128) -**Container Registry** - -* `az acr create/check-name`: Add parameter `--dnl-scope` for domain name label hash (#30638) -* Upgrade default api version to 2024-11-01-preview (#30638) - **Microsoft Entra ID** * `az ad sp create-for-rbac`: Add `--service-management-reference` argument (#31212) From 2bf065bbf3726aed7be2ca30c8fb36a09e90c915 Mon Sep 17 00:00:00 2001 From: Xing Zhou Date: Tue, 22 Apr 2025 15:50:19 +0800 Subject: [PATCH 3/3] Apply suggestions from code review Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com> Co-authored-by: Yishi Wang --- src/azure-cli/HISTORY.rst | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/azure-cli/HISTORY.rst b/src/azure-cli/HISTORY.rst index 2ba40a737d7..cc806ccaf32 100644 --- a/src/azure-cli/HISTORY.rst +++ b/src/azure-cli/HISTORY.rst @@ -8,7 +8,7 @@ Release History **ACR** -* `az acr task show`: Fix #31130: Fix extra version line in encodedTask created by file (#31153) +* Fix #31130: `az acr task show`: Fix extra version line in encodedTask created by file (#31153) * `az acr create/check-name`: Add parameter `--dnl-scope` for domain name label hash (#30638) **AKS** @@ -28,12 +28,12 @@ Release History * Fix #20983: `az webapp config ssl import`: Make web app a non-required parameter (#30958) * `az appservice plan create`: Add Pv4/Pmv4 ASP support (#31021) -* Fix: #20209: `az webapp create-remote-connection`: Add ssh command to output (#31155) +* Fix #20209: `az webapp create-remote-connection`: Add ssh command to output (#31155) **ARM** * `az deployment`: Fix issue where Bicep is not found in CI environments (#31202) -* Fix issue #31188: `az lock delete`: Fix the case sensitivity of `--namespace` parameter validation (#31274) +* Fix #31188: `az lock delete`: Fix the case sensitivity of `--namespace` parameter validation (#31274) **ARO** @@ -58,7 +58,7 @@ Release History **Consumption** -* `az consumption usage list`: Enhanced handling of `usageStart` and `usageEnd` when missing (#31128) +* `az consumption usage list`: Enhance handling of `usageStart` and `usageEnd` when missing (#31128) **Microsoft Entra ID** @@ -92,11 +92,7 @@ Release History **Service Connector** -* `az webapp connection create -h`: Clarify that system identity is a flag (#31263) - -**SQL** - -* Update azure-mgmt-sql Package from 4.0.0b20 to 4.0.0b21 (#31214) +* `az webapp connection create`: Clarify that system identity is a flag (#31263) 2.71.0 ++++++