github mochi-mqtt/server v2.2.1

latest releases: v2.6.3, v2.6.2, v2.6.1...
15 months ago

What's Changed

  • Add PublishDropped metrics by @thedevop in #167
    • Record statistics about the number of publish packets dropped in the event that a client is too slow to respond (following changes in v2.2.0).
  • Expose dropped publish messages count in sys info by @mochi-co in #170
    • Renamed PublishDropped to MessagesDropped for alignment with MessagesSent and MessagesReceived, which are limited to publish packets, and exposes this information in a new $SYS topic, $SYS/broker/messages/dropped.
  • Fix potential NextPacketID endless loop, expand tests by @mochi-co in #169 per #168
    • Refactors client.NextPacketID to fix a potential edge-case in next packet ID acquisition which could cause an infinite loop. Additionally, replaces some instances of 65535 with math.MaxUint16 and adds an unexported field, client.maximumPacketID to assist with testing (eg. populate 10 messages instead of 65535 in order to generate an overflow in certain unit tests). With thanks to @thedevop for suggestions and reviews.

Full Changelog: v2.2.0...v2.2.1

Tests

  • Builds
  • Unit Tests Passing
  • Paho Interoperability Passing

Don't miss a new server release

NewReleases is sending notifications on new releases.