Skip to content

Conversation

@github-actions
Copy link

Bumps sentry-android-ndk/sentry-native from 0.7.8 to 0.9.1.

Auto-generated by a dependency updater.

Changelog

0.9.1

Features:

  • The sentry_attach_file/bytes, sentry_scope_attach_file/bytes (and their wide-string variants), and sentry_remove_attachment have been added to modify the list of attachments that are sent along with sentry events after a call to sentry_init. (#1266, #1275)
    • NOTE: When using the crashpad backend on macOS, the list of attachments that will be added at the time of a hard crash will be frozen at the time of sentry_init, and later modifications will not be reflected.
  • Add sentry_attachment_set_content_type to allow specifying the content type of attachments. (#1276)
  • Add sentry_attachment_set_filename to 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:

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_transaction callback. (#1236)
  • Add support for capturing events with local scopes. (#1248)
  • Add Windows support for the crashpad_wait_for_upload flag. (#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_context as the single source of trace_id for spans and events. Transactions no longer create a new trace, but inherit the trace from the propagation_context created during SDK initialization. This context can be later modified through sentry_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:

  • Remove compile-time check for the libcurl feature AsynchDNS. (#1206)
  • Support musl on Linux. (#1233)

Thank you:

0.8.4

Features:

  • Provide an option for downstream SDKs to attach a view hierarchy file. (#1191)

Fixes:

  • Provide a more defensive automatic thread stack guarantee. (#1196)

0.8.3

Features:

  • Add an option to attach screenshots on Windows to fatal error events. (#1170, crashpad#123)
  • Add an option for Crashpad on Linux to delay application shutdown until the upload of the crash report in the crashpad_handler is complete. This is useful for deployment in Docker or systemd, where the life cycle of additional processes is bound by the application life cycle. (#1153, crashpad#121)
  • Expose traces_sample_rate option for synchronization with Android SDK. (#1176)

Thank you:

0.8.2

Fixes:

  • Provide a mutex-initializer on platforms with no static pthread initializer for recursive mutexes. (#1113)

Features:

Thank you:

Nerixyz

0.8.1

Features:

  • Added sentry_set_trace(). The primary use for this is to allow other SDKs to propagate their trace context. This allows Sentry to connect events on all layers. (#1137)

0.8.0

Breaking changes:

  • Return type of sentry_capture_minidump() and sentry_capture_minidump_n() changed from void to sentry_uuid_t to retrieve the event-id for a successful minidump upload. (#1138)

Features:

  • Ensure support for http_proxy and https_proxy environment 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:

zsd4yr

0.7.20

Features:

  • Auto-detect the latest GDK and Windows SDK for the Xbox build. (#1124)
  • Enable debug-option by default when running in a debug-build. (#1128)

Fixes:

  • Allow older toolchains with assemblers that don't support PAC-stripping instructions on aarch64 to compile crashpad. (#1125, crashpad#118)
  • Set default max_spans to 1000. (#1132)

0.7.19

Fixes:

0.7.18

Features:

0.7.17

Features:

  • [NDK] Expose option to set handler strategy. (#1099)
  • Add Linux distributions to the OS context. (#963)

Fixes:

  • Add metadata pointer check to prevent crashes when cleaning the crashpad database. (#1102, crashpad#115)

0.7.16

Features:

  • Add SOCKS5 proxy support for macOS and Linux. (#1063)
  • Extend performance API with explicit timings. (#1093)

0.7.15

Fixes:

  • Fix DLL versioning for projects that add the Native SDK as a CMake subdirectory. (#1086)

0.7.14

Features:

  • Android NDK: Add .loadNativeLibraries() method to allow pre-loading .so files. (#1082)
  • Fill the ucontext_t field in the sentry_ucontext_t [on_crash|before_send]-hook parameter on macOS from the breakpad backend. (#1083, breakpad#39)

Thank you:

saf-e

0.7.13

Features:

  • Provide version information for non-static Windows binaries. (#1076, crashpad#110)
  • Add an alternative handler strategy to inproc to support .NET on Linux and Mono on Android (specifically, .NET MAUI). (#1027)

Fixes:

  • Correct the timeout specified for the upload-task awaiting dispatch_semaphore_wait() when using an HTTP-proxy on macOS. (#1077, crashpad#111)
  • Emit transaction.data inside context.trace.data. (#1075)

Thank you:

olback

0.7.12

Features:

  • Add sentry_capture_minidump() to capture independently created minidumps. (#1067)

Fixes:

  • Add breadcrumb ringbuffer to avoid O(n) memmove on adding more than max breadcrumbs. (#1060)

0.7.11

Fixes:

  • Reject invalid trace- and span-ids in context update from header. (#1046)
  • Lookup GetSystemTimePreciseAsFileTime() at runtime and fall back to GetSystemTimeAsFileTime() to allow running on Windows < 8. (#1051)
  • Allow for empty DSN to still initialize crash handler. (#1059)

0.7.10

Fixes:

  • Correct the timestamp resolution to microseconds on Windows. (#1039)

Thank you:

0.7.9

Fixes:

  • Check file-writer construction when writing envelope to path. (#1036)

@github-actions github-actions bot force-pushed the deps/sentry-android-ndk/sentry-native/0.9.1 branch from b2ff19e to 74dc1d6 Compare June 26, 2025 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants