File tree Expand file tree Collapse file tree 4 files changed +11
-12
lines changed
Expand file tree Collapse file tree 4 files changed +11
-12
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3- ## Unreleased
3+ ## [ 0.29.0 ] ( https://github.com/TypedDevs/bashunit/compare/0.28.0...0.29.0 ) - 2025-12-08
44
55### Added
6- - Add bootstrap argument passing support via ` --env "file.sh arg1 arg2" ` or ` BASHUNIT_BOOTSTRAP_ARGS ` (fixes # 546 )
7- - Add ` --preserve-env ` flag to skip ` .env ` loading and use shell environment only (fixes # 546 )
8- - Add ` -l, --login ` flag to run tests in login shell context (fixes # 546 )
9- - Add ` --strict ` flag to enable strict shell mode (` set -euo pipefail ` ) for tests (fixes # 540 )
6+ - Add bootstrap argument passing support via ` --env "file.sh arg1 arg2" ` or ` BASHUNIT_BOOTSTRAP_ARGS `
7+ - Add ` --preserve-env ` flag to skip ` .env ` loading and use shell environment only
8+ - Add ` -l, --login ` flag to run tests in login shell context
9+ - Add ` --strict ` flag to enable strict shell mode (` set -euo pipefail ` ) for tests
1010- Add ` BASHUNIT_STRICT_MODE ` configuration option (default: ` false ` )
11- - Add ` -R, --run-all ` flag to run all assertions even when one fails (fixes # 536 )
11+ - Add ` -R, --run-all ` flag to run all assertions even when one fails
1212- Add ` BASHUNIT_STOP_ON_ASSERTION_FAILURE ` configuration option (default: ` true ` )
1313
1414### Changed
15- - Build script now outputs to ` bin/ ` by default
16- - ** BREAKING:** Namespace all internal functions and variables to prevent collisions with user code (fixes #538 )
15+ - ** BREAKING:** Namespace all internal functions and variables to prevent collisions with user code
1716 - All helper functions now use ` bashunit:: ` prefix (e.g., ` skip ` → ` bashunit::skip ` )
1817 - All internal functions now use ` bashunit:: ` prefix (e.g., ` helper::trim ` → ` bashunit::helper::trim ` )
1918 - All internal variables now use ` _BASHUNIT_ ` prefix (e.g., ` _TESTS_PASSED ` → ` _BASHUNIT_TESTS_PASSED ` )
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ function _check_bash_version() {
2828_check_bash_version
2929
3030# shellcheck disable=SC2034
31- declare -r BASHUNIT_VERSION=" 0.28 .0"
31+ declare -r BASHUNIT_VERSION=" 0.29 .0"
3232
3333# shellcheck disable=SC2155
3434declare -r BASHUNIT_ROOT_DIR=" $( dirname " ${BASH_SOURCE[0]} " ) "
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ BASHUNIT_GIT_REPO="https://github.com/TypedDevs/bashunit"
9595if is_git_installed; then
9696 LATEST_BASHUNIT_VERSION=" $( get_latest_tag " $BASHUNIT_GIT_REPO " ) "
9797else
98- LATEST_BASHUNIT_VERSION=" 0.28 .0"
98+ LATEST_BASHUNIT_VERSION=" 0.29 .0"
9999fi
100100TAG=" $LATEST_BASHUNIT_VERSION "
101101
Original file line number Diff line number Diff line change 11{
22 "name" : " bashunit-docs" ,
3- "version" : " 0.28 .0" ,
4- "checksum" : " 31cbc589a0938e33cd5eacd8028afbb681601b40696af5989e7a788dab208b79 " ,
3+ "version" : " 0.29 .0" ,
4+ "checksum" : " 90d5afc07222920777d6c47af657d1d7a80a0055eaaa506c9c814f6b224da102 " ,
55 "description" : " Docs for bashunit a simple testing library for bash scripts" ,
66 "main" : " index.js" ,
77 "repository" : " git@github.com:TypedDevs/bashunit.git" ,
You can’t perform that action at this time.
0 commit comments