Skip to content

Commit

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

* Update src/azure-cli/HISTORY.rst

* Update src/azure-cli/HISTORY.rst

Co-authored-by: Yishi Wang <yishiwang@microsoft.com>

* Update src/azure-cli/HISTORY.rst

Co-authored-by: Yishi Wang <yishiwang@microsoft.com>

* Update src/azure-cli/HISTORY.rst

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

* Update src/azure-cli/HISTORY.rst

Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>

* Update src/azure-cli/HISTORY.rst

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

* Update src/azure-cli/HISTORY.rst

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

* Update src/azure-cli/HISTORY.rst

Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>

* Update src/azure-cli/HISTORY.rst

Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>

* Update src/azure-cli/HISTORY.rst

Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>

* Update src/azure-cli/HISTORY.rst

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

* Update src/azure-cli/HISTORY.rst

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

* Update src/azure-cli/HISTORY.rst

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

* Remove 3.7

---------

Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com>
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
Co-authored-by: Yishi Wang <yishiwang@microsoft.com>
Co-authored-by: necusjz <necusjz@gmail.com>
Co-authored-by: Yan Zhu <105691024+yanzhudd@users.noreply.github.com>
Co-authored-by: Hang Lei <hanglei@microsoft.com>
  • Loading branch information
7 people authored Jul 27, 2023
1 parent e73fb24 commit 399b8ed
Show file tree
Hide file tree
Showing 10 changed files with 122 additions and 15 deletions.
5 changes: 0 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -442,11 +442,6 @@ jobs:
CLI_VERSION=`cat $BUILD_ARTIFACTSTAGINGDIRECTORY/metadata/version`
PYPI_FILES=$(cd $BUILD_ARTIFACTSTAGINGDIRECTORY/pypi; pwd)
echo "== Testing pip install on Python 3.7 =="
docker run \
--rm -v $PYPI_FILES:/mnt/pypi python:3.7 \
/bin/bash -c "ls /mnt/pypi && pip install -f /mnt/pypi -q azure-cli==$CLI_VERSION.* && az self-test && az --version && sleep 5"
echo "== Testing pip install on Python 3.9 =="
docker run \
--rm -v $PYPI_FILES:/mnt/pypi python:3.9 \
Expand Down
7 changes: 7 additions & 0 deletions src/azure-cli-core/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
Release History
===============

2.51.0
++++++
* `aaz`: Add `--max-items` and `--next-token` for pagination (#26710)
* `aaz`: Support paginating calculation (#26713)
* `aaz`: Support blank input for compound argument types (#26870)
* Drop client telemetry cache strategy (#26854)

2.50.0
++++++
* `aaz`: Add short summary for `--location` when its default value comes from resource group (#26584)
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.50.0"
__version__ = "2.51.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.50.0"
VERSION = "2.51.0"

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

2.51.0
++++++

**AKS**

* `az aks nodepool snapshot update`: Add aks nodepool snapshot update command (#26790)
* `az aks create`: Add new parameter `--k8s-support-plan` to support LTS onboarding, also add new tier enum `premium` (#26795)
* `az aks update`: Support enabling/disabling LTS via new parameter `--k8s-support-plan` (#26795)
* `az aks create`: Add node taint support when create cluster use `az aks` command (#26837)
* `az aks update`: Add update node taint support on cluster level use `az aks` command (#26837)
* `az aks enable-addons`: Fix the default value of option `--enable-msi-auth-for-monitoring` being overwritten to `False` when specified (#26844)
* `az aks update`: Add new parameter `--outbound-type` to support cluster outbound type. (#26975)
* `az aks maintenanceconfiguration list`: Add new command to list all maintenance windows in a cluster (#26758)
* `az aks maintenanceconfiguration show`: Add new command to display a specific maintenance window of a cluster (#26758)
* `az aks maintenanceconfiguration add`: Add new command to add a new maintenance window configuration for a cluster (#26758)
* `az aks maintenanceconfiguration update`: Add new command to update an existing maintenance window configuration of a cluster (#26758)
* `az aks maintenanceconfiguration delete`: Add new command to delete an existing maintenance window configuration of a cluster (#26758)
* `az aks update`: Fix aks network profile update error (#27006)

**App Config**

* `az appconfig kv delete/set/set-keyvault`: Add key validations for null or empty space keys (#26928)
* `az appconfig kv export/import/restore`: Update key-value diffing and preview (#26325)
* `az appconfig snapshot`: Remove status code property from snapshot object (#26891)
* `az appconfig snapshot list`: Use enums for status parameter (#26879)

**App Service**

* Fix #26214: `az webapp show`: Fix the bug caused by missing leading slash causes web app and plan commands to fail for s-clouds (#26921)
* Fix #26214: `az appservice plan show`: Fix the bug caused by missing leading slash causes web app and plan commands to fail for s-clouds (#26921)
* Fix #26601: `az functionapp create`: Throw error for consumption function app created with vnet (#26792)
* Fix #21133: `az webapp/functionapp config ssl bind/unbind`: Search for matching certificates in the subscription by App Service Plan Id (#26617)

**ARM**

* `az stack`: Fix the bug that the required `--deny-settings-mode` parameter should not return None (should be a string) (#26900)
* `az stack`: Fix the bug that the `--deny-settings-excluded-principals` parameter was accidentally reset (#26900)

**Batch**

* `az batch job/pool all-statistics`: Remove no longer worked commands (#26766)
* `az batch pool create`: Add new parameter `--enable-accelerated-networking` to determine whether this pool should enable accelerated networking (#26766)

**Cognitive Services**

* `az cognitiveservices account deployment create`: Add `--sku-name` and `--sku-capacity` parameters (#26995)
* `az cognitiveservices usage`: Add new command `list` (#26995)
* `az cognitiveservices model`: Add new command `list` (#26995)

**Compute**

* `az vm/vmss create`: Enable auto upgrading of guest attestation extension by default for Trusted Launch enabled VMs and VMSS (#26878)
* `az vm/vmss create`: Add new parameter `--disable-integrity-monitoring-autoupgrade` to support disabling auto upgrading of guest attestation extension for Trusted Launch enabled VMs and VMSS (#26878)
* `az sig image-version undelete`: Add new command to support softdeleted image recovery (#26943)
* `az vm/vmss/disk create`: Add new option `Standard` for `--security-type` for backward compatibility (#26892)
* `az sig image-definition create`: Add new option `Standard` for `--security-type` for backward compatibility (#26892)

**Cosmos DB**

* `az cosmosdb restore`: Add `--assign-identity` and `--default-identity` to allow PITR restoring with identity (#26867)
* `az cosmosdb postgres`: Add new command groups to support Cosmos DB for PostgreSQL (#26729)

**Key Vault**

* `az keyvault restore start`: Add `--key-name` to support selective key restoring (#26907)
* `az keyvault key sign/verify`: Add new commands to support signing with keyvault key and verify the signature (#26922)

**MySQL**

* `az mysql flexible-server ad-admin set`: Enable AAD for replica (#27007)

**Network**

* `az network nic create/update`: Add parameters `--auxiliary-mode` and `--auxiliary-sku` to support setting auxiliary mode and sku (#26932)
* `az network public-ip`: Add parameter `--dns-name-scope` to specify different options (#26961)
* `az network private-endpoint-connection`: Add provider `Microsoft.ElasticSan/elasticSans` (#26988)

**Packaging**

* Drop Python 3.7 support (#26855)
* Support x86 and x64 MSI builds (#26640)

**Resource**

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

**Role**

* `az ad sp create-for-rbac`: Add alias `--json-auth` for `--sdk-auth` (#26572)

**Service Connector**

* `az functionapp connection`: Add new command group to support service connector on Function App (#26825)
* `az spring connection`: Enable new auth types for Spring Boot and Cosmos SQL connection (#26719)

**SQL**

* `az sql mi start/stop/start-stop-schedule`: Add SQL MI manual and scheduled start stop (#26979)

**Storage**

* `az storage container-rm update`: `--default-encryption-scope` and `--deny-encryption-scope-override` should not be specified during updating (#26948)
* Fix #22704: `az storage account create`: `--encryption-key-type-for-queue` and `--encryption-key-type-for-table` no longer remove other settings (#26853)
* Fix #26587: `az storage file upload`: Add `--file-url` to support supplying the url instead of share/file name (#26997)

2.50.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.50.0"
__version__ = "2.51.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.0.0
azure-cli-core==2.50.0
azure-cli-core==2.51.0
azure-cli-telemetry==1.1.0
azure-cli==2.50.0
azure-cli==2.51.0
azure-common==1.1.22
azure-core==1.26.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.0.0
azure-cli-core==2.50.0
azure-cli-core==2.51.0
azure-cli-telemetry==1.1.0
azure-cli==2.50.0
azure-cli==2.51.0
azure-common==1.1.22
azure-core==1.26.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.0.0
azure-cli-core==2.50.0
azure-cli-core==2.51.0
azure-cli-telemetry==1.1.0
azure-cli==2.50.0
azure-cli==2.51.0
azure-common==1.1.22
azure-core==1.26.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.50.0"
VERSION = "2.51.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 399b8ed

Please sign in to comment.