Skip to content

Loosen internal assertions further

Compare
Choose a tag to compare
@Emik03 Emik03 released this 08 Apr 16:31
· 66 commits to main since this release
3d835fb

Version 4.7

This update removes exception-throwing for a number of APIs, attempting to use sane fallbacks. wawa.IO, wawa.Modules, and wawa.TwitchPlays are the only assemblies with any changes, public or internal. This library has been recompiled as version 4.7 just to keep Unity's assembly conflict problems away.

MINOR

wawa.IO:

  • Add optional parameters to Wawa.IO.PathFinder.AssemblyLog, more as a byproduct of the way the library requires it. The behavior of this function as such has been changed, with the format explicitly marking the method caller's name and log level for every use of this function. The method no longer guards null, as you are allowed to pass a null message.
  • All methods in Wawa.IO.PathFinder no longer throw. Error or warning messages will be logged as they arrive, and the library makes an attempt to continue execution with a few workarounds and fallbacks.

wawa.Modules

PATCH

wawa.IO:

wawa.TwitchPlays:

  • Uses appropriate log levels for editor-only assertions.
  • No longer throws when no commands are found, however an error log is still produced.