Releases: matejak/argbash
2.11.0
After long time, a new release is out! It fixes a couple of issues, but also adds new convenience features that people requested. Thanks to the whole Argbash community for your support!
Buxfixes:
#!/bin/bashis no longer the shebang. The more portable#!/usr/bin/env bashis used instead (#185).- Indentation is consistent in validation functions (#143)
- Fixed bug preventing short options to have capital letters (#199)
- Scripts with strict argument checking don't abort when executed with errexit (#163)
New features:
- The new Argbash macro
ARGBASH_INDICATE_SUPPLIEDallows you to get information on whether an argument has been explicitly passed on the commandline. Big thanks to Kevin Stravers (@kstrafe) for his heroic effort! - A new
excisedmode that doesn't contain generated code has been introduced (#186)
Incompatible changes (minor):
2.10.0
Buxfixes:
argbash-initis able to handle empty string as the only argument without being puzzled (#130).- Error handling of script working directory detection now more robust (#134).
New features:
- Argbash in the container has no longer the terminal output limitation caused by the crlf line ending (#129). Thanks to Felipe Santos (@felipecrs)!.
- The
ARG_USE_PROGimplementation was missing. Therefore, it was implemented asARG_USE_PROGRAMusing a slightly different interface.
2.9.0
It took Argbash one year to get another update, but 2.9.0 brings numerous bugfixes, noteworthy new features, and integration of the Docker Hub with the repository has been vastly improved.
Buxfixes:
- Fixed typo in
argbash-initand updated obsolete/incaccurate hints (#97). - Fixed incorrect permission of non-script output files (#104).
- Increased MacOS compatibility by removing terminator from the
chmodinvocation (#107).
New features:
2.8.1
This release fixes many issues, and it also doesn't enable the readlink -e functionality introduced in 2.8.0. So there is a slight breakage of backwards compatibility for those who use the standalone mode and who use symlinks.
Incompatible changes (minor):
- The
DEFINE_SCRIPT_DIRmacro doesn't resolve symlinks as it started to do so in2.8.0, useDEFINE_SCRIPT_DIR_GNUif you need the functionality.
New features (minor):
- The help message now contains reference for one-of argument types (#76).
Bugfixes:
2.8.0
New features:
- Allow argbash and argbash-init to be run from symbolic links.
- Allow scripts generated by argbash-init with complete separation (
-s -s) to be run from a symbolic link. - Implemented output to generate manpages using the
rst2manutility (fixes #37). - Introduced the
ARG_VERSION_AUTOmacro.
Bugfixes:
2.7.1
This is a minor feature / bugfix release. The bash completion has seen some love, and the docopt output regression has been fixed.
New features:
- The bash completion now supports arguments of one-of-restricted values.
Bugfixes:
- Tests pass when there is no dash shell installed.
- The double-dash handling when
--is the last argument has been improved. - The generated bash completion is now complementing (i.e. not shadowing) the default bash completion.
- Docopt fatal regression has been fixed.
- Tests were added for docopt output.
2.7.0
2.7.0 (2018-07-19)
This version of Argbash brings the long-awaited POSIX shell output mode.
The generated code uses the getopts builtin if applicable, and although it doesn't support all features of full Bash script output, the most common functionality works.
New features:
ARGBASH_WRAPworks recursively - you can wrap wrapped scripts.- Introduced new output - the strict POSIX shell output.
Bugfixes:
- Fixed comment of the evaluate_strictness function in commented mode.
ARG_OPTIONAL_BOOLwon't let you specify other default values thanonoroff.- Fixed bash completion containing a leading newline.
- Fixed Argbash bash completion generated filename.
2.6.1
2.6.0
New features:
- Initial support for bash completion.
- Introduction of the
--stripargument toargbash(deprecates the--library option). - Initial support for
docoptoutput.
Bugfixes:
- Fixed wrapping of scripts with repeated optional arguments.
- All scripts + tests are checked by Shellcheck.
- The
ARGBASH_WRAPmacro now supports looking for templates in subdirectories. - Documentation expansion.
2.5.1
This is a bugfix release that will please advanced users of Argbash.
Bugfixes:
- Fixed argbash-init corner cases (wrong output filename).
- Corrected argbash-init hint mode.
- Allowed argbash to wrap scripts in files with no extension.
- Fixed compatibility with the
-e(i.e. "strict") mode (fixed #30).