Releases
6.0.0
Breaking Changes
Added async_
prefix to all async functions to support default completion token. #238 , #242
Some of async/sync function overload had been conflicted. e.g.) acquire_unique_packet_id().
Unified naming rule of types to *_type
. #232
Refined type of PacketIdentifier. Now packet_id_type
is the type. #231
Moved include/async_mqtt/broker/.hpp to tool/include/broker/ .hpp #224
Those are for broker application that is used for system testing.
Re-organized directory structure with respect to boost libraries. #211 , #229 , #230 , #234
It affects the users only if include the specific header file directly.
Re-designed strand handling. #206
Template parameter Strand is removed. Users can pass strand wrapped executor for multi-threading.
Associated properties of the completion handler are correctly propagated.
Removed buffer from packet interface except the interface for advanced user. #195
For example, create PUBLISH packet using "topic1", and get the field as string by topic()
.
No allocate_buffer("topic1")
is required.
Organized predefined headers. #194
For mqtt, include async_mqtt/all.hpp
. In addition,
For mqtts, include async_mqtt/predefined_layer/mqtts.hpp
For ws, include async_mqtt/predefined_layer/ws.hpp
For wss, include async_mqtt/predefined_layer/wss.hpp
Other Updates
Removed all boost::asio::bind_executor() from the library code. #247 , #250
Client supported flexible parameters. #241 , #244
You can pass not only packet instance but also the parameters of packet's constructor directly to the packet sending member functions.
Supported default completion token. #238 , #240
Refined CI. #228
Refined header dependency checking. #225
Removed the inclusion of the Boost.Beast detail directory. #223
Used bound allocator to allocate buffer for packet on receive. #222 , #243
Added convenient handshaking function for underlying layers. #216
TCP, TLS, Websocket, Websocket on TLS are handshaked by one function call.
Refined documents. #220 , #222 , #232 , #233 , #234 , #235 , #243 , #252
Refined examples. #214 , #220 , #250
You can’t perform that action at this time.