Releases: georglauterbach/libbash
Releases · georglauterbach/libbash
v7.2.0
Useful Links
Changes
- when the
errors
module is loaded,log_unexpected_error
will now correctly handle expandingBASH_COMMAND
when showing the command
v7.1.0
Useful Links
Changes
- restore
SCRIPT
if it was set beforesource
ingload
v7.0.0
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 callinglibbash__debug
v6.1.1
v6.1.0
Useful Links
Changes
- changed
if
and loop statement style - enable versioning via the
--version
flag - **removed
set -e
fromerrors
module - minor stylistic changes
- fixed a bug where the
ERR
was set incorrectly - adjusted test to make them more robust
v6.0.1
Useful Links
Changes
- reverted to the previous default of the
SCRIPT
variable.
v6.0.0
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 tostderr
for log levelswarn
anderror
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 theERR
trap is triggered
v5.0.0
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
Useful Links
Changes
This release contains a fix for the log colors. Moreover, the internal logger has been simplified.
v4.0.1
Useful Links
Changes
This patch releases fixes a small issue with log level info
, which still had old inf
level descriptions.