"Fossies" - the Fresh Open Source Software Archive

Member "argbash-2.10.0/ChangeLog" (22 Sep 2020, 10041 Bytes) of package /linux/privat/argbash-2.10.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "ChangeLog": 2.9.0_vs_2.10.0.

    1 2.10.1 (TBA)
    2 -------------------
    3 
    4 
    5 2.10.0 (2020-09-22)
    6 -------------------
    7 
    8 Buxfixes:
    9 
   10 * `argbash-init` is able to handle empty string as the only argument without being puzzled (#130).
   11 * Error handling of script working directory detection now more robust (#134).
   12 
   13 New features:
   14 
   15 * Argbash in the container has no longer the terminal output limitation caused by the crlf line ending (#129). Thanks to Felipe Santos (@felipecrs)!.
   16 * The `ARG_USE_PROG` implementation was missing. Therefore, it was implemented as `ARG_USE_PROGRAM` using a slightly different interface.
   17 
   18 
   19 2.9.0 (2020-08-01)
   20 ------------------
   21 
   22 Buxfixes:
   23 
   24 * Fixed typo in `argbash-init` and updated obsolete/incaccurate hints (#97).
   25 * Fixed incorrect permission of non-script output files (#104).
   26 * Increased MacOS compatibility by removing terminator from the `chmod` invocation (#107).
   27 
   28 New features:
   29 
   30 * Increased flexibility of the help option (#92).
   31 * Improved `argbash-init` script template (#85).
   32 * Increased flexibility of the version option (#123).
   33 * Added a convenience function for module loading (#119).
   34 * Added a possibility to the `argbash` tool to generate the script in-place, exposed as the `-i` option.
   35 
   36 
   37 2.8.1 (2019-06-30)
   38 ------------------
   39 
   40 Incompatible changes (minor):
   41 
   42 * The `DEFINE_SCRIPT_DIR` macro doesn't resolve symlinks as it started to do so in `2.8.0`, use `DEFINE_SCRIPT_DIR_GNU` if you need the functionality.
   43 
   44 New features (minor):
   45 
   46 * The help message now contains reference for one-of argument types (#76).
   47 
   48 Bugfixes:
   49 
   50 * The environment variables help message has been fixed (#79).
   51 * The manpage generation works when long description is supplied (#78).
   52 * The `DEFINE_SCRIPT_DIR` macro doesn't use `readlink -e` any more (#74).
   53 * Completion generation works when there are no options followed by value (#77).
   54 
   55 
   56 2.8.0 (2019-01-26)
   57 ------------------
   58 
   59 New features:
   60 
   61 * Allow argbash and argbash-init to be run from symbolic links.
   62 * Allow scripts generated by argbash-init with complete separation (`-s -s`) to be run from a symbolic link.
   63 * Implemented output to generate manpages using the `rst2man` utility (fixes #37).
   64 * Introduced the `ARG_VERSION_AUTO` macro.
   65 
   66 Bugfixes:
   67 
   68 * Double quotes in help messages are escaped (fixes #61).
   69 * Fixed regression that allowed duplicate short options (fixes #58).
   70 
   71 
   72 2.7.1 (2018-08-15)
   73 ------------------
   74 
   75 New features:
   76 
   77 * The bash completion now supports arguments of one-of-restricted values.
   78 
   79 Bugfixes:
   80 
   81 * Tests pass when there is no dash shell installed.
   82 * The double-dash handling when `--` is the last argument has been improved.
   83 * The generated bash completion is now complementing (i.e. not shadowing) the default bash completion.
   84 * Docopt fatal regression has been fixed.
   85 * Tests were added for docopt output.
   86 
   87 
   88 2.7.0 (2018-07-19)
   89 ------------------
   90 
   91 New features:
   92 
   93 * `ARGBASH_WRAP` works recursively - you can wrap wrapped scripts.
   94 * Introduced new output - the strict POSIX shell output.
   95 
   96 Bugfixes:
   97 
   98 * Fixed comment of the evaluate_strictness function in commented mode.
   99 * `ARG_OPTIONAL_BOOL` won't let you specify other default values than `on` or `off`.
  100 * Fixed bash completion containing a leading newline.
  101 * Fixed Argbash bash completion generated filename.
  102 
  103 
  104 2.6.1 (2018-03-04)
  105 ------------------
  106 
  107 Bugfixes:
  108 
  109 * Fixed the installation issue related to bash completion.
  110 * Allowed docopt and completion output even in case of stdin input and stdout output.
  111 
  112 
  113 2.6.0 (2018-02-27)
  114 ------------------
  115 
  116 New features:
  117 
  118 * Initial support for bash completion.
  119 * Introduction of the `--strip` argument to `argbash` (deprecates the `--library option`).
  120 * Initial support for `docopt` output.
  121 
  122 Bugfixes:
  123 
  124 * Fixed wrapping of scripts with repeated optional arguments.
  125 * All scripts + tests are checked by Shellcheck.
  126 * The `ARGBASH_WRAP` macro now supports looking for templates in subdirectories.
  127 * Documentation expansion.
  128 
  129 
  130 2.5.1 (2017-12-06)
  131 ------------------
  132 
  133 Bugfixes:
  134 
  135 * Fixed argbash-init corner cases (wrong output filename).
  136 * Corrected argbash-init hint mode.
  137 * Allowed argbash to wrap scripts in files with no extension.
  138 * Fixed compatibility with the `-e` (i.e. "strict") mode (fixed #30).
  139 
  140 
  141 2.5.0 (2017-09-03)
  142 ------------------
  143 
  144 New features:
  145 
  146 * The generated shell `case` statement is considerably nicer.
  147 * Support for having more Argbash versions simultainously (applies to Argbash version that implement the `make alt(un)install` targets)
  148 * Argbash functionality is now encapsulated in shell functions.
  149 * API macros have checks against wrong number of arguments supplied.
  150 * Short options can be also numeric.
  151 * Introduced DIY mode as a preview feature.
  152 * A Docker image of argbash is [available on Docker hub](https://hub.docker.com/r/matejak/argbash/). Thanks to [Peter Cummuskey](https://github.com/Tzrlk)))!
  153 
  154 Bugfixes:
  155 
  156 * Improved feedback when users provide invalid input (fixed #8, #9).
  157 * The underlying code has been cleaned and distributed into multiple files.
  158 * Fixed `m4_list_indices` to be consistent with `m4_list_nth`.
  159 * Much-improved handling of typed arguments (fixed #25, #26).
  160 * Improved documentation. Thanks to [Bianca Tamayo](https://github.com/btamayo)!
  161 
  162 
  163 2.4.0 (2017-04-08)
  164 ------------------
  165 
  166 New features:
  167 
  168 * Implemented getopt-like behavior (so e.g. `-gIinclude` equals to `-g -I include` etc.).
  169 * Improved feedback in case of mismatch between expected / received arguments.
  170 
  171 Bugfixes:
  172 
  173 * Argbash-powered scripts with positional arguments can be sourced consecutively without having to manually perform variable reset.
  174 * Fixed issue #7 with newlines in help strings.
  175 * The `argbash.spec` file has been corrected, so there is a hope that Argbash will make it to Fedora Linux distribution.
  176 
  177 
  178 2.3.0 (2017-02-07)
  179 ------------------
  180 
  181 New features:
  182 
  183 * Behavior that raises an error when a script argument's value looks like option - enabled by the `ARG_RESTRICT_VALUES`.
  184 
  185 New minor features:
  186 
  187 * `argbash` provides more useful feedback in case of unmatched square brackets in the input
  188 * `argbash` in standalone mode now uses the more fresh of the parsing code `.sh` or `.m4` templates (was undocumented, but the `.sh` one was always preferred over the `.m4`).
  189 
  190 
  191 2.2.3 (2016-12-18)
  192 ------------------
  193 
  194 New minor features:
  195 
  196 * `argbash` tries to warn you when it looks like you have made a typo when attempting to use macros.
  197 * `argbash` supports commented mode, when the parsing code is explained in detail
  198 
  199 Bugfixes:
  200 
  201 * Fixed handling of help messages in case of missing `ARG_HELP` macro
  202 
  203 
  204 2.2.2 (2016-11-21)
  205 ------------------
  206 
  207 New minor features:
  208 
  209 * Added the `--mode` option to `argbash-init`.
  210 * Improved help messages for arguments with typed values (experimental).
  211 
  212 Bugfixes:
  213 
  214 * Fixed quoting-related issues of the underlying code.
  215 
  216 
  217 2.2.0 (2016-11-07)
  218 ------------------
  219 
  220 New features:
  221 
  222 * Introduced the `argbash-init` simple template generator.
  223 * `argbash` can read from stdin.
  224 * `ARG_HELP` gains second argument.
  225 * Preview support for argument values types.
  226 
  227 Bugfixes:
  228 
  229 * Improved defaults indications in help messages.
  230 * Overall internal code beautification.
  231 
  232 
  233 2.1.1 (2016-08-26)
  234 ------------------
  235 
  236 Bugfixes:
  237 
  238 * Fixed help messages for the repeated optional args and added connected it to the delim choice.
  239 * Fixed the installation process in `resources/Makefile`
  240 
  241 
  242 2.1.0 (2016-08-26)
  243 ------------------
  244 
  245 Incompatible changes (minor):
  246 
  247 * `argbash` option `--standalone` has been renamed to `--library`.
  248 
  249 New features:
  250 
  251 * Support for configuration of argument-value delimiters (space and equal sign are supported - `--some-opt=value` as well as `--some-opt value` may work)
  252 
  253 Bugfixes:
  254 
  255 * Fixed handling of `argbash-xtoy` in Makefiles for tests/packaging.
  256 * Added the `die` function to all generated scripts.
  257 * Beautification of the underlying code.
  258 * Documentation improvements in the Examples section.
  259 
  260 
  261 2.0.0 (2016-08-03)
  262 ------------------
  263 
  264 This release descends from `1.4.2`.
  265 
  266 Incompatible changes:
  267 
  268 * The variable name in which argument values are stored is different (lowercase) as the `bash` style guides recommend.
  269 
  270 Bugfixes:
  271 
  272 * Fixed a error handling bug in the `argbash-1to2` script.
  273 
  274 
  275 1.4.2 (2016-08-02)
  276 ------------------
  277 
  278 Bugfixes:
  279 
  280 * Fixed the broken `argbash-1to2` script.
  281 
  282 
  283 1.4.1 (2016-08-02)
  284 ------------------
  285 
  286 Bugfixes:
  287 
  288 * Fixed broken `Makefile` that prevented (un)installs.
  289 
  290 
  291 1.4.0 (2016-08-02)
  292 ------------------
  293 
  294 New features:
  295 
  296 * Added the `ARGBASH_SET_INDENT` macro for indentation control.
  297 * Created scripts are more compliant to the https://www.shellcheck.net/ tool.
  298 * Introduced `argbash-1to2` script for migration to Argbash2
  299 
  300 Bugfixes:
  301 
  302 * Fixed some errors related to displaying help.
  303 * Fixed spurious default to `ARG_POSITIONAL_INF`.
  304 * Fixed handling of empty defaults.
  305 
  306 
  307 1.3.0 (2016-07-23)
  308 ------------------
  309 
  310 New features:
  311 
  312 * Support for infinitely many (and leftover) arguments.
  313 * Partial POSIX shell compatibility.
  314 
  315 Bugfixes:
  316 
  317 * Fixed definitions in the parsing part of the script.
  318 * Expanded documentation --- expanded info about related projects.
  319 
  320 
  321 1.2.1 (2016-07-10)
  322 ------------------
  323 
  324 Bugfixes:
  325 
  326 * Improved the wrapping of scripts to work with positional args
  327 
  328 
  329 1.2.0 (2016-07-08)
  330 ------------------
  331 
  332 New features:
  333 
  334 * Support for repeated arguments, added specialized macro for --verbose
  335 * Support for double dash (separating positional and optional arguments)
  336 * Support for multi-valued arguments (with defaults)
  337 * Improved generated code so users get more descriptive messages when something goes wrong
  338 * The bash code tries to be minimal - only features that are used are supported
  339 * Support for wrapping of other Argbash scripts
  340 * Support for repeated arguments (s.a. argument `-I` of `gcc`)
  341 
  342 Bugfixes:
  343 
  344 * Fixed installation bug when ROOT variable was not treated properly
  345 * Improved error reports when number of positional args doesn't match
  346 * Improved m4s list implementation
  347 * Added `m4_list_contains`
  348 
  349 
  350 1.1.0 (2015-09-06)
  351 ------------------
  352 
  353 New features:
  354 
  355 * Support for positional args with default values.
  356 * "Intelligent" shell auto-quoting of macro arguments.
  357 * Improvement of standalone parsing code mode.