Skip to content

Releases: georglauterbach/libbash

v7.2.0

06 Aug 15:02
8a715ff
Compare
Choose a tag to compare

Useful Links

Changes

  • when the errors module is loaded, log_unexpected_error will now correctly handle expanding BASH_COMMAND when showing the command

v7.1.0

27 Jul 13:23
b429be7
Compare
Choose a tag to compare

Useful Links

Changes

  • restore SCRIPT if it was set before sourceing load

v7.0.0

19 Jun 20:33
83ce7ef
Compare
Choose a tag to compare

Useful Links

Breaking Changes

  • updated the arguments that load takes
    • --online now takes the version argument directly
    • --version has been removed
  • added pre-flight checks when sourcing libbash

Changes

  • update the log format: <TIMESTAMP> <LOG LEVEL> <WHO LOGGED>: <MESSAGE>
  • improved efficiency of log
  • miscellaneous corrections and improvements in the documentation
  • miscellaneous bug fixes to library-internal logic
  • updated BATS core
  • show the version of libbash when calling libbash__debug

v6.1.1

20 Apr 14:16
9d22d72
Compare
Choose a tag to compare

Useful Links

Changes

  • also unset __libbash__post_init

v6.1.0

20 Apr 14:14
2e8381f
Compare
Choose a tag to compare

Useful Links

Changes

  • changed if and loop statement style
  • enable versioning via the --version flag
  • **removed set -e from errors module
  • minor stylistic changes
  • fixed a bug where the ERR was set incorrectly
  • adjusted test to make them more robust

v6.0.1

20 Apr 12:30
0d26126
Compare
Choose a tag to compare

Useful Links

Changes

  • reverted to the previous default of the SCRIPT variable.

v6.0.0

20 Apr 12:27
4c4b3ff
Compare
Choose a tag to compare

Useful Links

Changes

  • updated license: I switched from GPL-3 to MIT
  • updated and unified fallback log format
  • updated function documentation comments
  • updated the default content of the SCRIPT variable
  • log now outputs to stderr for log levels warn and error again
  • the errors module was updated to show more information and in a different format now, also expanding the last command for better insights into what happened when the ERR trap is triggered

v5.0.0

05 Apr 13:01
2c1ed95
Compare
Choose a tag to compare

Useful Links

Changes

This release contains a breaking change in var_is_set_and_not_empty. You should not use parameter_is_not_empty, var_is_set or var_is_set_and_not_empty.

I also removed Makefile and replaced it with casey/just, a modern command runner. The dependency on ROOT_DIRECTORY in tests has been removed too.

Finally, I updated the log format.

v4.1.0

18 Feb 13:51
2d54c2d
Compare
Choose a tag to compare

Useful Links

Changes

This release contains a fix for the log colors. Moreover, the internal logger has been simplified.

v4.0.1

18 Feb 13:46
f472db0
Compare
Choose a tag to compare

Useful Links

Changes

This patch releases fixes a small issue with log level info, which still had old inf level descriptions.