Skip to content

0.23

Latest

Choose a tag to compare

@MattBrittan MattBrittan released this 07 Sep 00:19

The is a minor release that incorporates fixes/improvements made over the last 10 months. Dependencies have been updated, and Go version 1.24 is now required (matching the "Go release policy").

I don't believe there are any breaking changes. Keepalive behaviour has been changed so that a PING is sent unless a packet has been sent AND received within the keepalive period (to address potential issues where a client is sending constantly, but never receives anything).

Note that one of the fixes addresses a potential security issue where data from one field (e.g. topic, properties) may leak into another (e.g. message body). This issue was raised against paho.mqtt.golang (issue 730) but the same code existed in this library. Thanks to Paul Gerste (Sonar) for reporting the original issue.

Thanks to those who have provided fixes/enhancements included in this release!.

What's Changed

  • Comments and unused consts by @MattBrittan in #275
  • Topicaliases extension - Fix the topic disappear when registering a new topic alias in the TAHandler by @shirou in #272
  • Topicaliases extension - Add ResetAll() in topicaliases to prevent error on reconnection by @shirou in #277
  • Add OnConnectionDown callback in autopaho by @thedevop in #281
  • Update Go version and dependencies by @MattBrittan in #290
  • Testing - Potential data race in TestServer by @MattBrittan in #291
  • Ping when no packets received within keep alive period by @MattBrittan in #292
  • Prevent blocking in responseHandler() after context cancel by @tinytux in #293
  • add constants for RetainHandling subscribe option by @agebhar1 in #299
  • build_rpc_cm: update Makefile path issue by @hiproz in #296
  • Example - fix autopaho Docker example by @agebhar1 in #300
  • Fix potential for packet corruption with very long strings/binary data by @MattBrittan in #305
  • fix folder existence check in autopaho file queue by @alpine-ibex in #309
  • Filestore should attempt to create folder if it does not exist by @MattBrittan in #306
  • drop redundant stat before MkdirAll by @alpine-ibex in #310
  • Fix AuthResponse success value being set to true on error by @nickajacks1 in #315
  • Fix OnServerDisconnect not being called when packet has no properties by @nickajacks1 in #312

New Contributors

Full Changelog: v0.22.0...v0.23.0