Version 1.18.0 brings:
New features
- Support for MQTT5 subscription identifiers.
- Expose MQTT5 correlation data and response topic in plugin interface.
Fixes
- In async authentication (which requires a plugin to do so), don’t drop packets sent immediately after CONNECT. Most commonly, this means sending CONNECT,SUBSCRIBE without waiting for the CONNACK first now works.
- Close listen sockets on exit before initiating disconnection of all clients. This avoids unclear error messages on clients that reconnect fast.
- Don’t send CONNACK with success code when connection was actually rejected because the username was incorrect in session take-over.
Improvements
- Reduce amount of memory allocations in one of the publish-to-subscriber hot paths.
- Improve packet caching for multiple subscribers receiving the same packet.
- Ensure all clients get sent a disconnect upon server quit. There was a slight chance for conditions were some clients would be skipped before. This is only relevant for MQTT5, which supports server-initiated DISCONNECT packets.
- Some internal code refactoring.