Releases: getsentry/sentry-native
Releases · getsentry/sentry-native
0.10.1
0.10.0
Breaking changes:
- By using transactions as automatic trace boundaries, transactions will, by default, no longer be part of the same singular trace. This is not the case when setting trace boundaries explicitly (
sentry_regenerate_trace()orsentry_set_trace()), which turns off the automatic management of trace boundaries. (#1270) - Change transaction sampling to be trace-based. This does not affect you when transactions are used for automatic trace boundaries (as described above), since every transaction is part of a new trace. However, if you manage trace boundaries manually (using
sentry_regenerate_trace()) or run the Native SDK inside a downstream SDK like the Unity SDK, where these SDKs will manage the trace boundaries, for a giventraces_sample_rate, either all transactions in a trace get sampled or none do with probability equal to that sample rate. (#1254) - Moved Xbox toolchains to an Xbox-specific repository sentry-xbox. You can request access to the repository by following the instructions in Xbox documentation. (#1329)
Features:
- Add
sentry_clear_attachments()to allow clearing all previously added attachments in the global scope. (#1290) - Automatically set trace boundaries with every transaction. (#1270)
- Provide
sentry_regenerate_trace()to allow users to set manual trace boundaries. (#1293) - Add
Dynamic Sampling Context (DSC)to events. (#1254) - Add
sentry_value_new_feedbackandsentry_capture_feedbackto allow capturing User Feedback. (#1304)- Deprecate
sentry_value_new_user_feedbackandsentry_capture_user_feedbackin favor of the new API.
- Deprecate
- Add
sentry_envelope_read_from_file,sentry_envelope_get_header, andsentry_capture_envelope. (#1320) - Add
(u)int64sentry_value_ttype. (#1326)
Meta:
- Marked deprecated functions with
SENTRY_DEPRECATED(msg). (#1308)
Internal:
- Crash events from Crashpad now have
event_iddefined similarly to other backends. This makes it possible to associate feedback at the time of crash. (#1319)
0.9.1
Features:
- The
sentry_attach_file/bytes,sentry_scope_attach_file/bytes(and their wide-string variants), andsentry_remove_attachmenthave been added to modify the list of attachments that are sent along with sentry events after a call tosentry_init. (#1266, #1275)- NOTE: When using the
crashpadbackend on macOS, the list of attachments that will be added at the time of a hard crash will be frozen at the time ofsentry_init, and later modifications will not be reflected.
- NOTE: When using the
- Add
sentry_attachment_set_content_typeto allow specifying the content type of attachments. (#1276) - Add
sentry_attachment_set_filenameto allow specifying the filename of attachments displayed in the Sentry WebUI. (#1285)
Meta:
- Identify Xbox as a separate SDK name
sentry.native.xbox. (#1287)
Internal:
- Updated
breakpadto 2025-06-13. (#1277, breakpad#41)
0.9.0
Breaking changes:
- Limiting the proguard rules in the NDK package moves the burden of the configuration to its users. Please ensure to configure proguard in your project so native methods in your namespace can be symbolicated if they appear in stack traces. (#1250)
- When tags, contexts, and extra data are applied to events, the event data now takes precedence over the scope data as outlined in the Hub & Scope Refactoring developer document and the linked RFC code example. (#1253)
Features:
- Provide
before_send_transactioncallback. (#1236) - Add support for capturing events with local scopes. (#1248)
- Add Windows support for the
crashpad_wait_for_uploadflag. (#1255, crashpad#126)
Fixes:
- Reduce the scope of the proguard rules in the NDK package to local namespaces. (#1250)
- Close the file and return 0 on success when writing raw envelopes. (#1260)
- Fix event tags, contexts, and extra data to take precedence when applying scope data. (#1253)
Docs:
- Document convenience PowerShell runners for formatting and tests on Windows. (#1247)
0.8.5
Breaking changes:
- Use
propagation_contextas the single source oftrace_idfor spans and events. Transactions no longer create a new trace, but inherit the trace from thepropagation_contextcreated during SDK initialization. This context can be later modified throughsentry_set_trace()(primarily used by other SDKs). (#1200)
Features:
- Add
sentry_value_new_user(id, username, email, ip_address)function to avoid ambiguous user-context-keys. (#1228)
Fixes:
Thank you:
0.8.4
0.8.3
Features:
- Add option to attach screenshots on Windows to fatal error events. (#1170, crashpad#123)
- Add an option for
Crashpadon Linux to delay application shutdown until the upload of the crash report in thecrashpad_handleris complete. This is useful for deployment inDockerorsystemd, where the life cycle of additional processes is bound by the application life cycle. (#1153, crashpad#121) - Expose
traces_sample_rateoption for synchronization with Android SDK. (#1176)
Thank you:
0.8.2
Fixes:
- Provide a mutex-initializer on platforms that have no static pthread initializer for recursive mutexes. (#1113)
Features:
- Provide Clang-CL support. (#1161, crashpad#100)
- Enable Crashpad report upload retry-mechanism for all platforms (#1152, crashpad#120)
Thank you:
0.8.1
0.8.0
Breaking changes:
- Return type of
sentry_capture_minidump()andsentry_capture_minidump_n()changed fromvoidtosentry_uuid_tto retrieve the event-id for a successful minidump upload. (#1138)
Features:
- Ensure support for
http_proxyandhttps_proxyenvironment variables across all transports. (#1111)
Fixes:
- Ensure that
sentry_capture_minidump()fails if the provided minidump path cannot be attached, instead of sending a crash event without minidump. (#1138) - Fix Xbox OS name being reported incorrectly. (#1148)
Thank you: