Skip to content

Releases: bkahlert/logr

Logr 0.6.7

Choose a tag to compare

@github-actions github-actions released this 23 Oct 15:41
1cfc710

Changed

  • Publish the latest terminal recordings through GitHub Pages.
  • Pin recording jobs to Recordr 0.2.6.
  • Pin test jobs to Bats Wrapper 0.2.2.

Full changelog

v0.6.6

Choose a tag to compare

@github-actions github-actions released this 22 Oct 22:01
046e150

Changed

  • Running logr.sh directly now exits silently, including with -h or --help. Source the library to use its functions.

Fixed

  • Emit plain ℹ without the variation selector that could occupy an extra terminal cell.
  • Use the checked-out Logr library in recordings instead of an older copy found on PATH.

The SVG font-rendering difference remains unresolved; this release removes the selector workaround.

v0.6.5

Choose a tag to compare

@github-actions github-actions released this 21 Oct 19:47
235eb9a

Changelog

0.6.5 - 2026-10-21

Fixed

  • report the release version consistently in runtime output and CLI help

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

v0.6.4

Choose a tag to compare

@github-actions github-actions released this 21 Oct 19:36
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

v0.6.3

Choose a tag to compare

@github-actions github-actions released this 20 Oct 23:01
3e813df

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

v0.6.2

Choose a tag to compare

@github-actions github-actions released this 09 Dec 02:07

Fixed

  • do nothing if sourced multiple times

v0.6.1

Choose a tag to compare

@github-actions github-actions released this 27 Nov 04:20

Fixed

  • $TMPDIR will be created if it does not exist

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 13:41

Added

  • support for NO_COLOR and MY_APP_NO_COLOR

Changed

  • failr is replaced by logr error; arguments are unchanged

v0.5.0

Choose a tag to compare

@bkahlert bkahlert released this 22 Nov 14:22

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

v0.4.0

Choose a tag to compare

@bkahlert bkahlert released this 24 Oct 03:02

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