Releases: basefoundry/base-bash-libs
Releases · basefoundry/base-bash-libs
base-bash-libs v0.2.1
Changed
- Changed the project license from AGPL-3.0-or-later to Apache-2.0 for broader generic library adoption.
- Refreshed the top-level README with version/license/install/release metadata and direct links to each library README.
- Added NOTICE attribution for the Apache-2.0 distribution.
- Added validation that keeps the README version strip aligned with the repo-root VERSION file.
Validation
- ./tests/validate.sh
- GitHub Actions Tests workflow
- git diff --check
base-bash-libs v0.2.0
Added
- Added
std_runas the preferred command-runner API while retainingrunas a compatibility wrapper. - Added readonly
BASE_BASH_LIBS_VERSION, sourced from the packageVERSIONfile whenlib_std.shloads. - Added optional
--fetchsupport tocheck_script_up_to_date. - Added Linux and supported-Bash GitHub Actions validation coverage.
- Added PTY-backed coverage for
wait_for_enter. - Added non-Homebrew installation documentation.
Changed
- Preserved target file modes when
update_file_sectionappends or replaces managed sections. - Hardened
update_file_sectionmarker ordering and edge-case behavior. - Validated variable-name arguments consistently across stdlib and git helpers.
- Respected
NO_COLORand composed structured log records before one final stderr write. - Made
safe_mkdir,git_get_current_branch, and git pull retry behavior more explicit.
Fixed
- Failed cleanly when
lib_std.shis sourced by unsupported Bash versions. - Returned nonzero from
set_log_levelfor invalid input without changing existing logger levels. - Added explicit dependency guards for companion libraries sourced without the stdlib.
base-bash-libs v0.1.0
Added
- Initialized the repository with the Base-managed repo baseline.
- Added the standalone Bash
std,file, andgitlibraries copied from Base, including BATS coverage, ShellCheck validation, and a standalone usage example.