From 084a41cfbd66a779c56d45fcc54ebbd0da03a54f Mon Sep 17 00:00:00 2001 From: hanez Date: Fri, 24 Jul 2026 20:56:33 +0200 Subject: [PATCH] CHANGELOG.md replaced dashes fix. No code changes. (0.40.9) --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fa528f..7b60ec1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ - Converted AI async responses (`ai_check_completion()`) to use `irc_reply()`, so AI answers delivered after the original query also show the requesting user's nick. - Converted AI error messages in `ai_ask()` (rate-limit busy, fork failure, start failure) to use `irc_reply()`. - Removed redundant manual nick prefixes from commands that already embedded the sender's nick in their response text: `!ping` (`"nick: pong!"`), `!calc` (`"nick: result"`), `!time` (`"nick: 2026-07-24 ..."`), `!uptime` (`"nick: up 3d ..."`), and greeting/chat responses (`"Hi, nick!"` → `"nick: Hi!"`). -- Admin commands (`!quit`, `!reload`, `!restart`, `!rebuild`, `!code`) are intentionally excluded — these are privileged operations where the nick prefix adds no value. +- Admin commands (`!quit`, `!reload`, `!restart`, `!rebuild`, `!code`) are intentionally excluded - these are privileged operations where the nick prefix adds no value. - The `tell_deliver()` function retains its own existing format and was not modified. 2026.07.24 - Secure file ops, TLS hardening, input validation, security docs. (0.40.7) @@ -23,7 +23,7 @@ - CMake compiler/linker hardening: added `-Wformat=2 -Wstrict-prototypes -fstack-protector-strong`, `_FORTIFY_SOURCE=3` for release builds, and RELRO + noexecstack linker flags. Fixed `_FORTIFY_SOURCE` redefinition warning on musl/Alpine by undefining before redefining via `SHELL:` prefix. - Added `!calc` input validation: rejects expressions longer than 256 chars and disallows non-numeric characters (only digits, `.`, `()`, `+-*/^%`, and whitespace are permitted). - Added `!stock` symbol validation: rejects symbols containing characters other than alphanumerics, `.`, `-`, `^`, or `=`. -- Fixed `!quit`, `!reload`, `!restart` to require channel context — these commands now reject DM usage with a clear error instead of silently passing the op check. +- Fixed `!quit`, `!reload`, `!restart` to require channel context - these commands now reject DM usage with a clear error instead of silently passing the op check. - Fixed log timestamp format: `%y` (2-digit year) → `%Y` (4-digit year). - Fixed `asprintf` return value check in `!forecast` error paths (avoids using a potentially NULL error string). - Fixed `!reload` fork-in-place mode: only saves TLS session state when `exec_new=1`, since fork-in-place inherits the live socket. @@ -91,7 +91,7 @@ 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. -- Removed `irc_part_all()` from the reload path — the bot no longer parts channels on reload, so voice mode (+v) and channel presence are preserved. +- Removed `irc_part_all()` from the reload path - the bot no longer parts channels on reload, so voice mode (+v) and channel presence are preserved. - Reset `pending_ai_pid`/`pending_ai_id` in the fork child to avoid the stale state from orphaned AI processes. - `!reload` and `!restart` now keep the bot's IRC session alive (no nick collision, no rejoin, no lost voice). `!rebuild`/`!code` still do a clean QUIT+exec since the binary changed.