2
0
Fork 0
forked from zynk/zynk

0.42.0 Add detailed changelog for flood protection, bump version.

Note: the previous commit (3b97b4d) implemented the flood protection
changes but was committed as 0.41.2. This commit corrects the version
to 0.42.0 to reflect the scope of the changes (breaking rate_limit_check
signature, new constants, new outgoing throttle, etc.) and adds the
matching detailed CHANGELOG.md entry.

Changes documented in CHANGELOG.md:
- Per-poll line limit (MAX_LINES_PER_POLL = 50) in irc_feed()
- Userhost-based rate limiting replacing nick-based tracking
- Violation tracking in RateLimitEntry for escalating penalties
- RATE_LIMIT_MAX increased from 8 to 32
- Outgoing message throttle (OUTGOING_DELAY_MS = 100) in net_send()
- 200ms inter-line delay in !gitlog output
- 150ms inter-chunk delay in AI response delivery
- AI_COOLDOWN_SECS = 5 after query completion
- Rate limiting added to greeting/chat responses
- TELL_DELIVER_MAX = 5 messages per nick per delivery
- Updated all 19 command headers for new rate_limit_check() signature
This commit is contained in:
Johannes Findeisen 2026-07-25 20:44:13 +02:00
commit 4dbdd9bdde
2 changed files with 17 additions and 1 deletions

View file

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.13)
project(zynk VERSION 0.41.2 LANGUAGES C)
project(zynk VERSION 0.42.0 LANGUAGES C)
# Prefer C99; the code is compatible with C99/C11
set(CMAKE_C_STANDARD 99)