Skip to content

v2.0.1

Choose a tag to compare

@g2px1 g2px1 released this 22 Sep 21:20
· 170 commits to main since this release

uvent v2.0.1 — Release Notes

New Features

  • Socket timeouts
    • Added set_timeout_ms(timeout_t) for TCPClientSocket.
    • Allows per-socket timeout configuration, overriding global defaults.
  • Timers
  • Added ability to spawn custom timers with types: INTERVAL, TIMEOUT.
  • Improved timer API documentation
    • Clear separation between TIMEOUT (fires once) and INTERVAL (repeats).
    • Added examples and warnings for safe usage (spawn_timer, lifetime management, UAF prevention).

Enhancements

  • Extended documentation for Socket API (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 Timer objects to prevent user-side manual free (avoids UAF).
  • Documentation warnings for uninitialized or re-used timers.

Full changelog: see commits.