Skip to content

4.1.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 11 Feb 08:38

Deprecations

  • The time-based log debouncing system (TimeDebounceBase, LogTimeDebounce, ErrorTimeDebounce, WarningTimeDebounce) and related options (EnableLogDebouncing, DebounceTimeLog, DebounceTimeWarning, DebounceTimeError) are now marked as [Obsolete]. Use the new content-based event throttling instead. (#2479)

Behavioral Changes

  • The SDK no longer refreshes the trace ID when changing active scene. This follows the changes to not do so based on lifecycle events, meaning that the trace ID persists from game start to game end, as intended in 4.0.0. (#2502)

Fixes

  • When targeting Xbox, the SDK now properly includes Sentry.Unity.Native (#2529)
  • Fixed IL2CPP line number support for 32-bit Windows and Linux (#2514)
  • The SDK now specifies the files and directories targeted for debug symbol upload instead of pointing sentry-cli at the build output directory (#2485)
  • The 'SceneManagerTracingIntegration' properly respects the AutoSceneTracing flag again (#2496)
  • When targeting Android, the capturing native SDK now has its name correctly set (#2476)
  • Automatically captured transactions and spans now have their Origin correctly set. (#2464)

Features

  • Added Nintendo Switch Native Support. The SDK now automatically syncs the scope - tags, breadcrumbs, context - to the native layer, so native crashes have the same rich context as managed events. (#2503)
  • Sentry trace-connected Metrics are now available as experimental. (#2533)
  • Added content-based error event throttling to prevent repeated errors from consuming quota. The new IThrottler interface and ErrorEventThrottler implementation deduplicate LogError, LogException, and LogAssertion events based on message + stacktrace fingerprinting. Configurable via the Editor window ("Enable Error Event Throttling" + "Dedupe Window"). Breadcrumbs and structured logs are not affected by default. (#2479)

Dependencies