2
0
Fork 0
forked from zynk/zynk

Fix whitespace collapsing in !ai, !gitlog, !changelog responses. (0.39.1)

This commit is contained in:
Johannes Findeisen 2026-07-22 01:03:22 +02:00
commit 184d4c4000
2 changed files with 21 additions and 12 deletions

View file

@ -1,3 +1,12 @@
2026.07.22 - Fix whitespace collapsing in !ai, !gitlog, !changelog responses. (0.39.1)
- Fixed `collapse_spaces()` to treat tabs, newlines, and carriage returns as whitespace (not just spaces), collapsing any run of mixed whitespace into a single space.
- `collapse_spaces()` now strips leading and trailing whitespace from output.
- Added `collapse_spaces()` call to `!ai` responses (after `strip_ai_phrases()`).
- Added `collapse_spaces()` call to `!changelog full` entries before sending.
- Fixed `!gitlog full` output still containing multiple spaces from git's tab-delimited commit fields.
- Version bumped to 0.39.1.
2026.07.21 - Hot reload preserves IRC session (nick, channels, voice). (0.39.0)
- `reload_do()` now accepts an `exec_new` parameter: when 0 (`!reload`/`!restart`), the child inherits the socket fd and SSL context directly and continues the event loop without reconnecting; when 1 (`!rebuild`/`!code`), the old fork+exec path is used.