General updates
-
[Breaking Change] Minimum supported Python version bumped from 3.9 to 3.10.
-
Updated
jsonschemadependency to>=4.25,<5. -
Added
aiohttp>=3.9,<4.0as a required dependency to support AMQP over WebSocket transport for event monitoring. -
Removed remaining
uamqpreferences from help text and documentation. -
Replaced deprecated
datetime.utcnow()andcodecs.opencalls with timezone-aware equivalents.
IoT Hub / IoT Central monitoring updates
-
az iot hub monitor-eventsandaz iot central diagnostics monitor-events/validate-messagesnow automatically route traffic through an HTTP proxy when theHTTPS_PROXYorHTTP_PROXYenvironment variable is set, using AMQP over WebSocket transport. -
Added
--transport(--tr) parameter toaz iot hub monitor-events,az iot central diagnostics monitor-events, andaz iot central diagnostics validate-messagesto explicitly select the underlying transport protocol (amqporamqp_ws). Defaults toamqp;amqp_ws(AMQP over WebSocket) is required when routing through an HTTP proxy or when port 5671 is blocked. -
az iot hub monitor-events --loginnow accepts an Event Hub connection string (e.g. the built-in endpoint connection string from the Azure portal) in addition to an IoT Hub connection string.