Skip to content

Commit

Permalink
Minor regression fix (v8.0.1) [NugetDeploy]
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss committed Dec 18, 2023
1 parent 59433bd commit 59b0414
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Byond.TopicSender/Byond.TopicSender.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>8.0.0</Version>
<Version>8.0.1</Version>
<Authors>Jordan Dominion</Authors>
<Description>Library for asynchronously sending valid topic strings to /world/Topic() in BYOND servers.</Description>
<PackageProjectUrl>https://Cyberboss.github.io/Byond.TopicSender</PackageProjectUrl>
<RepositoryUrl>https://github.com/Cyberboss/Byond.TopicSender</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<Copyright>Copyright (c) Jordan Brown 2018</Copyright>
<PackageReleaseNotes>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.</PackageReleaseNotes>
<PackageReleaseNotes>Fixed regression removing default `null` for `TopicClient`'s `logger` constructor parameter.</PackageReleaseNotes>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageTags>byond topic packet sender</PackageTags>
<IncludeSymbols>true</IncludeSymbols>
Expand Down
2 changes: 1 addition & 1 deletion Byond.TopicSender/TopicClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public sealed class TopicClient : ITopicClient
/// </summary>
/// <param name="socketParameters">The <see cref="SocketParameters"/> to use.</param>
/// <param name="logger">The optional <see cref="ILogger"/> to use.</param>
public TopicClient(SocketParameters socketParameters, ILogger? logger)
public TopicClient(SocketParameters socketParameters, ILogger? logger = null)
{
this.socketParameters = socketParameters;
this.logger = logger ?? new NullLogger<TopicClient>();
Expand Down

0 comments on commit 59b0414

Please sign in to comment.