Features:
- Native/Windows: add
sentry_options_set_minidump_flagsfor configuring rawMINIDUMP_TYPEflags. (#1911) - Windows: add WER integration for syncing tags and attachments to WER. (#1837)
- Report
cache_overflowdiscards due tocache_max_itemsorcache_max_size. (#1884) - Crashpad/Windows: optimize scope flushes for crash events and external crash reports. (#1841)
- User feedback now carries scope data, including release, environment, tags, user, and contexts with the trace, so feedback is connected to the same trace as errors from the same session. Attachments set on the scope are sent with the feedback as well, alongside any passed through a hint. This also fixed a memory leak when capturing user feedback before the SDK is initialized. (#1915)
- Add
sentry_scope_capture_feedbackto capture user feedback against a given scope, matchingsentry_scope_capture_event/_log/_metric. The feedback carries the scope's data layered on top of the global scope, including attachments set on that scope, accepts an optional hint for additional attachments, and returns the feedback's event ID. (#1916)
Fixes:
- Fix scope data loss from shared
sentry_value_tcontainers while significantly improving scope merge performance with copy-on-write cloning. (#1794) - Fix a memory leak when JSON parsing rejects invalid input after partially parsed value. (#1887)
- Crashpad: wait reliably for crash report uploads. (#1885)
- Crashpad/Windows: flush Windows attachment IPC responses. (#1895)
- Crashpad/Linux: terminate Linux handler re-entry. (#1894)
- Android: create the outbox directory before writing NDK crash envelopes into it, so envelopes are not lost when the head SDK creates the outbox lazily. (#1889)
- Native/Windows: let WER finish native crash reports to preserve WER custom metadata. (#1904)
- Native/macOS: write signal-handler-captured thread names into the minidump's ThreadNames stream when
task_for_pidfails (e.g. sandboxed apps), so thread names resolve in crash events from packaged apps. (#1905) - Native: don't dump the crash daemon's log to
stderron shutdown unless debug logging is enabled, so terminal applications stay quiet whendebugis off. (#1910) - Native/Windows: capture heap corruption crashes reported as
STATUS_HEAP_CORRUPTION(0xC0000374). (#1909) - Native/Linux: add support for
sentry_options_set_handler_strategy(SENTRY_HANDLER_STRATEGY_CHAIN_AT_START). (#1912) - Windows: the default thread stack guarantee is now actually applied in static builds and is also set by the native backend, so crash handling can run after a stack overflow. (#1918)
- Include
before_sendattachments with local scopes. (#1922)