Skip to content

v0.12.0: Better Reconnection Event Handling

Compare
Choose a tag to compare
@github-actions github-actions released this 07 May 08:37
· 54 commits to refs/heads/main since this release
8bbb3fe

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

📝 Documentation

👥 List of contributors

@pglombardo

NuGet Package

v0.12.0 is available on NuGet:
https://www.nuget.org/packages/HiveMQtt/0.12.0