Skip to content

1.0.0

Choose a tag to compare

@ogg17 ogg17 released this 24 Oct 19:32
· 2 commits to main since this release
45b4da5

Changelog

[1.0.0] - 2025-10-24

Breaking

  • Replaced the enum-driven CDebugTag/CDebugTagType system with the composable BaseCTag/CTag pipeline; CDebug.Log now accepts any number of tag elements and selects the highest LogType automatically. (Assets/Plugins/CustomUnityDebug/Runtime/CDebug.cs)
  • Moved runtime switches into CDebugSettings; use CDebugSettings.DebugEnabled, DebugFirstTagAlwaysDefault, DisableAllMessageWithTag, and CTag.SetEnabled instead of the removed CDebug.DebugEnabled, AlwaysDefaultTag, BoldMessageText, and CDebug.SetTagEnabled. (Assets/Plugins/CustomUnityDebug/Runtime/CDebugSettings.cs)

Added

  • Introduced Masev.CustomUnityDebug.TextFormatting with fluent tag builders (CTag, BaseCTag) plus presets for brackets, spacers, text styles, and severity levels. (Assets/Plugins/CustomUnityDebug/Runtime/TextFormatting/)
  • Added extension helpers for strings, enums, DateTime, and Unity objects (AsTag, AsText, AsTimestamp, etc.) to speed up log composition. (Assets/Plugins/CustomUnityDebug/Runtime/TextFormatting/CTagExtensions.cs)
  • Added a pooled string builder utility to minimize GC pressure when creating log entries. (Assets/Plugins/CustomUnityDebug/Runtime/StringBuilderPool.cs)
  • Added a demo MonoBehaviour that showcases the new workflow directly in the editor. (Assets/Scripts/TestDebug.cs)
  • Added edit mode tests covering formatting, pooling, log severity, and runtime switches. (Assets/Plugins/CustomUnityDebug/Tests/EditMode/CustomUnityDebugTests.cs)

Changed

  • Updated convenience tags (CDebug.Debug, CDebug.Warning, CDebug.Error, etc.) to use the new formatting defaults and colour palette. (Assets/Plugins/CustomUnityDebug/Runtime/CDebug.cs)
  • Rewrote the README with a quick start guide and moved legacy documentation to 0.1.0_README.md. (README.md, 0.1.0_README.md)
  • Updated the sample project dependencies (URP 17.2.0, Input System 1.14.2, IDE integrations, etc.) to align with the new demo scene. (Packages/manifest.json)

Removed

  • Removed legacy CDebugTag, CDebugTagType, and TryAddTag APIs along with the fixed-parameter CDebug.Log overloads. (Assets/Plugins/CustomUnityDebug/Runtime/CDebugTag.cs, Assets/Plugins/CustomUnityDebug/Runtime/CDebugTagType.cs)