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-bashlauncher for standalone scripts that want the
base-bash-libs stdlib preloaded from a shebang. - Added
std_run --timeout,--max-attempts, and--retry-delayexecution
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_namevalidation for helpers that accept Bash
variable names. - Deprecated
std_run_with_timeoutin documentation for new code; it remains as
a compatibility wrapper aroundstd_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.