net-mqtt v0.7.0.0 Release Notes
-
ConnACKFlags
now has aSessionReuse
type which makes it very clear whether the session is resuming. I was affected by the boolean blindness of the previous variant myself several times.Connection
_properties
is now called_connProperties
. I developed 📦 a separatenet-mqtt-lens
package that provides a lens into all properties of all types that have properties, but a bit more consistency here is good.QoS
now has anOrd
instance.A new
PktID
type alias makes it clear whichWord16
values were meant to represent a packet ID.There are fewer threads in publish handling in both directions. This mostly just simplified things, but it also helped prevent a few races when a lot of values arrived at the same time.