diff --git a/HISTORY.rst b/HISTORY.rst index 66088bb3a..7e3022f86 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,14 @@ Release History =============== +0.12.1 ++++++++++++++++ + +**IoT DPS updates** + +* Resolves issue where usage of `--login` with connection string still required `az login`. + + 0.12.0 +++++++++++++++ @@ -16,7 +24,7 @@ Release History - Destination (az iot central export destination) - Export (az iot central export) -** General Updates ** +**General Updates** * The IoT extension officially supports Python 3.10. diff --git a/azext_iot/__init__.py b/azext_iot/__init__.py index f724bb485..b4c43d87b 100644 --- a/azext_iot/__init__.py +++ b/azext_iot/__init__.py @@ -6,17 +6,13 @@ from azure.cli.core import AzCommandsLoader from azure.cli.core.commands import CliCommandType -from azext_iot._factory import iot_service_provisioning_factory from azext_iot.constants import VERSION import azext_iot._help # noqa: F401 from azext_iot.product.command_map import load_product_commands iothub_ops = CliCommandType(operations_tmpl="azext_iot.operations.hub#{}") -iotdps_ops = CliCommandType( - operations_tmpl="azext_iot.operations.dps#{}", - client_factory=iot_service_provisioning_factory, -) +iotdps_ops = CliCommandType(operations_tmpl="azext_iot.operations.dps#{}") class IoTExtCommandsLoader(AzCommandsLoader): diff --git a/azext_iot/constants.py b/azext_iot/constants.py index 36c741627..82d065789 100644 --- a/azext_iot/constants.py +++ b/azext_iot/constants.py @@ -7,7 +7,7 @@ import os -VERSION = "0.12.0" +VERSION = "0.12.1" EXTENSION_NAME = "azure-iot" EXTENSION_ROOT = os.path.dirname(os.path.abspath(__file__)) EXTENSION_CONFIG_ROOT_KEY = "iotext"