Skip to content

Releases: getsentry/sentry-godot

2.1.1

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 03 Aug 15:02

Fixes

  • Fixed missing line numbers in GDScript frames on Android with Godot 4.6 and later (#826)
  • Fixed SentrySDK.capture_event() on Android returning a valid-looking event ID for events that were discarded, such as by before_send (#845)

Dependencies

2.1.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 16 Jul 10:45

Tip

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

Features

  • Add set_context(), set_user(), and set_fingerprint() to the SentryEvent API (#808)

Improvements

  • Harden shutdown handling to avoid touching Godot state while the engine is tearing down (#811)
    • The SDK now closes as soon as the engine begins shutting down, before Godot tears down the systems it depends on
    • Fixed a crash on exit when a SentryOptions callback, such as before_send, is set to a GDScript lambda
    • The .NET layer now closes shortly before the .NET scripting runtime is torn down, letting pending .NET events flush and preventing calls into the runtime after shutdown begins
    • init() and close() now report an error when called off the main thread, matching the SDK's lifecycle requirement

Dependencies

2.0.1

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 29 Jun 17:30

Tip

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

Fixes

  • Prevent a crash that could occur when an error is raised while another event is being processed (#789)

Other changes

  • Include the license file in the released addon and demo-project packages (#790)

Dependencies

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

2.0.0-beta.2

2.0.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 03 Jun 07:38

Features

  • Experimental: C#/.NET support (started in 2.0.0-beta.0)
    • Symbolicate managed stack frames on Android server-side (#724)
    • Symbolicate iOS NativeAOT stack frames server-side (#727)

Dependencies

2.0.0-beta.1

2.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 22 May 13:31

Features

  • Experimental: C#/.NET support (started in 2.0.0-beta.0)
    • Sync trace context with .NET layer (#696)
    • Sync breadcrumbs, tags and user changes between .NET and native layers (#701, #710)
    • Fix .NET layer not closed when request comes from native layer (#715)
    • Propagate default attachments (log, screenshot, and view hierarchy) to the .NET layer so .NET events include the same attachments as native events (#713)
    • Switch to distributing .NET libs as precompiled DLLs (#719)

Fixes

  • Honor send_default_pii option on Web platform (#695)

Dependencies

2.0.0-beta.0

2.0.0-beta.0 Pre-release
Pre-release

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 07 May 10:48

Breaking changes

  • Enable logs and disable auto-logging by default (#680)
    • SentryOptions.enable_logs now defaults to true; the Godot logger integration no longer auto-captures events as Sentry Logs. Set SentryOptions.logger_log_mask (e.g. MASK_ERROR | MASK_SCRIPT | MASK_SHADER) to opt back in.
    • Added SentryOptions.logger_log_mask to choose which Godot logger events are auto-captured as Sentry Logs.
    • Renamed SentryOptions.GodotErrorMask to SentryOptions.GodotLoggerEventMask and added the MASK_MESSAGE flag for log messages.
    • Deprecated SentryOptions.logger_messages_as_breadcrumbs; set the MASK_MESSAGE flag in logger_breadcrumb_mask instead.

Features

  • Experimental: Add C# (.NET) support (#629, #644)
    • Expose the full Sentry .NET SDK API on Sentry.Godot.SentrySdk (#657)
    • Add Roslyn analyzer that warns on direct Sentry.SentrySdk use and suggests Sentry.Godot.SentrySdk (#663)
    • Alias bare SentrySdk to Sentry.Godot.SentrySdk to avoid ambiguity when consumer code also does using Sentry; (#664)
    • Import Sentry.Godot.props into user's C# project automatically (#671)
    • Populate app name and version in .NET layer configuration (#686)

Dependencies

1.6.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 21 Apr 07:48

Improvements

  • Show export warning when iOS minimum version is too low for Sentry (#628)

Fixes

  • Fix iOS XCFramework plist reporting minimum version 12.0 instead of 15.0 (#627)
  • Guard against accessing view hierarchy before scene tree is ready (#630)

Dependencies

1.5.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 18 Mar 16:51

Breaking changes

  • Bumped minimum iOS version to 15.0 due to Cocoa SDK update (affects less than 1% active devices)

Features

  • Add SteamOS and Wine/Proton support (#591)
  • Enable tombstone support on Android (#584)
  • Add Android x86_32 builds (#585)
  • Add arm64 builds for Windows & Linux (#586)
  • Add scene tree support on macOS and iOS (#589)
  • Support global attributes via SentrySDK.set_attribute() and SentrySDK.remove_attribute(), which are automatically included in all structured logs and metrics (#594)

Improvements

  • Add UI export hint for Android Gradle build requirement (#582)
  • Set device_type in device context (#587)
  • Enrich device context with SMBIOS hardware identity and identify Steam Deck (#597)

Dependencies

1.4.2

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 09 Mar 18:47

Fixes

  • Fix crash on Windows when log messages contain printf format specifiers like %n or %s without corresponding parameters; such string is now preserved as-is in the log body (#578)
  • Fix options set in configuration callback not affecting event processor registration (#580)

Dependencies