Skip to content

7.0.0

Choose a tag to compare

@redboltz redboltz released this 19 Jun 02:35
· 245 commits to main since this release
8f63c48

Breaking Changes

  • client::async_recv() CompletionHandler signature is updated to void(error_code, packet_variant). #281
    • packet_variant has one of std::monostate, [v3_1_1|v5]::publish_packet, [v3_1_1|v5]::disconnect_packet, or v5::auth_packet.
  • Renamed the typename from pubres_t to pubres_type for consistency. #280
  • Re-designed error_code handling to align with Boost.Asio's approach. #266, #270, #271, #272, #273, #299
    • All async functions have the Completion Handler signature as void(async_mqtt::error_code, ...), except void().
      • This ensures compatibility with other Boost.Asio based libraries, and Boost.Asio itself.

Other Updates

  • Added footprint example. #304
  • Added async_auth() to client. #303
  • Added reconnect code to examples. #302
  • Fixed dangling reference on underlying_handshake. #301
  • Added bulk read functionality. #300
  • Refined CI. #295
  • Fixed async_acquire_unique_packet_id_wait_until() cancel support. #292
  • Refined packet reading. Fixed Header and the first byte of Remaining Length are read all at once. #291
  • Fixed set_pingreq_send_interval_ms() value 0 treatment. #290
  • Fixed non-existent topic alias treatment. #289
  • Fixed connack packet sending condition on error. #288
  • Fixed async_recv after cancel behaving invalidly. #287
  • Fixed cancel treatment. #286
  • Added using recycling allocator option for the broker. #283
  • Added separate compilation mode support. #282
    • To enable separate compilation mode, define ASYNC_MQTT_SEPARATE_COMPILATION.
  • Added bind_cancellation_slot test. #268
  • Supported PINGREQ overriding by ServerKeepAlive. #271
  • Refined tests. #269, #274, #275, #287, #288, #289, #290, #296, #297
  • Refined documents. #276, #292, #305, #306, #307
  • Refined tools (bench). #278
  • Added endpoint getter to client. #279