diff --git a/src/azure-cli-core/HISTORY.rst b/src/azure-cli-core/HISTORY.rst index e86db53f85f..756e6202f4a 100644 --- a/src/azure-cli-core/HISTORY.rst +++ b/src/azure-cli-core/HISTORY.rst @@ -3,6 +3,12 @@ Release History =============== +2.23.0 +++++++ +* Display allowed values in error message when enum validation fails (#17621) +* Refactor AzCommandGroup (#17387) +* Add a linter rule for `service_name.json` (#17428) + 2.22.1 ++++++ * Minor fixes diff --git a/src/azure-cli-core/azure/cli/core/__init__.py b/src/azure-cli-core/azure/cli/core/__init__.py index 223cf935f37..340bb956251 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.22.1" +__version__ = "2.23.0" import os import sys diff --git a/src/azure-cli-core/setup.py b/src/azure-cli-core/setup.py index 8199683eda1..1bec39e3471 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.22.1" +VERSION = "2.23.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 45aa9a215e4..38f21e75c49 100644 --- a/src/azure-cli/HISTORY.rst +++ b/src/azure-cli/HISTORY.rst @@ -3,6 +3,143 @@ Release History =============== +2.23.0 +++++++ + +**ACR** + +* `az acr check-health`: Add support to verify dns routings to private endpoints (#17746) +* Fix #17618: Update credential add/update handling for tasks created using --auth-mode (#17715) + +**AKS** + +* `az aks update`: Add `--windows-admin-password` to support updating Windows password (#17684) +* `az aks update`: Support updating from SPN cluster to MSI cluster. (#17902) +* `az aks create`: Add `--enable-encryption-at-host` parameter (#17813) + +**App Service** + +* [BREAKING CHANGE] Update websites SDK to the latest version (azure-mgmt-web==2.0.0) & Adopt track2 SDK (#17146) +* [BREAKING CHANGE] Rename `az staticwebapp browse` to `az staticwebapp show` (#17870) +* Add option of sku for `az staticwebapp create --sku` (#17870) +* Add command `az staticwebapp update` (#17870) +* `az webapp/functionapp config access-restriction add/remove`: Support for Service Tag, Http headers and multi-source rules. (#17687) + +**ARM** + +* `az bicep`: Replace datetime APIs that are not available in Python 3.6 (#17675) +* `az deployment group create`: Fix the compatibility issue of api-version for parameter `--template-specs` (#17896) + +**Backup** + +* `az backup vault create`: Add tags as an optional argument (#17735) +* Make AFS configure backup flow idempotent (#17839) + +**CDN** + +* `az cdn endpoint rule add`: Fix delivery rule creation for non-Microsoft SKU (#17822) + +**Compute** + +* Extended location for Compute RP (#17522) +* `az sig image-version create`: Support creating from a VHD (#16371) +* `az vm create --count`: Support vnet and subnet configuration (#17660) +* `az vmss extension upgrade`: Fix a bug (#17711) +* Add error message for `vm identity assign` (#17685) +* Zone-redundant storage (ZRS) managed disks (#17754) +* `az disk create`: Trusted launch (#17775) +* `az disk create`: Hibernation (#17775) +* Fix a compatibility issue of old API version (#17906) +* `az sig image version create`: Support data disk VHDs (#17706) + +**Feedback** + +* Do not minify feedback issue body (#17353) + +**FunctionApp** + +* Fix issue with zip deploy where local time was provided but UTC was expected (#17722) +* Update stacks api json to add PowerShell on Linux in Functions (#17678) + +**HDInsight** + +* Add Incoming BREAKING CHANGE for removing default value of `--workernode-size` and `--headnode-size` (#17862) + +**Key Vault** + +* [BREAKING CHANGE] Support soft-delete feature for managed-HSM. `keyvault delete --hsm-name` will perform soft delete on a MHSM. (#17834) + +**Marketplace Ordering** + +* New command group `az term` to accept/show terms (#17686) + +**Misc.** + +* Define theme for Cloud Shell (#17283) + +**Monitor** + +* New command `az monitor metrics list-namespaces` (#17472) + +**Network** + +* [BREAKING CHANGE] az network dns record-set a show: Property `arecords` in output will be changed to `aRecords`. (#17787) +* New command `az network express-route list-route-tables-summary`. (#17450) +* New command `az network express-route peering get-stats`. (#17450) +* New command `az network express-route peering connection list`. (#17450) +* `az network lb create`: Add new parameter `--edge-zone` (#17623) +* `az network nic create`: Add new parameter `--edge-zone` (#17623) +* `az network private-endpoint create`: Add new parameter `--edge-zone` (#17623) +* `az network private-link-service create`: Add new parameter `--edge-zone` (#17623) +* `az network public-ip create`: Add new parameter `--edge-zone` (#17623) +* `az network public-ip prefix create`: Add new parameter `--edge-zone` (#17623) +* `az network vnet create`: Add new parameter `--edge-zone` (#17623) +* New Command `az network lb list-nic` (#17729) +* `az network application-gateway show-backend-health`: support probe operation arguments. (#17753) +* `az network vpn-connection list`: support parameter `--vnet-gateway`. (#17664) +* New command `az network vnet-gateway disconnect-vpn-connections`. (#17664) +* New command `az network vnet-gateway vpn-client show-health`. (#17664) +* New command `az network vnet-gateway vpn-client ipsec-policy show`. (#17664) +* New command `az network vnet-gateway vpn-client ipsec-policy set`. (#17664) +* New command `az network vnet-gateway packet-capture start`. (#17664) +* New command `az network vnet-gateway packet-capture stop`. (#17664) +* New command `az network vnet-gateway show-supported-devices`. (#17664) +* New command `az network vpn-connection list-ike-sas`. (#17664) +* New command `az network vpn-connection packet-capture start`. (#17664) +* New command `az network vpn-connection packet-capture stop`. (#17664) +* New command `az network vpn-connection show-device-config-script`. (#17664) +* `az network private-link-resource list`: support more providers for `--type` (#17731) + +**Packaging** + +* Bump python to `3.8.9` in docker image (#17840) +* Bump bundled python to `3.8.9` in MSI. (#17816) + +**Role** + +* `az role assignment create/update`: Auto complete `assignee_principal_type` (#17669) + +**SQL** + +* `az sql db create`: Add --ha-replicas argument (#17636) +* `az sql db replica create`: Add --ha-replicas argument (#17636) +* Allow short mw policy names for mi (#17703) + +**SQL VM** + +* Make SqlServerLicenseType as optional (#17766) + +**Storage** + +* Fix #16272 & #16853: Refine error message (#17630) +* `az storage account create`: Add edge zone support (#17528) +* Support user assigned identity for storage account (#16613) +* `az storage account create/update`: Support sas&key policy (#17815) + +**Synapse** + +* `az synapse notebook create`: Create a notebook (#17867) + 2.22.1 ++++++ diff --git a/src/azure-cli/azure/cli/__main__.py b/src/azure-cli/azure/cli/__main__.py index 4d9437ce393..698732f07ae 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.22.1" +__version__ = "2.23.0" # A workaround for https://bugs.python.org/issue32502 (https://github.com/Azure/azure-cli/issues/5184) diff --git a/src/azure-cli/azure/cli/command_modules/appservice/_params.py b/src/azure-cli/azure/cli/command_modules/appservice/_params.py index 65fe9378372..401f2110609 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/_params.py +++ b/src/azure-cli/azure/cli/command_modules/appservice/_params.py @@ -179,14 +179,14 @@ def load_arguments(self, _): c.argument('https_only', help="Redirect all traffic made to an app using HTTP to HTTPS.", arg_type=get_three_state_flag(return_label=True)) c.argument('force_dns_registration', help="If true, web app hostname is force registered with DNS", - arg_type=get_three_state_flag(return_label=True), deprecate_info=c.deprecate(expiration='2.23.0')) + arg_type=get_three_state_flag(return_label=True), deprecate_info=c.deprecate(expiration='2.24.0')) c.argument('skip_custom_domain_verification', help="If true, custom (non *.azurewebsites.net) domains associated with web app are not verified", - arg_type=get_three_state_flag(return_label=True), deprecate_info=c.deprecate(expiration='2.23.0')) + arg_type=get_three_state_flag(return_label=True), deprecate_info=c.deprecate(expiration='2.24.0')) c.argument('ttl_in_seconds', help="Time to live in seconds for web app's default domain name", - arg_type=get_three_state_flag(return_label=True), deprecate_info=c.deprecate(expiration='2.23.0')) + arg_type=get_three_state_flag(return_label=True), deprecate_info=c.deprecate(expiration='2.24.0')) c.argument('skip_dns_registration', help="If true web app hostname is not registered with DNS on creation", - arg_type=get_three_state_flag(return_label=True), deprecate_info=c.deprecate(expiration='2.23.0')) + arg_type=get_three_state_flag(return_label=True), deprecate_info=c.deprecate(expiration='2.24.0')) with self.argument_context('webapp browse') as c: c.argument('logs', options_list=['--logs', '-l'], action='store_true', @@ -196,7 +196,7 @@ def load_arguments(self, _): c.argument('keep_empty_plan', action='store_true', help='keep empty app service plan') c.argument('keep_metrics', action='store_true', help='keep app metrics') c.argument('keep_dns_registration', action='store_true', help='keep DNS registration', - deprecate_info=c.deprecate(expiration='2.23.0')) + deprecate_info=c.deprecate(expiration='2.24.0')) with self.argument_context('webapp webjob') as c: c.argument('webjob_name', help='The name of the webjob', options_list=['--webjob-name', '-w']) diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index cb2b6b7ca98..e5b3a8653e2 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.22.1 +azure-cli-core==2.23.0 azure-cli-telemetry==1.0.6 -azure-cli==2.22.1 +azure-cli==2.23.0 azure-common==1.1.22 azure-core==1.13.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 7849f51bf31..4710ec63a43 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.22.1 +azure-cli-core==2.23.0 azure-cli-telemetry==1.0.6 -azure-cli==2.22.1 +azure-cli==2.23.0 azure-common==1.1.22 azure-core==1.13.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 b89e3725aa4..354b28f333a 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.22.1 +azure-cli-core==2.23.0 azure-cli-telemetry==1.0.6 -azure-cli==2.22.1 +azure-cli==2.23.0 azure-common==1.1.22 azure-core==1.13.0 azure-cosmos==3.2.0 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 9e1c31488db..3904dc35460 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.22.1" +VERSION = "2.23.0" # If we have source, validate that our version numbers match # This should prevent uploading releases with mismatched versions. try: