Releases: swift-server-community/mqtt-nio
Releases · swift-server-community/mqtt-nio
v1.2.2
- Make member variables of
MQTTClient.Configuration
public - Add logging of packet id
- Set initial packet id to be different from one return by broker CONNACK
- Ensure packet id is always non-zero
v1.2.1
- Deal with PUBLISH packets with no payload
- FIx crash with double insert of
ByteToMQTTMessageDecoder
v1.2.0
Breaking changes
MQTTClient.connect
has new parametercleanSession
. Setting this to false will mean the broker stores a record of the session and on reconnection will resume communication based on previous state.MQTTClient.connect
returns whether the server restored a session for this connection.- MQTTClient.unsubscribe takes an array of Strings instead of
MQTTSubscribeInfo
- Set
MQTTClient.connection
tonil
on disconnect - Catch server disconnect
- Fail any tasks in progress if the connection is closed
v1.1.1
- Fix two issues with downloading large payloads
v1.1.0
- Extend support to Swift 5.1 and tvOS
- Always response to a PUBREL with a PUBCOMP
v1.0.0
- Added retry on tasks that time out (including update of publish message dup flag)
- Process QoS2 messages correctly with retries.
- Fixed issue where timed out tasks did not have their handlers removed
- Propogate message serialization errors back to client
v0.4.0
Major version changes
- Added support for NIO Transport services TLS configuration. Added new struct
TSTLSConfiguration
with NIOTS specific attributes. MQTTClient is no longer initialized with aTLSConfiguration
it now takes an enumTLSConfigurationType
which can hold either aTLSConfiguration
or TSTLSConfiguration`.
Patch version changes
- Attach
MQTTClient.identifier
toLogger
inMQTTClient.init
.
v0.3.0
Major version changes
Change public APIs so they take list of parameters instead of the core MQTT types
v0.2.0
Major release changes
- Replaced publish callback with an array of publish listeners which can be added and removed
pingreq
is now calledping
Minor release changes
- Added closeListeners that are notified of when the connection is closed.
Patch release changes
- Moved bootstrap creation and
sendMessage
functions intoMQTTConnection
class
v0.1.0
Initial release
MQTT client based around Swift NIO and FreeRTO coreMQTT C library
Support WebSocket and SSL connections