Releases: grega/hdi
v0.16.0
Output all commands/sections when running hdi
Running hdi with no subcommand currently shows all matched sections (equivalent to hdi all). The subcommands exist to filter down to a specific category. In future, if the default output becomes too noisy, hdi may return a curated subset while hdi all continues to show everything.
Full Changelog: v0.15.0...v0.16.0
v0.15.0
Adds support for hdi deploy (hdi d) subcommand.
Full Changelog: v0.14.0...v0.15.0
v0.14.0
Fix crash on Linux.
Full Changelog: v0.13.0...v0.14.0
v0.12.0
Benchmark chart generated during release process
Full Changelog: v0.11.0...v0.12.0
v0.10.0
Performance
Significant performance improvements by eliminating subshell overhead and replacing external command calls with native Bash builtins.
| Test Size | Previous (ms) | New (ms) |
|---|---|---|
| Small | 104 | 25 |
| Medium | 478 | 58 |
| Large | 970 | 106 |
| Stress | 1101 | 132 |
Key changes include:
- Replaced pipelines and command substitutions with global variables and pure Bash regex matching, reducing subshell forks and improving execution speed
- Replaced grep, sed, tail, and awk with Bash builtins like [[ =~ ]], parameter expansion, and regex loops for tasks such as language detection, heading parsing, and syntax highlighting
- Pre-compiled regex patterns at startup to avoid rebuilding them in loops, further optimising performance
Full Changelog: v0.9.0...v0.10.0
v0.9.0
Full Changelog: v0.8.0...v0.9.0
v0.8.0
Improve parsing robustness for diverse README formats
- Support tilde fences (~~~), setext headings, indented code blocks
- Join backslash-continued lines into single commands
- Handle ```console blocks (extract prompted lines, skip output)
- Strip trailing ATX hashes and bold / italic from headings
- Expand keyword patterns / regexes
- Fix keyword regex bugs (depend[encies] char class, unescaped dots)
- Anchor 'usage' to heading start, drop 'spec' (false positives)
- Add keywords: docker, scripts, how-to, makefile, compilation, etc.
- Expand CMD_PREFIXES (~30 ecosystems) and SKIP_LANGS (~15 formats)
- Add wl-copy for Wayland clipboard support
Add ability to parse a given .md file, regardless of name
Full Changelog: v0.7.0...v0.8.0
v0.7.0
Full Changelog: v0.6.0...v0.7.0
v0.6.0
Full Changelog: v0.5.0...v0.6.0
v0.5.0
Full Changelog: v0.4.0...v0.5.0