v0.12.0
This release contains some API-breaking changes!
API changes
Dial()
returns*BaseClient
instead ofClientCloser
- Second argument of
RetryClient.SetClient()
requires*BaseClient
instead ofClientCloser
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