Skip to content

Releases: vhbui02/bash-script-template

v3.0.0

10 Jul 18:42
v3.0.0
1060959

Choose a tag to compare

What's Changed

  • chore: change software license to BSD-3-Clause

  • chore: disable editor autocompletion while coding in Shellscript and enable Prettier

  • test: improve test runner on local and CI

  • feat(core): introduce major breaking changes

    • docs(header): add TEMVER header metadata
    • feat(script): move parsing logic to source.sh, add option initialization function, simplify help message generation
    • feat(source): add option registration logic, rewrite parsing logic and help message generation, add validation logic, rewrite script_exit and script_trap_* to use critical() for logging
    • feat(build): monitor source.sh and script.sh to automatically build template.sh
    • feat(clone): rename, add TEMVER placeholder replacement logic, improve prompting logic and eliminate Git CLI dependance
    • test(core): rewrite test cases for script.sh, template.sh and clone.sh
    • test(build): rewrite test cases for build script
    • feat(lite): add TEMVER header metadata
    • ci(release): reflect new name of clone script
  • feat(legacy): add legacy template.sh version 2.4.0

  • docs(README): add README.md

  • fix(core): don't test clone.sh using core test cases

  • fix(release): fix template legacy typo

Full Changelog: v2.4.0...v3.0.0

v2.4.0

08 Jul 17:10
v2.4.0
78cdc5b

Choose a tag to compare

What's Changed

  • feat: achieve zero dependencies and production-ready

    • refactor: span across all script files
    • test: remove package.json and git submodules, run Bats and its libraries inside Docker
    • test: redesign test suite structure
    • ci: remove local git hooks
    • ci: change test.yml to test inside Docker. Testing environment closely resembles production environment
    • docs: redesign the header structure. Stripped version control out of script files
    • chore: refine test.prompt.md to generate better test cases.
  • fix: remote CI testing

Full Changelog: v2.3.1...v2.4.0

v2.3.1

17 Jun 06:41
v2.3.1
fb59580

Choose a tag to compare

What's Changed

  • ci: beautify the release note's body
  • chore: release v2.3.1

Full Changelog: v2.3.0...v2.3.1

v2.3.0

16 Jun 16:09
v2.3.0
74aaca7

Choose a tag to compare

What's Changed

  • feat: add some minor changes

    • feat: change clone_bash_template.sh template from source+script to full
    • test: add test for clone_bash_template.sh
    • test: refine the prompt to automatically generate test cases
    • chore: refactor run_test.sh
    • ci: update pre-commit hook to update clone_bash_template.sh VERSION header metadata
    • ci: test clone_bash_template.sh on remote
    • fix: remove internal functions invocation to avoid command injection vulnerability
    • fix: validate source file name in _copy_file() function to avoid path traversal vulnerability
    • fix: change --mode script_exit log message inside clone_bash_template.sh
    • fix: change script_exit() function logic to stop accepting exit status 0
  • chore: release v2.3.0

Full Changelog: v2.2.0...v2.3.0

v2.2.0

16 Jun 03:38
v2.2.0
006e816

Choose a tag to compare

Full Changelog: v2.1.4...v2.2.0

v2.1.4

10 Jun 02:27
v2.1.4
c9fab86

Choose a tag to compare

Full Changelog: v2.1.3...v2.1.4

v2.1.3

09 Jun 06:02
v2.1.3
e9338f2

Choose a tag to compare

Full Changelog: v2.1.2...v2.1.3

v2.1.2

08 Jun 09:44
v2.1.2
6380bfb

Choose a tag to compare

Full Changelog: v2.1.1...v2.1.2

v2.1.1

31 May 16:58
v2.1.1
0bfdeb8

Choose a tag to compare

Full Changelog: v2.1.0...v2.1.1

v2.1.0

30 May 18:47
v2.1.0
e1db324

Choose a tag to compare

Full Changelog: v2.0.0...v2.1.0