Skip to content

Commit

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

* Update src/azure-cli/HISTORY.rst

* Apply suggestions from code review

Co-authored-by: kai ru <[email protected]>
Co-authored-by: Yishi Wang <[email protected]>
Co-authored-by: Jiashuo Li <[email protected]>
Co-authored-by: Xing Zhou <[email protected]>
Co-authored-by: Hang <[email protected]>

* Apply suggestions from code review

Co-authored-by: Yishi Wang <[email protected]>

* Update HISTORY.rst

Co-authored-by: Xing Zhou <[email protected]>
Co-authored-by: ZelinWang <[email protected]>
Co-authored-by: kai ru <[email protected]>
Co-authored-by: Yishi Wang <[email protected]>
Co-authored-by: Jiashuo Li <[email protected]>
Co-authored-by: Hang <[email protected]>
  • Loading branch information
7 people authored Oct 28, 2022
1 parent f7f70ec commit 287ed02
Show file tree
Hide file tree
Showing 9 changed files with 110 additions and 10 deletions.
5 changes: 5 additions & 0 deletions src/azure-cli-core/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
Release History
===============

2.42.0
++++++
* `aaz`: Support `FreeFormDictType` and `FreeFormDictArg` (#24183)
* `aaz`: Support `configured_default` property in arguments (#24411)

2.41.0
++++++
* Support Continuous Access Evaluation (#23635)
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.41.0"
__version__ = "2.42.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.41.0"
VERSION = "2.42.0"

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

2.42.0
++++++

**ACR**

* `az acr task update`: Fix logic issue for updating encoded task (#24279)

**AKS**

* Fix #24188: `az aks list`: Fix pagination handling error `ContainerServiceClientConfiguration object has no attribute api_version` when there are many list results (#24270)
* Fix #24188: `az aks nodepool list`: Fix pagination handling error `ContainerServiceClientConfiguration object has no attribute api_version` when there are many list results (#24270)
* `az aks create/update`: Add new parameters `--enable-blob-driver` and `--disable-blob-driver` to enable/disable Blob CSI Driver (#24404)
* `az aks create/update`: Add new parameter `--enable-oidc-issuer` to support enabling oidc issuer feature (#24070)
* `az aks oidc-issuer rotate-signing-keys`: Add new command to support rotating oidc issuer service account signing keys (#24070)

**APIM**

* `az apim create/update`: Add `--public-network-access` to support specifying whether or not public endpoint access is allowed for this API management service (#23983)
* `az apim create/update`: Add `--disable-gateway` to support disabling gateway in the master region (#23983)

**App Config**

* `az appconfig`: Update raised errors in app config command module (#24400)

**App Service**

* Fix #23050: `az functionapp deployment source config-zip`: Fix the bug that zip deployment will fail if app settings contain any values of null (#24077)

**Backup**

* `az backup restore restore-disks`: Update Cross Zonal Restore behaviour for ZRS vaults and primary region CRR scenarios (#24126)
* `az backup job show`: Change subtask start/end time from minimum value to null for ongoing or yet-to-start operation (#24207)

**Compute**

* `az vm run-command create/update`: Change help messages and add examples for `--output-blob-uri` parameter to illustrate that `--output-blob-uri` must be SAS URI (#24296)
* Fix #24187: `az vm list`: Fix the AttributeError 'ComputeManagementClientConfiguration' object has no attribute 'api_version' (#24301)
* `az vm extension list`: Add new parameter `--ids` to support listing extensions by VM id (#24198)
* `az sig image-version create/update`: Add `--allow-replicated-location-deletion` to support removing gallery image version from replicated regions (#24364)
* Fix #24263: `az snapshot create`: Fix the KeyError 'IMPORT_ENUM' when creating snapshot from source blob uri (#24386)
* `az sig image-version update`: Support `excludeFromLatest` for `--add` parameter to exclude this image version when using the latest version of image definition (#24412)
* `az sig image-version update`: Support `safetyProfile.allowDeletionOfReplicatedLocations` for `--set` parameter to allow users to remove the gallery image version from replicated regions (#24412)

**HDInsight**

* [BREAKING CHANGE] `az hdinsight create`: Remove the enum value 1.0 and 1.1 from the `--minimal-tls-version`, HDInsight doesn't support TLS version which is less than 1.2 now. (#24141)

**IoT**

* `az iot hub create`: Enforce data residency property on hubs created in `qatarcentral` (#24212)

**NetAppFiles**

* `az netappfiles account renew-credentials`: Add `renew-credentials` command to renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption (#24423)

**Network**

* `az network public-ip`: Add alias `--ddos-protection-mode` to `--protection-mode` (#24267)
* `az network custom-ip prefix`: Add parameters `--asn`, `--geo`, `--no-internet-advertise` and so on (#24272)
* Fix #21551: `az network nic ip-config update`: ASGs update with multiple IP configurations (#24303)
* Fix #24169: `az network application-gateway waf-policy managed-rule exclusion rule-set remove`: Remove exclusion with different matchers (#24322)
* Fix #24377: `az network public-ip create`: Derive Public IPs in different resource group from Public IP Prefix (#24385)
* `az network lb probe`: Support probe threshold via `--probe-threshold` (#24366)

**RDBMS**

* [BREAKING CHANGE] `az postgres flexible-server migration show`: Remove `--level` parameter (#24055)
* [BREAKING CHANGE] `az postgres flexible-server migration delete`: Remove this command. Deleting a migration is not supported for now. (#24055)
* [BREAKING CHANGE] Change `az postgres flexible-server migration update --cutover` to `az postgres flexible-server migration update --cutover db1 db2 db3` (#24055)
* `az postgres flexible-server migration create`: Add `--migration-mode` to support offline and online(with CDC) migrations. Default mode when `--migration-mode` not passed will be offline. (#24055)
* Add `az postgres flexible-server migration update --cancel db1 db2 db3` to cancel a migration. (#24055)

**Resource**

* `az resource delete`: Add new parameter `--no-wait` to support not waiting the long-running operation to finish (#24302)

**Role**

* `az role assignment create`: Support bring-your-own role assignment name (#24324)
* `az role assignment delete`: If `--ids` is provided, ignore other arguments, instead of raising error (#24362)

**SQL**

* `az sql midb log-replay start`: Add `--storage-identity` parameter (#24105)

**Storage**

* `az storage account show-connection-string/keys renew`: Update options for `--key` parameter (#24266)
* `az storage account create/update`: GA `--key-vault-federated-client-id` (#24359)

**Synapse**

* `az synapse workspace create`: Add parameter `--managed-resource-group-name` (#23713)
* `az synapse spark pool`: Add parameter `--enable-dynamic-executor-allocation` (#23960)

2.41.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 <[email protected]>"
__version__ = "2.41.0"
__version__ = "2.42.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==1.11.1
asn1crypto==0.24.0
azure-appconfiguration==1.1.1
azure-batch==12.0.0
azure-cli-core==2.41.0
azure-cli-core==2.42.0
azure-cli-telemetry==1.0.8
azure-cli==2.41.0
azure-cli==2.42.0
azure-common==1.1.22
azure-core==1.24.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==1.11.1
asn1crypto==0.24.0
azure-appconfiguration==1.1.1
azure-batch==12.0.0
azure-cli-core==2.41.0
azure-cli-core==2.42.0
azure-cli-telemetry==1.0.8
azure-cli==2.41.0
azure-cli==2.42.0
azure-common==1.1.22
azure-core==1.24.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==1.11.1
asn1crypto==0.24.0
azure-appconfiguration==1.1.1
azure-batch==12.0.0
azure-cli-core==2.41.0
azure-cli-core==2.42.0
azure-cli-telemetry==1.0.8
azure-cli==2.41.0
azure-cli==2.42.0
azure-common==1.1.22
azure-core==1.24.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.41.0"
VERSION = "2.42.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 287ed02

Please sign in to comment.