Releases: georglauterbach/libbash
Releases · georglauterbach/libbash
v8.0.0
Useful Links
Changes
- updated name of variable that shows whether libbash is loaded:
__LIBBASH_IS_LOADED -> LIBBASH_IS_LOADED
- added a version check when
--online
is supplied when loading libbash
v7.3.0
Useful Links
Changes
- new utility functions were added to check whether a directory is empty or not
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.