- Restores the
server.Publish(topic string, payload []byte, retain bool, qos byte) error
method from v1.3.2 as a convenience function which utilizes server.InjectPacket, by @mochi-co for #113 - Refactors Client creation to allow developers to more easily create and use Clients and InlineClients as passing server.ops was difficult and NewClient, NewInlineClient, and newClientStub presented unnecessary code duplication. Use
server.NewClient
instead ofmqtt.NewClient
, by @mochi-co. Many thanks to @chenji1990 for their supportive PR regarding this matter!
Full Changelog: v2.0.3...v2.0.4
Tests
- Builds
- Unit Tests Passing
- Paho Interoperability Passing - V3, V5