Skip to content

v0.4.0

Choose a tag to compare

@v-maxson v-maxson released this 05 Jul 21:55
· 5 commits to master since this release

Added

  • Error module: thread-local error state via cpr_get_error() / cpr_clear_error()
  • Env module for reading/writing/querying environment variables
  • Rand module for random number generation
  • Base64 encoding/decoding
  • Endian conversion helpers
  • Ring buffer data structure

Changed

  • BREAKING: Arena, atomic, fs, log, sync, and thread APIs now report errors through the new error model instead of their previous mechanism.

Fixed

  • arena: improper alignment on macOS
  • fs: empty-string handling, out-of-bounds read
  • log: mutex-init failure handling, 64-bit ftell handling, a loop that only ran once, truncation-marker writing
  • time: incorrect variable read, potential data race

Full Changelog: v0.3.1...v0.4.0