Skip to content

v2.1.0

Compare
Choose a tag to compare
@Kreusada Kreusada released this 18 Feb 17:15
· 10 commits to main since this release

This release exposes splitwaves as a public method used to split waves in an oceanscript string. Additionally, tracebacks are now massively more precise, consistent, and more specific on the error caused when decoding.

This release's hot points:

  • Enhanced traceback detail
  • New splitwaves() functionality
  • Splash indicator severity majorly increased
  • OceanScriptError.without_position_reference() functionality

The following rules have been added to the splash indicator which may cause strings before v2.1.0 to break:

  • Splash indicators are now strictly not allowed to be prefixing non-alphabetic waves, and will raise an error post 2.1.0.
  • Splash redundancy is now evaluated and will raise an error when using the splash indicator for already capitalized alphabetic characters.

Updates for error handling:

  • without_position_reference() method has been added for OceanScriptError to return OceanScriptError.__str__() without the position referenced prefixed at the beginning of the string.
  • The position kwarg is now Optional.