Skip to content

Releases: grega/hdi

v0.16.0

20 Mar 20:57
abe3a13

Choose a tag to compare

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

20 Mar 19:20
f1b6b61

Choose a tag to compare

Adds support for hdi deploy (hdi d) subcommand.

Full Changelog: v0.14.0...v0.15.0

v0.14.0

19 Mar 23:19
0b081dc

Choose a tag to compare

Fix crash on Linux.

Full Changelog: v0.13.0...v0.14.0

v0.12.0

18 Mar 12:26
a61e612

Choose a tag to compare

Benchmark chart generated during release process

Full Changelog: v0.11.0...v0.12.0

v0.10.0

17 Mar 23:41
d64b0fc

Choose a tag to compare

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

17 Mar 22:40
96e3d47

Choose a tag to compare

Full Changelog: v0.8.0...v0.9.0

v0.8.0

17 Mar 22:38
275d691

Choose a tag to compare

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

16 Mar 23:19
746b7fd

Choose a tag to compare

Full Changelog: v0.6.0...v0.7.0

v0.6.0

16 Mar 23:10
b90ece4

Choose a tag to compare

Full Changelog: v0.5.0...v0.6.0

v0.5.0

16 Mar 23:00
2b6add5

Choose a tag to compare

Full Changelog: v0.4.0...v0.5.0