Update to 1.3.1

This commit is contained in:
Chris Bell 2025-02-15 10:40:59 -06:00
parent 15b916a52a
commit bcd9fd6e2f
5 changed files with 21 additions and 5 deletions

View File

@ -15,4 +15,8 @@
<Compile Remove="obj\**\*.AssemblyAttributes.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="src\bin\Release\net9.0\" />
</ItemGroup>
</Project>

View File

@ -161,7 +161,7 @@ public static class COGWHEEL
{
foreach (var command in _commandsManager.Commands)
{
Write($"{_commandsManager.GetCommandUsage(command.Value)}");
Log($"{_commandsManager.GetCommandUsage(command.Value)}");
}
}
@ -229,7 +229,7 @@ public static class COGWHEEL
Log("Available registered objects:");
foreach (var (guid, obj) in filteredObjects)
{
Write($"- {obj.GetType().FullName} : {guid}");
Log($"- {obj.GetType().FullName} : {guid}");
}
}

View File

@ -9,7 +9,7 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
<Version>1.3.0</Version>
<Version>1.3.1</Version>
<Authors>Chris Bell</Authors>
<Company>Bellsworne Tech</Company>
<Description>A suite of development tools for games</Description>

View File

@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.3.1] - 2025-02-15
### Added
### Changed
### Fixed
- Fixed COGWHEEL default commands to use Log instead of Write, since Log should cause a new line where Write should not.
- Fixed ICogwheelConsole Write and Log documentation to reflect the correct behavior of the methods.
### Removed
## [1.3.0] - 2025-01-02
### Added

View File

@ -27,7 +27,7 @@ public interface ICogwheelConsole
public void Initialize(CommandsManager commandsManager);
/// <summary>
/// Logs a message to the console.
/// Logs a message to the console (Will cause a new line).
/// </summary>
/// <param name="message">The message to log.</param>
public void Log(string message);
@ -45,7 +45,7 @@ public interface ICogwheelConsole
public void LogWarning(string message);
/// <summary>
/// Writes a message to the console.
/// Writes a message to the console (Will not cause a new line).
/// </summary>
/// <param name="message">The message to write.</param>
public void Write(string message);