From b7b01494926a134f39daf8102281889702ddf62b Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 15 Nov 2026 17:13:24 +0100 Subject: 0.5.3: session locking, UTF-8 and size guards for edit, correct character widths - exclusive flock on session files - edit refuses non-UTF-8 and >64 MiB files with actionable messages - editor uses unicode-width, expands tabs, handles resize --- CHANGELOG.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 38d38e2..7d63d98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,21 @@ break the interface, **PATCH** for bug fixes. file, and the tool schemas the model sees. Anything a script or a resumed session could depend on counts as API. +## 0.5.3 + +### Fixed +- Two processes could append to the same session and interleave messages, which + corrupts a transcript permanently. A session now takes an exclusive `flock` and + the second process is told the session is already open. +- `edit` on a file that is not valid UTF-8 failed with a raw codec error after + reading it; it now says so up front and points at `bash`. Files over 64 MiB are + refused the same way, instead of failing mid-rewrite on the 32-bit target. +- The line editor counted every character as one column, so CJK text, combining + marks and pasted tabs put the caret in the wrong place. Widths now come from + `unicode-width`, with tabs expanded to the next multiple of eight. +- A terminal resize during editing left the redraw's row count stale and could + erase output above the prompt; the editor now starts a fresh prompt line. + ## 0.5.2 ### Fixed -- cgit v1.2.3