diff --git a/Byond.TopicSender/Byond.TopicSender.csproj b/Byond.TopicSender/Byond.TopicSender.csproj index 549bc6b..6f7f047 100644 --- a/Byond.TopicSender/Byond.TopicSender.csproj +++ b/Byond.TopicSender/Byond.TopicSender.csproj @@ -3,14 +3,14 @@ net6.0;net7.0;net8.0 true - 8.0.0 + 8.0.1 Jordan Dominion Library for asynchronously sending valid topic strings to /world/Topic() in BYOND servers. https://Cyberboss.github.io/Byond.TopicSender https://github.com/Cyberboss/Byond.TopicSender Git Copyright (c) Jordan Brown 2018 - Fixed potential double data reads occurring. Switched to using ValueTask return values. Switched to using records ans d structs where appropriate. Updated Microsoft packages to version 8. + Fixed regression removing default `null` for `TopicClient`'s `logger` constructor parameter. LICENSE byond topic packet sender true diff --git a/Byond.TopicSender/TopicClient.cs b/Byond.TopicSender/TopicClient.cs index ac0806c..49d0ae5 100644 --- a/Byond.TopicSender/TopicClient.cs +++ b/Byond.TopicSender/TopicClient.cs @@ -33,7 +33,7 @@ public sealed class TopicClient : ITopicClient /// /// The to use. /// The optional to use. - public TopicClient(SocketParameters socketParameters, ILogger? logger) + public TopicClient(SocketParameters socketParameters, ILogger? logger = null) { this.socketParameters = socketParameters; this.logger = logger ?? new NullLogger();