Skip to content

4.5.0

Choose a tag to compare

@chrisallenlane chrisallenlane released this 15 Feb 00:59
· 28 commits to master since this release

Bug Fixes

  • Fix inverted pager detection logic (returned error string instead of path)
  • Fix repo.Clone ignoring destination directory parameter
  • Fix sheet loading using append on pre-sized slices, causing nil entries
  • Clean up partial files on copy failure
  • Trim whitespace from editor config during loading

Security

  • Add path traversal protection for cheatsheet names

Performance

  • Move regex compilation outside search loop
  • Replace O(n²) string concatenation with strings.Join in search

Build & Testing

  • Remove go:generate; embed config and usage as string literals
  • Parallelize release builds
  • Add fuzz testing infrastructure
  • Improve test coverage from 38.9% to 50.2%

Documentation

  • Fix inaccurate code examples in HACKING.md
  • Add missing --conf and --all options to man page
  • Add ADRs for path traversal, env parsing, and search parallelization
  • Update CONTRIBUTING.md to reflect project policy