Skip to content

v1.1.0

Latest

Choose a tag to compare

@codeforester codeforester released this 03 Jul 17:09
6ce8af0

Corrective 1.x release for the latest base-bash-libs code line. This release
supersedes the accidental v2.0.0 publication while preserving all launcher and
library changes.

Added

  • Added the base-bash launcher for standalone scripts that want the
    base-bash-libs stdlib preloaded from a shebang.
  • Added std_run --timeout, --max-attempts, and --retry-delay execution
    policy options for timeout-only, retry-only, and timeout-plus-retry command
    execution.

Changed

  • Changed string case and trim helpers to mutate named variables in place
    instead of requiring command substitution.
  • Added public assert_variable_name validation for helpers that accept Bash
    variable names.
  • Deprecated std_run_with_timeout in documentation for new code; it remains as
    a compatibility wrapper around std_run --timeout.
  • Changed cleanup path registration to require absolute paths so exit cleanup
    cannot drift after a script changes directory.
  • Changed the Bash timeout fallback to kill TERM-ignoring commands after a short
    grace period.
  • Changed list and string array helpers to require caller-declared indexed arrays
    instead of silently coercing scalar variables.