github getsentry/sentry-native 0.17.2

4 hours ago

Features:

  • Add SENTRY_SDK_VERSION_MAJOR, SENTRY_SDK_VERSION_MINOR, SENTRY_SDK_VERSION_PATCH, and SENTRY_SDK_VERSION_AT_LEAST for compile-time version checks. (#2136)
  • Let downstream platform integrations supply the installation ID. (#2150)
  • Native/Crashpad/Linux: Add max_stack_capture_size option to limit non-crashing thread stack capture size. (#2137, crashpad#172)
  • Add sentry_value_from_json, sentry_value_from_msgpack, and sentry_value_from_msgpack_stream alongside the existing JSON and MessagePack serialization APIs to provide public bidirectional APIs for serializing and deserializing sentry values as JSON and MessagePack. (#2153)

Fixes:

  • Crashpad: avoid logging expected report lock contention (crashpad#171, #2138)
  • Start telemetry pool and batcher threads on demand, avoiding unnecessary worker threads for applications that do not send logs or metrics. (#2144, #2145)
  • Discard log and metric batches when the serialization pool is full instead of blocking the batcher threads with synchronous serialization. (#2148)
  • Restore the installation ID as the default user.id when removing the global user with sentry_remove_user. (#2151)
  • Unbind a finished span from the scope even when the span is dropped. (#2158)
  • Native: fix sentry_reinstall_backend to reinstall crash handlers without restarting the backend. (#2159)
  • Validate attachment reference paths before TUS upload and cleanup to prevent path traversal and unintended file uploads or deletions. (#2165)

Thank you:

Don't miss a new sentry-native release

NewReleases is sending notifications on new releases.