Repository navigation
v2.0.1
uvent v2.0.1 — Release Notes
New Features
- Socket timeouts
- Added
set_timeout_ms(timeout_t)forTCPClientSocket. - Allows per-socket timeout configuration, overriding global defaults.
- Added
- Timers
- Added ability to spawn custom timers with types:
INTERVAL,TIMEOUT. - Improved timer API documentation
- Clear separation between
TIMEOUT(fires once) andINTERVAL(repeats). - Added examples and warnings for safe usage (
spawn_timer, lifetime management, UAF prevention).
- Clear separation between
Enhancements
- Extended documentation for
SocketAPI (async/sync I/O, connect, send/receive helpers). - Added lifecycle notes for timers and sockets (clarifying destruction and safe usage).
- MkDocs navigation restructured (
Getting Started,Quick Start,Socket,Awaitable,Timer,System Primitives,uvent).
Bugfixes
- Fixed timeouts.
- Clarified destruction path of
Timerobjects to prevent user-side manual free (avoids UAF). - Documentation warnings for uninitialized or re-used timers.
Full changelog: see commits.