Skip to content

v0.12.0

Compare
Choose a tag to compare
@at-wat at-wat released this 16 Feb 02:37
· 87 commits to master since this release
70ce0b0

This release contains some API-breaking changes!

API changes

  • Dial() returns *BaseClient instead of ClientCloser
  • Second argument of RetryClient.SetClient() requires *BaseClient instead of ClientCloser
  • Client.Subscribe() may return resultant subscription information as a first return value
    • If caller requests QoS2 subscription but server degraded it to QoS1, return value will indicate it.

Bug fixes

  • Publishing QoS2 message is fixed to never cause message duplication even if the client is reconnected and retried
  • Order of Publish/Subscribe/Unsubscribe is guaranteed on reconnect