Skip to content

Commit bc6c5a4

Browse files
committed
release: 0.29.0
1 parent 244d35c commit bc6c5a4

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

CHANGELOG.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
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`)

bashunit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
3434
declare -r BASHUNIT_ROOT_DIR="$(dirname "${BASH_SOURCE[0]}")"

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ BASHUNIT_GIT_REPO="https://github.com/TypedDevs/bashunit"
9595
if is_git_installed; then
9696
LATEST_BASHUNIT_VERSION="$(get_latest_tag "$BASHUNIT_GIT_REPO")"
9797
else
98-
LATEST_BASHUNIT_VERSION="0.28.0"
98+
LATEST_BASHUNIT_VERSION="0.29.0"
9999
fi
100100
TAG="$LATEST_BASHUNIT_VERSION"
101101

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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",

0 commit comments

Comments
 (0)