github mochi-mqtt/server v2.2.16

latest releases: v2.6.5, v2.6.4, v2.6.3...
14 months ago

What's Changed

  • WriterSize parameter is incorrectly set by @wind-c in #252
    • Fixes an issue where the WriterSize was being set with the ReaderSize value.
  • Ensure msg doesn't exceed subscription QoS by @thedevop in #253
    • Fixes an issue where publishes to clients weren't being correctly downgraded if the client had a lower QoS on their subscription.
  • Fix websocket reads for packets > 1 buffer size by @ianrose14 in #260
    • Fixes issue #259 in which the websocket listener failed if the packet received was over 2048 bytes.
  • Retain flag should be delivered as false in v3 by @mochi-co in #257
    • Fixes issue #251 in which the retain flag was being sent as false in MQTT v3 when issuing retains on subscribe.
  • Preference Write, Read, Deny filters in ledger by @mochi-co in #262
    • Fixes issue #258 in which ACL deny filters could be triggered before write and read filters.
  • Do not retain messages if retain is not available by @mochi-co in #261
    • Fixes issue #255 in which retain messages off was being advertised to the client but the functionality was not disabled on the server.
  • method UnsubscribeClient's packet add fixedHeader by @kenuestar in #264
    • Fixes an issue where packets being delivered to OnUnsubscribe were not indicated as unsubscribe packets.
  • fix: data-race in badger hook by @gsagula in #266
    • Fixes issue #256 in which data races occured in the badger storage example due to concurrent reads of the system info values.
  • Allow Publish to return custom Ack error responses by @mochi-co in #256
    • Fixes issue #249 in which the OnPublish hook was not able to signal the calling method to return an ack with a custom error. packets.Code errors can now be returned from OnPublish to issue an error ack. Additionally, a packets.CodeSuccessIgnore response has been added, which will accept an incoming publish message and complete any QoS handshake, but will neither forward the incoming message to any subscribers nor retain it.

This is the biggest release in a while, with many excellent contributions! Thank you everyone!

New Contributors

Full Changelog: v2.2.15...v2.2.16

Tests

  • Builds
  • Unit Tests Passing
  • Paho Interoperability Passing

Don't miss a new server release

NewReleases is sending notifications on new releases.