Releases: Open-Technology-Foundation/mdheaders
Releases · Open-Technology-Foundation/mdheaders
Release list
v1.2.1 - Extended Test Suite
What's New
Extended test suite from 26 to 46 tests for better coverage.
Added
test_errors.sh- 10 tests for error paths and edge casestest_options.sh- 10 tests for options and command aliasestests/run_all.sh- unified test runner with summarytests/fixtures/errors.md- edge case test fixture
Test Coverage Now Includes
- Missing/multiple input files
- Empty files and files without headers
- Unclosed code blocks, indented fences
- Non-standard headers (no space after #)
- Multi-level boundary violations
- Version output, custom backup suffix
- Command aliases (up/down)
- Bundled options, quiet/verbose modes
Full Changelog: v1.2.0...v1.2.1
v1.2.0 - Documentation & Tooling
What's New
Manpage
Full Unix manpage with all commands, options, and examples.
sudo cp mdheaders.1 /usr/share/man/man1/
man mdheadersBash Completion
Tab completion for commands, options, and markdown files.
sudo cp mdheaders.bash_completion /etc/bash_completion.d/mdheadersImproved Documentation
- Standardized function docstrings
- Enhanced help text with Behavior section
- Header comment with license and URL
Installation
# Quick install
sudo curl -fsSL https://raw.githubusercontent.com/Open-Technology-Foundation/mdheaders/main/mdheaders -o /usr/local/bin/mdheaders && sudo chmod +x /usr/local/bin/mdheaders
# Full install (from source)
git clone https://github.com/Open-Technology-Foundation/mdheaders.git
cd mdheaders
sudo cp mdheaders /usr/local/bin/
sudo cp mdheaders.1 /usr/share/man/man1/
sudo cp mdheaders.bash_completion /etc/bash_completion.d/mdheadersTesting
- 26/26 tests passing
- ShellCheck: 0 warnings
v1.1.0 - Single-file Refactor
What's New
This release refactors mdheaders into a self-contained single-file script for simpler installation and distribution.
Changes
- Single-file architecture: Merged library into main script — no external dependencies
- Pure Bash: Replaced
seqwith native Bash parameter expansion - BCS compliance: 100% Bash Coding Standard compliance
- Performance: Moved local declarations outside loops
Installation
Quick install:
sudo curl -fsSL https://raw.githubusercontent.com/Open-Technology-Foundation/mdheaders/main/mdheaders -o /usr/local/bin/mdheaders && sudo chmod +x /usr/local/bin/mdheadersFrom source:
git clone https://github.com/Open-Technology-Foundation/mdheaders.git
sudo cp mdheaders/mdheaders /usr/local/bin/Testing
- 26/26 tests passing
- ShellCheck: 0 warnings