Skip to content

v1.2.0

Choose a tag to compare

@adam-fowler adam-fowler released this 12 Dec 07:58
· 143 commits to main since this release

Breaking changes

  • MQTTClient.connect has new parameter cleanSession. 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 to nil on disconnect
  • Catch server disconnect
  • Fail any tasks in progress if the connection is closed