Skip to content

Commit 5ec2698

Browse files
committed
chore(release): prepare 0.21.1
1 parent 1451e46 commit 5ec2698

13 files changed

Lines changed: 1785 additions & 42 deletions

File tree

‎.changeset/chatty-friends-sing.md‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎.changeset/lazy-pagers-relax.md‎

Lines changed: 0 additions & 9 deletions
This file was deleted.

‎.changeset/loud-pipes-deliver.md‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎CHANGELOG.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## 0.21.1
4+
5+
### Patch Changes
6+
7+
- [#978](https://github.com/modem-dev/hunk/pull/978) [`bfbfac8`](https://github.com/modem-dev/hunk/commit/bfbfac8d2b3a54e1f72256d6dc24e873882d722f) - Fix `hunk pager` pegging a CPU core and growing to gigabytes of memory on large color-heavy
8+
input. Restoring preserved ANSI styling rescanned and reallocated the whole document once per
9+
sequence, so a `git log --graph --color=always` stream from a host like LazyGit took minutes of
10+
solid CPU per process and never produced output. Styling is now restored in a single pass: a 3 MB
11+
branch log pages through in well under a second.
12+
13+
- [#978](https://github.com/modem-dev/hunk/pull/978) [`bfbfac8`](https://github.com/modem-dev/hunk/commit/bfbfac8d2b3a54e1f72256d6dc24e873882d722f) - Fix `hunk pager` truncating its output at 64 KB when a host reads it through a pipe, which cut off
14+
large documents for Git's pager contract, LazyGit, and `| less`. Headless commands now hand the
15+
whole document to the stdout descriptor before exiting, so a piped consumer receives every byte.
16+
317
## 0.21.0
418

519
### Minor Changes

0 commit comments

Comments
 (0)