Skip to content

2.0.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 26 Jun 10:59

Tip

Upgrading from v1.x? Check out the Migration Guide.

Breaking changes

  • Add Android-specific ANR (Application Not Responding) detection options (#749)
    • ANR detection is now enabled by default; set SentryOptions.android.enable_anr_detection to false to opt out
    • ANR detection is now separate from the App Hang Tracking options (app_hang_tracking, app_hang_timeout_sec), which now apply to Apple platforms only
    • Configure these through SentryOptions.android, or in the Project Settings under Sentry > Android > Application Not Responding
  • Align App Hang Tracking options with other gaming SDKs (#753)
    • Renamed SentryOptions.app_hang_tracking to SentryOptions.enable_app_hang_tracking; the old name remains as a deprecated alias.
    • Renamed SentryOptions.app_hang_timeout_sec to SentryOptions.app_hang_timeout_ms, now configured in milliseconds; the old name remains as a deprecated alias, and existing Project Settings are migrated automatically.
  • App Hang Tracking is now enabled by default; set SentryOptions.enable_app_hang_tracking to false to opt out (#773)
  • Group Godot logger options under SentryOptions.godot_logger (#759)
    • Moved the SentryOptions.logger_* options under SentryOptions.godot_logger (for example, logger_event_mask becomes godot_logger.event_mask); the old names remain as deprecated aliases.
    • Renamed logger_include_source to godot_logger.include_source_context as part of the move.
    • Existing Project Settings under Sentry > Logger are migrated automatically.
  • Remove the deprecated SentryOptions.experimental.enable_logs and experimental.before_send_log properties, which had remained as compatibility forwarders since logs became generally available; use SentryOptions.enable_logs and SentryOptions.before_send_log instead (#766)

Features

  • C#/.NET support is now generally available (#775)
    • Add options.Native.SetBeforeSend hook to inspect, modify, or drop native events (engine, GDScript, and GDExtension errors) from the .NET layer (#737)
    • Sync trace from .NET to native layer (#779)
  • Metrics are now generally available and supported on all platforms (#755)
    • Moved enable_metrics and before_send_metric from SentryOptions.experimental to SentryOptions; the experimental properties remain as deprecated aliases, and existing Project Settings are migrated automatically.
  • Add SentrySDK.bad_code API for deliberately crashing the application to test crash reporting and native stack traces (#765)

Improvements

  • Distribute native debug symbols in a separate sentry-godot-debug-symbols archive instead of bundling them with the addon, reducing the size of the released addon and demo-project packages (#747)

Fixes

  • Fix editor crash on Windows when opening a project that uses C#/.NET (#762)

Dependencies