Skip to content

2.4.0

Latest
Compare
Choose a tag to compare
@getsentry-bot getsentry-bot released this 25 Nov 15:37

API Changes

  • The Runtime- and BuildTime-Configuration have been merged into a single OptionsConfiguration script. This allows for programmatic configuration of the SDK in one place using precompile directives. Note, that the current limitation of options for Android and iOS being baked into the project at build time still remains. (#1888)
    This is part of a larger effort to simplify the configuration of the native SDKs and enable users to modify their options at runtime. For more information see #1907

Features

  • The SDK now provides a dedicated sentry-cli scriptable config, available on the Debug Symbols tab. This allows for programmatic configuration of the used cli-options during build. (#1887)

Fixes

  • Fix potential NullReferenceException when trying to attach a view hierarchy to an event (#1919)
  • The SDK no longer sends events when it fails to initialize the native SDK on Windows and Linux and logs those instead. It also suppresses EntryPointNotFoundException if sentry-native is not available at runtime. Native crashes won't get capture but it'll continue to capture C# errors. (#1898)
  • The SDK no longer closes the underlying native SDK during the games shutdown if native support has not been enabled. This allows the SDK to support and capture errors in case of building the game as a library on a mobile (Android or iOS) game. (#1897)

Dependencies