Skip to content

v0.21.1

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Sep 00:58
· 8 commits to main since this release
Immutable release. Only release title and notes can be modified.

Faster, reliable paging in LazyGit

Hunk 0.21.1 fixes a pager regression that could peg a CPU core, consume gigabytes of memory, and truncate large color-heavy documents opened through hosts such as LazyGit.

hunk update 0.21.1
npm install -g hunkdiff@0.21.1

Pager reliability

ANSI styling is now restored in a single pass instead of repeatedly rescanning and reallocating the complete document. Headless pager output also writes the full document before exiting, avoiding the previous 64 KB truncation limit for piped consumers. #978

Compatibility notes

  • No configuration, command, or extension API changes.
  • Runtime requirements are unchanged from Hunk 0.21.0.
All merged pull requests
  • Fix pager CPU pegging and truncation on large piped documents by @benvinegar in #978

Release notes: https://hunk.dev/changelog/0.21/
Full changelog: v0.21.0...v0.21.1