Features:
- Forward
enable_logsoption throughNdkOptionsso the Android SDK can enable native structured logging. (#1971) - Report enabled Qt and WER integrations in event SDK metadata (
sdk.integrations) alongside the configured crash backend. ([#1969](https://github.com/
/pull/1969)) - Add
sentry_scope_set_spanandsentry_scope_set_transaction_objectto bind a span or transaction to a given scope. (#1981)
Fixes:
- Remove the
serializing envelope into bufferdebug log that could flood logs on every scope flush when an external crash reporter is configured. (#1988) - Crashpad: avoid allocating while handling a crash. The backend built the attachment
base::FilePathinside the crash handler; if the crash corrupted the heap (e.g. via an overriddenoperator new) that allocation faults again and the report is lost. The paths are now cached at startup. (#1984) - Crashpad: prevent external crash reporters from bypassing revoked user consent. (#1972, crashpad#168)
- Native/Linux: improve startup time by avoiding zeroing a large shmem module array during crash context initialization. (#1966)
- Preserve embedded
NULbytes in strings created withsentry_value_new_string_nduring JSON and MessagePack serialization.sentry_value_get_lengthnow returns the full byte length, which can exceedstrlen(sentry_value_as_string(value)). (#1968)