diff --git a/scripts/curl_install_pypi/install b/scripts/curl_install_pypi/install index 65a00b82290..6357b8cbd5a 100755 --- a/scripts/curl_install_pypi/install +++ b/scripts/curl_install_pypi/install @@ -9,7 +9,7 @@ # Bash script to install the Azure CLI # INSTALL_SCRIPT_URL="https://azurecliprod.blob.core.windows.net/install.py" -INSTALL_SCRIPT_SHA256=1b2f3c77c9bc4b0027d930c5dd39abe9ef4a72eea198289bcdaa2f68e5650166 +INSTALL_SCRIPT_SHA256=c5107b96cfe881c46c8d8d9f401fcf931aab2b769a20fda58626b6e6e907219b _TTY=/dev/tty install_script=$(mktemp -t azure_cli_install_tmp_XXXXXX) || exit diff --git a/src/azure-cli-core/HISTORY.rst b/src/azure-cli-core/HISTORY.rst index bef85909a2e..ad974e7ab11 100644 --- a/src/azure-cli-core/HISTORY.rst +++ b/src/azure-cli-core/HISTORY.rst @@ -3,6 +3,13 @@ Release History =============== +2.22.0 +++++++ +* Add spinner progress bar for long running operation (#17262) +* Add service_name.json (#17159) +* Provide recommendation for JSON parsing error (#17445) +* Add workaround for cross-tenant authentication with Track 2 SDKs (#16797) + 2.21.0 ++++++ * Unify ADAL and MSAL error handler (#17072) diff --git a/src/azure-cli-core/azure/cli/core/__init__.py b/src/azure-cli-core/azure/cli/core/__init__.py index a605583991b..d8ca1f85749 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.21.0" +__version__ = "2.22.0" import os import sys diff --git a/src/azure-cli-core/setup.py b/src/azure-cli-core/setup.py index 9725b78b92f..d769c3b22fc 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.21.0" +VERSION = "2.22.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 0cc47f9f761..4dad5a199ff 100644 --- a/src/azure-cli/HISTORY.rst +++ b/src/azure-cli/HISTORY.rst @@ -3,6 +3,123 @@ Release History =============== +2.22.0 +++++++ + +**ACR** + +* [BREAKING CHANGE] `az acr connected-registry install info`: Replace keys ACR_REGISTRY_NAME, ACR_SYNC_TOKEN_NAME, ACR_SYNC_TOKEN_PASSWORD, ACR_PARENT_GATEWAY_ENDPOINT, and ACR_PARENT_PROTOCOL with a new connected string key, ACR_REGISTRY_CONNECTION_STRING. (#17152) +* [BREAKING CHANGE] `az acr connected-registry install renew-credentials`: Replace keys ACR_REGISTRY_NAME, ACR_SYNC_TOKEN_NAME, ACR_SYNC_TOKEN_PASSWORD, ACR_PARENT_GATEWAY_ENDPOINT, and ACR_PARENT_PROTOCOL with a new connected string key, ACR_REGISTRY_CONNECTION_STRING. (#17152) +* `az acr connected-registry create`: Verify before the creation of the token and sync scope map that all ancestors are active. (#17566) +* `az acr connected-registry create`: Add the repository and gateway permissions required for creation to all the ancestors of the new connected registry if needed prior to the connected registry creation. (#17566) +* `az acr connected-registry delete`: Remove the gateway permissions of the deleted resources from all its ancestors' sync scope maps. (#17566) +* `az acr connected-registry repo`: New command to add repository permissions to a connected registry and all its ancestors' sync scope maps, and remove repository permissions from the connected registry and all its descendants' sync scope maps (#17566) + +**AKS** + +* `az aks create`: Add support for `--private-dns-zone` and `--fqdn-subdomain` feature (#17430) + +**App Config** + +* Configure max line width for YAML parser to stop wrapping output (#17401) +* Fix bug in print preview of restore command (#17344) + +**App Service** + +* Fix #17219: Fix ssl bind bug (#17479) +* Remove preview flag for Python 3.9 in create function app command (#17546) +* Bugfix: Handle if only single publish profile is returned (#17495) +* Fix #16203: az webapp log tail supports webapps running on Linix. (#17294) + +**ARM** + +* [BREAKING CHANGE] `az bicep build`: Change the parameter `--files` to `--file` (#17547) +* [BREAKING CHANGE] `az bicep decompile`: Change the parameter `--files` to `--file` (#17547) +* Fix #17379: bicep auto install results in invalid json output from deployment (#17380) +* `az bicep build`: Add a parameter `--outdir` for specifying the output directory (#17547) +* `az bicep build`: Add a parameter `--outfile` for specifying the output file path (#17547) +* Fix an issue where checking version upgrade for Bicep CLI throws exception if GitHub API rate limit is hit (#17547) +* `az policy exemption`: Add new commands to support policy exemption (#17565) + +**Backup** + +* Fix #14776: Fix `--force` parameter functionality for `az backup vault delete` command (#16957) +* Fix on demand backup (#17367) +* `az backup protectable-item list`: Add optional parameter `--backup-management-type` (#17414) +* Fix policy create with rgNamePrefix and rgNameSuffix (#17571) +* `az backup protectable-item list`: Add `--server-name` as an optional argument (#17614) + +**Compute** + +* `az ssh vm`: Support VM SSH with Service Principal (#17554) +* Add VMSS Rolling Upgrade opt (#17580) +* New command: `vm install-patches` (#17549) +* Disk encryption set: Add `--enable-auto-key-rotation` (#17577) + +**Container** + +* Fix #16499: `az container create`: Fix handling of return value from network_profiles.create_or_update (#17486) + +**Cosmos DB** + +* Support for managed service identity & default identity (#17583) + +**EventGrid** + +* `az eventgrid system-topic create/update`: Add MSI Support (#17361) +* `az eventgrid [partner topic | system-topic] event-subscription`: Add support for StorageQueueMessageTTL, AdvancedFilters, EnableAdvancedFilteringOnArrays (#17440) +* `az eventgrid [partner topic | system-topic] event-subscription`: Add support for delivery attribute (#17496) +* `az eventgrid topic create`: Add support for creating topic for azure or azurearc (#17496) + +**Interactive** + +* Fix #16931: Fix `KeyError` in `az interactive --update` (#17389) + +**NetAppFiles** + +* `az netappfiles account ad add`: Optional parameter added named allow-local-ldap-users (#17370) +* `az netappfiles volume create`: Optional parameter added named ldap-enabled (#17370) +* `az netappfiles volume backup status show`: Operation added (#17370) +* Update backup tests (#17492) + +**Network** + +* `az network vnet-gateway`: `--vpn-auth-type` allow multi value (#17505) + +**Packaging** + +* [BREAKING CHANGE] RPM installed az now uses `python3` instead of hard-coded `/usr/bin/python3`. (#17491) + +**RDBMS** + +* Allow DB server private access from different subscription (#17502) +* Modify server create with private network, fix restore time bug (#17570) + +**Search** + +* `az search service create`: Add async (--no-wait) options. (#17446) +* `az search service update`: Add async (--no-wait) options. (#17446) +* `az search shared-private-link-resource create`: Add async (--no-wait) options. (#17446) +* `az search shared-private-link-resource update`: Add async (--no-wait) options. (#17446) + +**Service Fabric** + +* Add managed application cli commands (#17404) + +**Storage** + +* `az storage fs directory upload/download`: Support adls gen2 file system directory upload&download (#17292) +* `az storage fs file list`: Support --show-next-marker (#17408) +* `az storage share-rm`: Support create/show/delete snapshots (#17449) + +**Synapse** + +* [BREAKING CHANGE] `az synapse role assignment create`: Role names at old version are not allowed, Sql Admin, Apache Spark Admin, Workspace Admin (#17476) +* [BREAKING CHANGE] `az synapse role assignment create`: When --assignee argument can't uniquely determine the principal object, the command will raise error instead of adding a role assignment for the uncertain principal object. (#17476) +* `az synapse role scope list`: List all scopes synapse supports. (#17476) +* `az synapse role assignment create/list/delete`: Add --scope/--item-type/--item arguments to support manage role assignments based on scope. (#17476) +* `az synapse role assignment create/list/delete`: Add --assignee-object-id argument, it will bypass Graph API and uniquely determine principal object instead of deducing principal object using --assignee argument. (#17476) + 2.21.0 ++++++ diff --git a/src/azure-cli/azure/cli/__main__.py b/src/azure-cli/azure/cli/__main__.py index 36ccb5d9d55..7e315c4456e 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.21.0" +__version__ = "2.22.0" # A workaround for https://bugs.python.org/issue32502 (https://github.com/Azure/azure-cli/issues/5184) diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index 10d4835602c..d20acd6b23b 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -5,9 +5,9 @@ argcomplete==1.11.1 asn1crypto==0.24.0 azure-appconfiguration==1.1.1 azure-batch==10.0.0 -azure-cli-core==2.21.0 +azure-cli-core==2.22.0 azure-cli-telemetry==1.0.6 -azure-cli==2.21.0 +azure-cli==2.22.0 azure-common==1.1.22 azure-core==1.10.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 10d4835602c..d20acd6b23b 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -5,9 +5,9 @@ argcomplete==1.11.1 asn1crypto==0.24.0 azure-appconfiguration==1.1.1 azure-batch==10.0.0 -azure-cli-core==2.21.0 +azure-cli-core==2.22.0 azure-cli-telemetry==1.0.6 -azure-cli==2.21.0 +azure-cli==2.22.0 azure-common==1.1.22 azure-core==1.10.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 7c95f3b6e7b..981e8487570 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -5,9 +5,9 @@ argcomplete==1.11.1 asn1crypto==0.24.0 azure-appconfiguration==1.1.1 azure-batch==10.0.0 -azure-cli-core==2.21.0 +azure-cli-core==2.22.0 azure-cli-telemetry==1.0.6 -azure-cli==2.21.0 +azure-cli==2.22.0 azure-common==1.1.22 azure-core==1.10.0 azure-cosmos==3.2.0 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 4f075dd03d3..9fb6dd6a718 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -17,7 +17,7 @@ logger.warn("Wheel is not available, disabling bdist_wheel hook") cmdclass = {} -VERSION = "2.21.0" +VERSION = "2.22.0" # If we have source, validate that our version numbers match # This should prevent uploading releases with mismatched versions. try: