dotnet / MQTTnet

MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.
MIT License
4.41k stars 1.06k forks source link

MqttConnectReturnCode is deprecated, use MqttConnectReasonCode instead. #681

Closed SeppPenner closed 5 years ago

SeppPenner commented 5 years ago

Hi @chkr1011: In which version was this changed?

https://github.com/chkr1011/MQTTnet/wiki/Upgrading-guide

SeppPenner commented 5 years ago

Ah, found it: Migrated the result of connection validations to ReasonCode (MQTTv5) instead of ReturnCode (MQTTv3 only) (BREAKING CHANGE!) https://github.com/chkr1011/MQTTnet/releases/tag/v3.0.3