All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added
MqttOptions::set_request_modifier
for setting a handler for modifying a websocket request before sending it.
- Added
outgoing_inflight_upper_limit
to MQTT5MqttOptions
. This sets the upper bound for the number of outgoing publish messages (#615) - Added support for HTTP(s) proxy (#608)
- Added
proxy
feature gate - Refactored
eventloop::network_connect
to allow setting proxy - Added proxy options to
MqttOptions
- Added
- Update
rustls
to0.21
andtokio-rustls
to0.24
(#606)- Adds support for TLS certificates containing IP addresses
- Adds support for RFC8446 C.4 client tracking prevention
MqttState::new
takesmax_outgoing_packet_size
which was set inMqttOptions
but not used (#622)
- Enforce
max_outgoing_packet_size
on v4 client (#622)
- Added support for MQTT5 features to v5 client
- Refactored v5::mqttbytes to use associated functions & include properties
- Added new API's on v5 client for properties, eg
publish_with_props
etc - Refactored
MqttOptions
to useConnectProperties
for some fields - Other minor changes for MQTT5
- Remove
Box
onEvent::Incoming
- Removed dependency on pollster
- Fixed v5::mqttbytes
Connect
packet returning wrong size onwrite()
- Added tests for packet length for all v5 packets
NetworkOptions
added to provide a way to configure low level network configurations (#545)
options
inEventloop
now is calledmqtt_options
(#545)ConnectionError
now has specific variant for type ofTimeout
,FlushTimeout
andNetworkTimeout
instead of genericTimeout
for both (#545)conn_timeout
is moved intoNetworkOptions
(#545)
Old changelog entries can be found at CHANGELOG.md