Version 1.0.3 is the final release of Async.MQTT5. Future versions will be released under the Boost.MQTT5 name, with the boost::mqtt5 namespace and corresponding include paths. The async_mqtt5 namespace and paths will no longer be used in subsequent releases.
This version includes the following changes:
General changes
- Added Clang 16-18, address, and UB sanitiser builds to CI
Library changes
- The
mqtt_client
can now establish IPv6 connections with Brokers. - Boost.Beast is an optional dependency and is only required when the Client establishes a connection over WebSocket.
- When using WebSocket connections, users must now explicitly include
async_mqtt5/websocket.hpp
.
- When using WebSocket connections, users must now explicitly include
- Lifted the requirement that all
mqtt_client::async_xxx
completion handlers must be bound to the same executor. - Removed thread mutex from
async_mutex
. - Reworked examples to accept command line parameters.
- Added logging support. The
mqtt_client
now accepts a third template argument,LoggerType
, that can be used to log events within the Client (such as connection failures and disconnections).- A basic logger, logger is provided as a LoggerType implementation that logs messages to the
stderr
.
- A basic logger, logger is provided as a LoggerType implementation that logs messages to the
Documentation changes
- Implemented documentation changes regarding
README.md
and the Getting Started chapter.
Full Changelog: v1.0.2...v1.0.3