v0.12.0: Better Reconnection Event Handling
github-actions
released this
07 May 08:37
·
54 commits
to refs/heads/main
since this release
This release improves the AfterDisconnect
event management.
Note
With this release, if the the client is disconnected, calling PublishAsync
, SubscribeAsync
or UnsubscribeAsync
while disconnected will now raise HiveMQClientException
.
If needed, you can use client.IsConnected()
to validate the connection before calling these methods.
This should allow for better state resilience in your MQTT applications while reconnections are happening.
What’s Changed
🔧 Fixes & Refactoring
- Refactor: Handling Reconnections (#153) @pglombardo
📝 Documentation
- Update Examples to .NET 8.0 (#155) @pglombardo
- New Reference Documentation (#154) @pglombardo
👥 List of contributors
NuGet Package
v0.12.0 is available on NuGet:
https://www.nuget.org/packages/HiveMQtt/0.12.0