Repository navigation
1.0.0-beta.1
Pre-release
Pre-release
Breaking / Important behavior changes:
- The
nativebackend is now the default on Linux, macOS, and Windows. (#2186) - macOS/Linux: shared libraries now use ABI-versioned filenames, such as
libsentry.1.dyliborlibsentry.so.1for 1.x. Windows, Android, and static libraries remain unchanged. (#2103)- NOTE: Applications must package the real versioned library and its symlinks, including
libsentry.1.dyliborlibsentry.so.1, because they link to and load the ABI-versioned name.
- NOTE: Applications must package the real versioned library and its symlinks, including
- Release archives now include the SDK version in the filename, such as
sentry-native-1.0.0.zip. (#2105) - Remove deprecated APIs. Migrate to the following alternatives: (#2230)
sentry_new_function_transport: usesentry_transport_newandsentry_transport_set_state. The send callback now receives a mutable envelope, takes ownership of it, and must free it withsentry_envelope_free.sentry_event_value_add_stacktrace: create a thread withsentry_value_new_thread, set its stack withsentry_value_set_stacktrace, and add it to the event withsentry_event_add_thread.sentry_shutdown: usesentry_close.sentry_sdk_nameandsentry_sdk_user_agent: usesentry_options_get_sdk_nameandsentry_options_get_user_agent, orSENTRY_SDK_NAMEandSENTRY_SDK_USER_AGENTfor build-time values.sentry_options_set_http_proxyandsentry_options_set_http_proxy_n: usesentry_options_set_proxyandsentry_options_set_proxy_n.sentry_value_new_user_feedbackandsentry_value_new_user_feedback_n: usesentry_value_new_feedbackandsentry_value_new_feedback_n. The constructor arguments are now message, contact email, name, and associated event ID, with lengths following each string in the_nvariant.sentry_capture_user_feedback: usesentry_capture_feedback.sentry_options_add_view_hierarchy,sentry_options_add_view_hierarchy_n,sentry_options_add_view_hierarchyw, andsentry_options_add_view_hierarchyw_n: create an attachment withsentry_attachment_from_fileor its_n/wide-string variants, set its type toSENTRY_ATTACHMENT_TYPE_VIEW_HIERARCHYwithsentry_attachment_set_type, and add it withsentry_add_attachment. For startup configuration, usesentry_scope_add_attachmentin asentry_options_set_initial_scopecallback.sentry_capture_event_with_scope(event, scope): usesentry_scope_capture_event(scope, event, NULL).sentry_clear_crashed_last_run: remove the call.sentry_initclears the crash marker automatically.sentry_regenerate_trace: usesentry_start_new_trace.
Features:
- Add
sentry_scope_begin_read/sentry_scope_end_readandsentry_scope_begin_write/sentry_scope_end_writefor consistent reads of multiple scope properties and applying multiple scope changes with a single scope flush. (#2107) - Add
sentry_scope_acquireandsentry_scope_releaseto access the isolation scope. (#2160) - Native: Provide exception metadata, registers, and a basic crashing-thread stack to
on_crashfor crash identification. (#2174) - Native: reduce disk I/O on scope changes by sending incremental updates to the crash daemon over IPC. (#2155, #2157)
- Add pkg-config support for shared builds. (#1411)
- Native: install handlers for the daemon's own fatal signals and unhandled exceptions, allowing best-effort recovery actions such as dumping pending envelopes before termination. (#2220)
- Linux: add RISC-V 64 support. (#2232)
- Report the host OS in the OS context under Wine and Proton, instead of the Windows version that Wine emulates. On Linux, prefer the host
os-releaseinside Steam Runtime and Flatpak containers, and report SteamOS and Bazzite as the OS name. (#2241) - Add
sentry_scope_set_tracefor per-scope traces. (#2236) - Add
sentry_continue_traceto continue incoming traces without a transaction. (#2237) - Add
sentry_iter_trace_propagation_headersto propagate traces without a span. (#2240) - Resume interrupted TUS attachment uploads from the server-provided upload offset. (#2058)
- Compress TUS attachment uploads when
SENTRY_TRANSPORT_COMPRESSIONis enabled. (#2222) - Native: allow crash uploads up to 10 seconds by default in async crash upload mode, unless
shutdown_timeoutis set. (#2278) - Native: add Android support. (#1725)
Fixes:
- Native/Inproc: provide
debug_meta.imagesin events passed toon_crash. (#2184) - Native/Linux: reduce daemon stack usage during minidump creation to avoid stack overflows in environments with limited stack space. (#2211)
- Native/Linux: reduce stack usage when unwinding the crashed thread. (#2212)
- Native/Unix: Preserve existing alternate signal stacks to prevent ASan aborts when the initializing thread exits before SDK shutdown. (#2219)
- Native/Linux: fix oversized
debug_meta.imagesentries that overlapped other libraries when a file was mapped more than once. (#2228) - Fix const-correctness of
sentry_options_get_*,sentry_span_iter_headers, andsentry_transaction_iter_headers. (#2277) - Native/Linux: back the crash context with a memfd to prevent
SIGBUSduringsentry_initwhen/dev/shmis full. (#1725) - Native/Unix: capture complete memory regions in
SENTRY_MINIDUMP_MODE_FULLinstead of truncating each region to 4 MB. (#2281) - Native: upload large minidumps separately if
sentry_options_set_enable_large_attachmentsis enabled. (#2281)