Skip to content

Releases: basefoundry/base-bash-libs

base-bash-libs v0.2.1

18 Jun 23:12
2f97fd5

Choose a tag to compare

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

18 Jun 21:49
5191de7

Choose a tag to compare

Added

  • Added std_run as the preferred command-runner API while retaining run as a compatibility wrapper.
  • Added readonly BASE_BASH_LIBS_VERSION, sourced from the package VERSION file when lib_std.sh loads.
  • Added optional --fetch support to check_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_section appends or replaces managed sections.
  • Hardened update_file_section marker ordering and edge-case behavior.
  • Validated variable-name arguments consistently across stdlib and git helpers.
  • Respected NO_COLOR and 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.sh is sourced by unsupported Bash versions.
  • Returned nonzero from set_log_level for invalid input without changing existing logger levels.
  • Added explicit dependency guards for companion libraries sourced without the stdlib.

base-bash-libs v0.1.0

17 Jun 19:14
e6e976c

Choose a tag to compare

Added

  • Initialized the repository with the Base-managed repo baseline.
  • Added the standalone Bash std, file, and git libraries copied from Base, including BATS coverage, ShellCheck validation, and a standalone usage example.