diff --git a/.github/workflows/ReleaseNotes.md b/.github/workflows/ReleaseNotes.md index 1016e556a..56cc91d47 100644 --- a/.github/workflows/ReleaseNotes.md +++ b/.github/workflows/ReleaseNotes.md @@ -1,13 +1 @@ -* [Core] Optimized packet serialization of PUBACK and PUBREC packets for protocol version 5.0.0 (#1939, thanks to @Y-Sindo). -* [Core] The package inspector is now fully async (#1941). -* [Core] Fixed decoding of DISCONNECT packet with empty body (#1994, thanks to @Y-Sindo). -* [Client] Exposed the _EndPoint_ type to support other endpoint types (like Unix Domain Sockets) in client options (#1919). -* [Client] Fixed support for unix sockets by exposing more options (#1995). -* [Client] Added a dedicated exception when the client is not connected (#1954, thanks to @marcpiulachs). -* [Client] The client will now throw a _MqttClientUnexpectedDisconnectReceivedException_ when publishing a QoS 0 message which leads to a server disconnect (BREAKING CHANGE!, #1974, thanks to @fazho). -* [Client] Exposed the certificate selection event handler in client options (#1984). -* [Server] The server will no longer send _NoMatchingSubscribers_ when the actual subscription was non success (#1965, BREAKING CHANGE!). -* [Server] Fixed broken support for _null_ in _AddServer_ method in ASP.NET integration (#1981). -* [ManagedClient] Added a new event (SubscriptionsChangedAsync) which is fired when a subscription or unsubscription was made (#1894, thanks to @pdufrene). -* [ManagedClient] Fixed race condition when server shuts down while subscribing (#1987, thanks to @marve). -* [TopicTemplate] Added new extension which provides a template engine for topics (#1932, thanks to @simonthum). +* [Client] Remove the obsolete attribute from the _WithConnectionUri_ methods (#1979). diff --git a/Source/MQTTnet/Client/Options/MqttClientOptionsBuilder.cs b/Source/MQTTnet/Client/Options/MqttClientOptionsBuilder.cs index f89f9f2d4..1e04d209f 100644 --- a/Source/MQTTnet/Client/Options/MqttClientOptionsBuilder.cs +++ b/Source/MQTTnet/Client/Options/MqttClientOptionsBuilder.cs @@ -152,7 +152,6 @@ public MqttClientOptionsBuilder WithClientId(string value) return this; } - [Obsolete("Use WithTcpServer(... configure) or WithWebSocketServer(... configure) instead.")] public MqttClientOptionsBuilder WithConnectionUri(Uri uri) { if (uri == null) @@ -196,7 +195,6 @@ public MqttClientOptionsBuilder WithConnectionUri(Uri uri) return this; } - [Obsolete("Use WithTcpServer(... configure) or WithWebSocketServer(... configure) instead.")] public MqttClientOptionsBuilder WithConnectionUri(string uri) { return WithConnectionUri(new Uri(uri, UriKind.Absolute));