Skip to content

Releases: getsentry/sentry-native

0.12.6

05 Feb 12:18

Choose a tag to compare

Features:

  • Add support for metrics. It is currently experimental, and one can enable it by setting sentry_options_set_enable_metrics. When enabled, you can record a metric using sentry_metrics_count(), sentry_metrics_gauge(), or sentry_metrics_distribution(). Metrics can be filtered by setting the before_send_metric hook. (#1498)

0.12.5

02 Feb 14:21

Choose a tag to compare

Features:

  • Add attachment support to user feedback. (#1414)

Fixes:

  • Structured logs: avoid modifying custom per-log attributes when merging with scope attributes. (#1500)

0.12.4

26 Jan 10:32

Choose a tag to compare

Fixes:

  • Crashpad: namespace mpack to avoid ODR violation. (#1476, crashpad#143)
  • Structured logs: stop local attributes overwriting all globally set attributes. They now get merged, and local values overwrite existing global values for the same key. (#1486)

0.12.3

08 Jan 14:10

Choose a tag to compare

Fixes:

  • Removed the 10-item limit per envelope for non-session data. Sessions are now limited to 100 per envelope, while other items (e.g., attachments) have no limit in amount. (#1347)
  • Align the breakpad interface changes introduced with #1083 with the corresponding iOS build. (#1465)
  • Add structured logs to debug output when debug option is set. (#1466)

0.12.2

01 Dec 12:49

Choose a tag to compare

Features:

  • Add custom attributes API for logs. When logs_with_attributes is set to true, treats the first varg passed into sentry_logs_X(message,...) as a sentry_value_t object of attributes. (#1435)
  • Add runtime API to query user consent requirement. (#1443)
  • Add logs flush on sentry_flush(). (#1434)
  • Add global attributes API. These are added to all sentry_log_X calls. (#1450)

0.12.1

03 Nov 12:19

Choose a tag to compare

Fixes:

  • PS5/Switch compilation regression (sentry__process_spawn signature change) (#1436)

0.12.0

29 Oct 15:58

Choose a tag to compare

Breaking changes:

  • If you use a narrow string path interface (for instance, sentry_options_set_database_path()) on Windows rather than one of the wide string variants (sentry_options_set_database_pathw()), then the expected encoding is now UTF-8. (#1413)

Features:

  • Add an option to use the stack pointer as an upper limit for the stack capture range in crashpad on Windows. This is useful for targets like Proton/Wine, where one can't rely on the TEB-derived upper bound being correctly maintained by the system, leading to overly large stack captures per thread. (#1427, crashpad#137)

Fixes:

  • Add logs flush on crash. This is not available for macOS with the crashpad backend. (#1404)
  • Make narrow UTF-8 the canonical path encoding on Windows. (#1413)
  • Re-add setting thread name for Windows transport. (#1424)
  • Fix AOT interop with managed .NET runtimes. (#1392)

Internal:

0.11.3

14 Oct 15:34

Choose a tag to compare

Features:

  • Add support for outgoing W3C traceparent header propagation with the propagate_traceparent option. (#1394)
  • Add sentry_options_set_external_crash_reporter_path to allow specifying an external crash reporter. (#1303)

Fixes:

  • Use proper SDK name determination for structured logs sdk.name attribute. (#1399)
  • Serialize uint64 values as numerical instead of string. (#1408)

0.11.2

02 Oct 08:54

Choose a tag to compare

Fixes:

  • Windows: Make symbolication and the modulefinder independent of the system ANSI code page. (#1389)

0.11.1

23 Sep 16:14

Choose a tag to compare

Features:

  • Add support for structured logs. It is currently experimental, and one can enable it by setting sentry_options_set_enable_logs. When enabled, you can capture a log using sentry_log_info() (or another log level). Logs can be filtered by setting the before_send_log hook. (#1271)