Skip to content

Commit

Permalink
{Release} Upgrade to Azure CLI 2.58.0 (#28473)
Browse files Browse the repository at this point in the history
* update azure-cli version to 2.58.0

* Apply suggestions from code review

Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
Co-authored-by: Yan Zhu <105691024+yanzhudd@users.noreply.github.com>

---------

Co-authored-by: Qinkai Wu <32201005+ReaNAiveD@users.noreply.github.com>
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
Co-authored-by: Yan Zhu <105691024+yanzhudd@users.noreply.github.com>
  • Loading branch information
4 people authored Feb 28, 2024
1 parent ef8a5e8 commit 761c2a2
Show file tree
Hide file tree
Showing 9 changed files with 106 additions and 10 deletions.
4 changes: 4 additions & 0 deletions src/azure-cli-core/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

2.58.0
++++++
* [BREAKING CHANGE] `az login`: Use WAM as the default authentication method on Windows. If you encounter any issue and want to opt out, run `az config set core.enable_broker_on_windows=false`, `az account clear` and `az login` (#28085)

2.57.0
++++++
* `aaz`: Handle null value when deserialize output (#28253)
Expand Down
2 changes: 1 addition & 1 deletion src/azure-cli-core/azure/cli/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# --------------------------------------------------------------------------------------------
# pylint: disable=line-too-long

__version__ = "2.57.0"
__version__ = "2.58.0"

import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion src/azure-cli-core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from codecs import open
from setuptools import setup, find_packages

VERSION = "2.57.0"
VERSION = "2.58.0"

# If we have source, validate that our version numbers match
# This should prevent uploading releases with mismatched versions.
Expand Down
92 changes: 92 additions & 0 deletions src/azure-cli/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,98 @@
Release History
===============

2.58.0
++++++

**ACR**

* `az acr`: Update registry and webhook example names to be lowercase (#28364)
* `az acr create/update`: Add new argument `--allow-metadata-search` to enable the metadata-search feature for the registry (#28082)

**AKS**

* Add monitoring addon to support default workspace in AGC (#28326)
* `az aks get-versions`: Show extra column on supportPlan (#28325)
* `az aks create/update`: Update region map for default region creation with new Azure Monitor Workspace regions (#28236)
* `az aks update`: Zero can be set to outbound-ports,outbound-ip-count in loadbalancer profile and outbound-ip-count in natgateway profile in AKS (#28273)

**API Management**

* `az apim api export`: Add command to export an API Management API (#28279)

**App Service**

* `az webapp up/create/update`: Add new parameter `--basic-auth` to allow users to enable and disable basic auth (#28237)

**ARM**

* Fix #27855: `az bicep generate-params`: Bicep install messages sent to stdout (#28188)

**Backup**

* [BREAKING CHANGE] `az backup item set-policy`: Add warning prompt for migration from Standard to Enhanced Policy (#28317)

**Batch**

* `az batch pool create`: Add new parameter `--resource-tags` to support specifying resource tags for the pool. Any resource created for the pool will then also be tagged by the same resource tags (#28315)
* `az batch pool create`: Add new parameters `--security-type`, `--encryption-at-host`, `--secure-boot-enabled`, and `--v-tpm-enabled` to support Trusted Launch Security Type for VMs/VMSS deployments (#28315)
* `az batch pool create`: Add new parameters `--caching`, `--disk-size-gb`, `--write-accelerator-enabled`, and `--storage-account-type` to support Batch Node Agent temp disk-less SKUs (#28315)

**CDN**

* Fix #28240: `az afd rule create`: Cannot create without condition (#28422)
* Fix #28223: `az afd route create`: Cannot create without `--content-types-to-compress` (#28421)
* Fix #27744: `az afd origin-group`: Add parameter `--enable-health-probe` (#28432)

**Compute**

* `az vmss nic`: Update help messages to guild users to specific commands for Flexible VMSS (#28390)
* `az vm host redeploy`: Add command to redeploy the dedicated host (#28418)
* Fix #28397: `az vm create`: Fix creating VM with `--security-type Standard` (#28409)
* `az vmss application set`: Fix updates to the purchase plan are not supported when updating VMSS (#28230)
* `az vmss update-domain-walk`: Add new command to support updating vm in a service fabric vmss (#28300)

**Containerapp**

* `az containerapp revision copy`: Fix `--from-revision` bug for inheriting a specific revision contains scale rules (#28272)
* `az containerapp update`: Fix TypeError: Argument of type 'NoneType' is not iterable (#28401)
* Fix #28226: `az containerapp job update`: Update existing scale rules if `--scale-rule-name` is passed (#28408)

**Cosmos DB**

* `az cosmosdb sql database/container restore`: Fix support for restore of deleted database resource in the same SQL account (#28365)
* `az cosmosdb mongodb database/collection restore`: Fix support for restore of deleted database resource in the same MongoDB account (#28365)
* `az cosmosdb gremlin database/graph restore`: Fix support for restore of deleted database resource in the same gremlin account (#28365)
* `az cosmosdb table restore`: Fix support for restore of deleted table resource in the same account (#28365)

**MySQL**

* `az mysql flexible-server import create`: Change the default progress message from starting to running (#28435)

**Network**

* `az network virtual-appliance connection`: Add show and list commands for NVA connection (#28431)
* `az network vnet-gateway`: Add parameters `--allow-remote-vnet-traffic` and `--allow-vwan-traffic` (#28446)
* `az network express-route gateway`: Add parameter `--allow-non-vwan-traffic` (#28446)

**RDBMS**

* Fix #27713: `az postgres flexible-server list-skus -o table`: Fix table output from list-skus command (#28108)

**Security**

* `az security api-collection`: Manage Azure API Management API connections to Microsoft Defender for APIs (#28285)
* `az security security-connector`: Manage cloud security posture management (CSPM) and cloud workload protection (CWP) across multicloud resources (#28285)

**SQL VM**

* Fix #27300: `az sql vm group create`: `--cluster-subnet-type` should only be passed into `WsfcDomainProfile` (#27301)

**Storage**

* Fix #28356: `az storage account or-policy update`: Fix `-p @policy.json` to allow passing in json files (#28391)
* `az storage blob upload-batch`: Support `--tags`, make `--overwrite` non-preview (#28410)

2.57.0
++++++

Expand Down
2 changes: 1 addition & 1 deletion src/azure-cli/azure/cli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from knack.log import get_logger

__author__ = "Microsoft Corporation <python@microsoft.com>"
__version__ = "2.57.0"
__version__ = "2.58.0"


# A workaround for https://bugs.python.org/issue32502 (https://github.com/Azure/azure-cli/issues/5184)
Expand Down
4 changes: 2 additions & 2 deletions src/azure-cli/requirements.py3.Darwin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ argcomplete==3.1.1
asn1crypto==0.24.0
azure-appconfiguration==1.1.1
azure-batch==14.1.0
azure-cli-core==2.57.0
azure-cli-core==2.58.0
azure-cli-telemetry==1.1.0
azure-cli==2.57.0
azure-cli==2.58.0
azure-common==1.1.22
azure-core==1.28.0
azure-cosmos==3.2.0
Expand Down
4 changes: 2 additions & 2 deletions src/azure-cli/requirements.py3.Linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ argcomplete==3.1.1
asn1crypto==0.24.0
azure-appconfiguration==1.1.1
azure-batch==14.1.0
azure-cli-core==2.57.0
azure-cli-core==2.58.0
azure-cli-telemetry==1.1.0
azure-cli==2.57.0
azure-cli==2.58.0
azure-common==1.1.22
azure-core==1.28.0
azure-cosmos==3.2.0
Expand Down
4 changes: 2 additions & 2 deletions src/azure-cli/requirements.py3.windows.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ argcomplete==3.1.1
asn1crypto==0.24.0
azure-appconfiguration==1.1.1
azure-batch==14.1.0
azure-cli-core==2.57.0
azure-cli-core==2.58.0
azure-cli-telemetry==1.1.0
azure-cli==2.57.0
azure-cli==2.58.0
azure-common==1.1.22
azure-core==1.28.0
azure-cosmos==3.2.0
Expand Down
2 changes: 1 addition & 1 deletion src/azure-cli/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}

VERSION = "2.57.0"
VERSION = "2.58.0"
# If we have source, validate that our version numbers match
# This should prevent uploading releases with mismatched versions.
try:
Expand Down

0 comments on commit 761c2a2

Please sign in to comment.