Releases: getsentry/sentry-godot
Releases · getsentry/sentry-godot
Release list
2.1.1
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 bybefore_send(#845)
Dependencies
2.1.0
Tip
Upgrading from v1.x? Check out the Migration Guide.
Features
- Add
set_context(),set_user(), andset_fingerprint()to theSentryEventAPI (#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
SentryOptionscallback, such asbefore_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()andclose()now report an error when called off the main thread, matching the SDK's lifecycle requirement
Dependencies
2.0.1
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
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_detectiontofalseto 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
- ANR detection is now enabled by default; set
- Align App Hang Tracking options with other gaming SDKs (#753)
- Renamed
SentryOptions.app_hang_trackingtoSentryOptions.enable_app_hang_tracking; the old name remains as a deprecated alias. - Renamed
SentryOptions.app_hang_timeout_sectoSentryOptions.app_hang_timeout_ms, now configured in milliseconds; the old name remains as a deprecated alias, and existing Project Settings are migrated automatically.
- Renamed
- App Hang Tracking is now enabled by default; set
SentryOptions.enable_app_hang_trackingtofalseto opt out (#773) - Group Godot logger options under
SentryOptions.godot_logger(#759)- Moved the
SentryOptions.logger_*options underSentryOptions.godot_logger(for example,logger_event_maskbecomesgodot_logger.event_mask); the old names remain as deprecated aliases. - Renamed
logger_include_sourcetogodot_logger.include_source_contextas part of the move. - Existing Project Settings under Sentry > Logger are migrated automatically.
- Moved the
- Remove the deprecated
SentryOptions.experimental.enable_logsandexperimental.before_send_logproperties, which had remained as compatibility forwarders since logs became generally available; useSentryOptions.enable_logsandSentryOptions.before_send_loginstead (#766)
Features
- C#/.NET support is now generally available (#775)
- Metrics are now generally available and supported on all platforms (#755)
- Moved
enable_metricsandbefore_send_metricfromSentryOptions.experimentaltoSentryOptions; the experimental properties remain as deprecated aliases, and existing Project Settings are migrated automatically.
- Moved
- Add
SentrySDK.bad_codeAPI 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-symbolsarchive 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
Features
- Experimental: C#/.NET support (started in
2.0.0-beta.0)
Dependencies
2.0.0-beta.1
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_piioption on Web platform (#695)
Dependencies
2.0.0-beta.0
Breaking changes
- Enable logs and disable auto-logging by default (#680)
SentryOptions.enable_logsnow defaults totrue; the Godot logger integration no longer auto-captures events as Sentry Logs. SetSentryOptions.logger_log_mask(e.g.MASK_ERROR | MASK_SCRIPT | MASK_SHADER) to opt back in.- Added
SentryOptions.logger_log_maskto choose which Godot logger events are auto-captured as Sentry Logs. - Renamed
SentryOptions.GodotErrorMasktoSentryOptions.GodotLoggerEventMaskand added theMASK_MESSAGEflag for log messages. - Deprecated
SentryOptions.logger_messages_as_breadcrumbs; set theMASK_MESSAGEflag inlogger_breadcrumb_maskinstead.
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.SentrySdkuse and suggestsSentry.Godot.SentrySdk(#663) - Alias bare
SentrySdktoSentry.Godot.SentrySdkto avoid ambiguity when consumer code also doesusing Sentry;(#664) - Import
Sentry.Godot.propsinto user's C# project automatically (#671) - Populate app name and version in .NET layer configuration (#686)
- Expose the full Sentry .NET SDK API on
Dependencies
1.6.0
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
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()andSentrySDK.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_typein device context (#587) - Enrich device context with SMBIOS hardware identity and identify Steam Deck (#597)