mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2024-12-18 22:27:51 +00:00
2.8 KiB
2.8 KiB
Changelog
master
Released: Unreleased. Commit log
- For delete-key-friendliness, bundle the commandline definition block along with its parser
- Less verbose header comments
- For delete-key-friendliness, don't crash on undeclared help vars
- Introduce
errtrace
, which is on by default (BREAKING) - Add a configurable
helptext
that is left alone by the parses and allows you to have a richer help - Add a simple documentation website
- Add best practice of using
__double_underscore_prefixed_vars
to indicate global variables that are solely controlled inside your script - Make license more permissive by not requiring distribution of the LICENSE file if the copyright & attribution comments are left intact
- Respect
--no-color
by setting theNO_COLOR
flag inmain.sh
(#25, thx @gdevenyi) - Split out changelog into separate file
- Added a FAQ (#15, #14, thanks @rouson)
- Fix Travis OSX testing (before, it would silently pass failures) (#10)
- Enable dashes in long, GNU style options, as well as numbers (thanks @zbeekman)
v2.0.0
Released: 2016-02-17. Commit log
- Add tests for
templater
and follow Library export best practices - Add tests for
ini_val
and follow Library export best practices - Add tests for
parse_url
and follow Library export best practices - Add tests for
megamount
and follow Library export best practices - Remove
bump
fromsrc
(BREAKING) - Remove
semver
fromsrc
(BREAKING)
v1.2.1
Released: 2016-02-17. Commit log
- Add Travis CI automated testing for OSX (thanks @zbeekman)
v1.2.0
Released: 2016-02-16. Commit log
- Allow disabling colors via
NO_COLOR
environment variable - Enable
errexit
,nounset
andpipefail
options at the top of the script already - More refined colors (thanks @arathai)
- Add a changelog to the README
- Add
__os
magic var (limited to discovering OSX and defaulting to Linux for now) - Add
__base
magic var (main
, if the source script ismain.sh
) - Enable long, GNU style options (thanks @zbeekman)
- Add Travis CI automated testing for Linux
v1.1.0
Released: 2015-06-29. Commit log
- Add
ALLOW_REMAINDERS
configuration to templater - Fix typo: 'debugmdoe' to 'debugmode' (thanks @jokajak)
- Use
${BASH_SOURCE[0]}
for__file
instead of${0}
v1.0.3
Released: 2014-11-02. Commit log
- Add
ini_val
,megamount
,parse_url
- Add re-usable libraries in
./src
- Use npm as an additional distribution channel