Skip to content

v0.6.4

Choose a tag to compare

@github-actions github-actions released this 21 Oct 19:36
· 8 commits to master since this release
6bf8dec

Changelog

[0.6.4] - 2026-10-21

Added

none

Changed

  • update pinned GitHub Actions and the Yasu container image
  • use GITHUB_OUTPUT and explicit permissions in GitHub Actions workflows

Deprecated

none

Removed

none

Fixed

  • keep the info icon in text presentation so terminals do not render it as an emoji
  • preserve non-UTF-8 text while removing ANSI sequences

0.6.3 - 2026-10-20

Changed

Fixed

  • use an explicit job specification when stopping the spinner for Bash 5.3 compatibility
  • tolerate an already-exited spinner during cleanup without disabling unrelated error handling
  • keep cleanup scoped to spinner jobs, leaving other background jobs untouched

0.6.2 - 2021-12-09

Fixed

  • do nothing if sourced multiple times

0.6.1 - 2021-11-27

Fixed

  • $TMPDIR will be created if it does not exist

0.6.0 - 2021-11-22

Added

  • support for NO_COLOR and MY_APP_NO_COLOR

Changed

  • failr is replaced by logr error; arguments are unchanged

0.5.0 - 2021-10-24

Added

  • Further banner animations
  • SVG terminal sessions recordings
    recorded terminal session demonstrating the logr library
  • Support for synonyms (e.g. logr task == logr job == logr work)
  • Utility remove_ansi to remove any type of ANSI escapes

Changed

  • failr only prints stacktrace if invoked with -x or --stacktrace
  • errexit disabled

0.4.0 - 2021-10-15

Added

  • tracr in order to facilitate print debugging
    tracr
    tracr foo
    tracr "$@"
    0               ↗ file:///home/john/logr.sh#947
    'foo' 1         ↗ file:///home/john/logr.sh#948
    'foo' 'bar' 2   ↗ file:///home/john/logr.sh#949
    
  • Default question for prompt4 using -
    prompt4 Y/n '%s\n' "This is a message." -
       This is a message.
       Do you want to continue?
    
  • Customizable banner with a colon separated list of properties
    • char/c: character to use instead of default one
    • state/s: 0 corresponds to dimmed color; otherwise default
    banr --static='c=>:c=<:c=>:c=<:c=>:c=<:c=>' fooBar baz
    ><><><> FOO BAR BAZ
    
  • Animated banner if no --static flag is used

Changed

  • renamed util function print_line to print
  • renamed util function reprint_line to reprint
  • terminal related features are now located in esc

0.3.0 - 2021-10-13

Added

  • banr function to print iconic banner
    $ banr
    ▒▒▒▒▒▒▒
    
    $ banr foo
    ▒▒▒▒▒▒▒ FOO
    
    $ banr fooBar
    ▒▒▒▒▒▒▒ FOO BAR
    
    $ banr fooBar baz
    ▒▒▒▒▒▒▒ FOO BAR BAZ

0.2.0 - 2021-10-12

Added

  • Support for yes-no prompts
    $ prompt4 Y/n
    
      Do you want to continue? [Y/n]
    
    # Hit enter
    ✔ Do you want to continue? [Y/n] yes
    $ prompt4 Y/n "How about an alternative question?"
    
      How about an alternative question? [Y/n]
    
    # Hit escape
    ✘︎ How about an alternative question? [Y/n] no 

0.1.0 - 2021-10-12

Added

  • logr COMMAND with the following commands supported:

    ✱︎ new
    ▪︎ item
    ↗︎ https://github.com/bkahlert/logr
    ↗︎ file:///home/bkahlert/dev/logr.sh:42:10
    ✔︎ success
    ℹ︎ info
    ⚠︎ warn
    ✘︎ error
    ϟ︎ fail
    ☐︎ task
    ⠏︎ running task
    ✔︎ succeeded task
    ⚠︎ failed task with warning
    ✘︎ bash -c; ...; exit 2
      error log
      of failed task
  • to-do list like execution of tasks

  • spinner based visual feedback

  • hyperlink support

  • stacktrace on error

    ✘ foo bar failed: baz expected
        at foo(/home/bkahlert/dev/demo:32)
        at main(/home/bkahlert/dev/demo:34)
      Usage: foo baz