Features:
- Add
SENTRY_SDK_VERSION_MAJOR,SENTRY_SDK_VERSION_MINOR,SENTRY_SDK_VERSION_PATCH, andSENTRY_SDK_VERSION_AT_LEASTfor compile-time version checks. (#2136) - Let downstream platform integrations supply the installation ID. (#2150)
- Native/Crashpad/Linux: Add
max_stack_capture_sizeoption to limit non-crashing thread stack capture size. (#2137, crashpad#172) - Add
sentry_value_from_json,sentry_value_from_msgpack, andsentry_value_from_msgpack_streamalongside 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.idwhen removing the global user withsentry_remove_user. (#2151) - Unbind a finished span from the scope even when the span is dropped. (#2158)
- Native: fix
sentry_reinstall_backendto 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: