Releases: vhbui02/bash-script-template
v3.0.0
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
What's Changed
-
feat: achieve zero dependencies and production-ready
- refactor: span across all script files
- test: remove
package.jsonand git submodules, run Bats and its libraries inside Docker - test: redesign test suite structure
- ci: remove local git hooks
- ci: change
test.ymlto 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.mdto generate better test cases.
-
fix: remote CI testing
Full Changelog: v2.3.1...v2.4.0
v2.3.1
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
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
Full Changelog: v2.1.4...v2.2.0
v2.1.4
Full Changelog: v2.1.3...v2.1.4
v2.1.3
Full Changelog: v2.1.2...v2.1.3
v2.1.2
Full Changelog: v2.1.1...v2.1.2
v2.1.1
Full Changelog: v2.1.0...v2.1.1
v2.1.0
Full Changelog: v2.0.0...v2.1.0