|
1 |
| -# Change history |
| 1 | +# Changelog |
2 | 2 |
|
3 |
| -See the [GitHub Releases](https://github.com/docopt/docopts/releases). |
| 3 | +## bug fix v0.6.4-with-no-mangle-double-dash |
| 4 | + |
| 5 | +Tag: `v0.6.4-with-no-mangle-double-dash` |
| 6 | + |
| 7 | +This is a bug fix release. |
| 8 | + |
| 9 | +features changes: |
| 10 | + - fix error refusing mangling double dash in global mode [#52] |
| 11 | + - still refuse to mangle single dash `[-]` in global mode (not compatible with v0.6.1) |
| 12 | + - now can mangle single-dash and double-dash in `-G` mode |
| 13 | + - fix output bash empty array #53 |
| 14 | + |
| 15 | +internal changes: |
| 16 | + - use Go 1.17.1 for compiling |
| 17 | + - `language_agnostic_tester.py` re-write for python3 |
| 18 | + - sort argument key in `Print_bash_args()` `Print_bash_global()` |
| 19 | + - sort input keys in `docopts_test.go` |
| 20 | + - add PR #52 test to `testcases.docopt` |
| 21 | + - completed developer documentation |
| 22 | + - #52 ignore `[--]` double-dash option in `Print_bash_global()` |
| 23 | + - reformat of Go code with `gofmt`; indent change Space ==> Tab |
| 24 | + - add `tests/functional_tests_docopts.bats` |
| 25 | + |
| 26 | +## docopts binary transitional v0.6.3-rc2 |
| 27 | + |
| 28 | +Tag: `v0.6.3-rc2` |
| 29 | + |
| 30 | +This is a transitional release. |
| 31 | + |
| 32 | +It supports all the previous command line API plus some extra options. |
| 33 | +Fully compatible with previous 0.6.2 python code for Bash. |
| 34 | + |
| 35 | +See: https://github.com/docopt/docopts/tree/v0.6.1%2Bfix |
| 36 | +based on master branch |
| 37 | + |
| 38 | +features changes: |
| 39 | + - `docopts.sh` function `docopt_get_help_string()` now uses awk to extract only first `Usage:` |
| 40 | + |
| 41 | +internal changes: |
| 42 | + - use Go 1.14 for compiling |
| 43 | + - more pre-built binaries, removed darwin/386 |
| 44 | + - fixed #44 `get_docopts.sh` for macOS + functional tests |
| 45 | + - removed `bats` git submodule |
| 46 | + - use [bats-core 1.2-dev](https://github.com/bats-core/bats-core) as testing framework from travis |
| 47 | + - `deploy.sh` removed, now uses its [own repository](https://github.com/opensource-expert/deploy.sh) |
| 48 | + - updated Makefile to use `get_ldflags.sh` from `deploy.sh` |
| 49 | + - [travis hack](travis/get_bash5_macos.sh) to get faster build on macos with our embedded bash5 binary |
| 50 | + |
| 51 | +## docopts binary transitional v0.6.3-rc1 |
| 52 | + |
| 53 | +Tag: `v0.6.3-rc1` |
| 54 | + |
| 55 | +This is a transitional release. |
| 56 | + |
| 57 | +It supports all the previous API plus some extra command line options. |
| 58 | +Fully compatible with previous 0.6.2 Python code for Bash. |
| 59 | + |
| 60 | +See: https://github.com/docopt/docopts/tree/v0.6.1%2Bfix |
| 61 | +based on master branch |
| 62 | + |
| 63 | +changes: |
| 64 | + - more test for macOS |
| 65 | + - Bash 3.2 support is more documented and fixed |
| 66 | + - use `bats-core` as testing framework |
| 67 | + - updated README merged from old README.rst |
| 68 | + - now documentation introduce `docopts.sh` See [docs](https://github.com/docopt/docopts/tree/v0.6.3-rc1/docs/) |
| 69 | + - added `Makefile` |
| 70 | + - added `build_doc.sh` PoC markdown preprocessor |
| 71 | + |
| 72 | +all examples written for docopts: |
| 73 | + - shebang conversion `#!/bin/bash` ==> `#!/usr/bin/env bash` |
| 74 | + - legacy example completed |
| 75 | + - example from README extracted a file, and merged in README via `build_doc.sh` |
| 76 | + - `sshdiff` full example coded |
| 77 | + - added examples with `--auto -G` |
| 78 | + |
| 79 | +docopts.sh helper: |
| 80 | + - is more documented in the code |
| 81 | + - has documenation in [docs/README.md](https://github.com/docopt/docopts/tree/v0.6.3-rc1/docs/README.md) |
| 82 | + - now supports bash strict mode (`set -euo pipefail`) |
| 83 | + - now supports `--auto -G` to auto parse with global vars (doesn't use bash 4 associative array) |
| 84 | +`docopts` behavior sould be unchanged: |
| 85 | + - add mangled name collision detection |
| 86 | + |
| 87 | +## docopts for Bash first release in golang |
| 88 | + |
| 89 | +Tag: `v0.6.3-alpha1` |
| 90 | + |
| 91 | +This is a transitional release. |
| 92 | + |
| 93 | +It is a complete rewrite of the Python code in Go. |
| 94 | +It supports all of the previous API plus some extra command line options. |
| 95 | + |
| 96 | +Fully compatible with previous 0.6.2 python code for Bash. |
| 97 | +based on https://github.com/docopt/docopts/tree/packaging-debian |
| 98 | + |
| 99 | +## first release in Go |
| 100 | + |
| 101 | +Tag: `v0.6.2` |
| 102 | + |
| 103 | +This is a transitional release. |
| 104 | + |
| 105 | +Docopt for shell. |
| 106 | +It supports all of the previous API. |
| 107 | + |
| 108 | +Fully compatible with previous 0.6.1 Python code for Bash. |
| 109 | +See: https://github.com/docopt/docopts/tree/v0.6.1%2Bfix |
| 110 | +based on master branch |
| 111 | + |
| 112 | +changes: |
| 113 | + - now written in Go, no more Python dependency |
0 commit comments