Skip to content

v0.9.0

Compare
Choose a tag to compare
@hyperupcall hyperupcall released this 25 Jun 20:20
· 34 commits to main since this release
v0.9.0
d973161

Breaking Changes

  1. When using core.print_*_fn functions, a set of parenthesis is now printed:

Example:

fnn() { core.print_info_fn 'Blah'; }
fnn

# Before:
# => Info: fnn: Something
# Now:
# => Info: fnn(): Something
  1. For core.print_{error,warn,info} parameterless calls no longer have special behavior
core.print_error

# Before:
# => Error
# Now:
# => Error: 

Features

  • Functions $core.print_(?:error|warn|info)(?:_fn)? functions now print color.
    • Color is properly suppressed if NO_COLOR is passed or if:
      • Either standard error (or stdout in the case of info) is not a terminal
      • Or $TERM is set to dumb

Miscellaneous

  • Documentation improvements
  • Prefix private methods with core.private.