You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The device name (device.name) is now guarded by SendDefaultPii. This also applies to native crashes on desktop and consoles. (#2932)
Fixes
iOS native crashes now come with a screenshot when AttachScreenshot is enabled. Screenshots captured during a crash skip SetBeforeCaptureScreenshot and SetBeforeSendScreenshot because these callbacks can't run during a crash. To make sure a screenshot you'd skip or redact isn't sent unredacted, setting either callback turns crash screenshots off. Events that sentry-cocoa captures itself, such as failed HTTP requests, no longer get a screenshot (#2941)
On iOS and macOS, native crashes now respect the Event Sample Rate (SampleRate). Unity passes it to the Cocoa SDK with both runtime and build-time initialization, so native crashes are no longer always sent. (#2940)
Values set in a SentryCliOptionsConfiguration, such as an auth token read from an environment variable, no longer get saved into SentryCliOptions.asset by the Sentry window after a build. The configuration now runs on a copy of the options. (#2938)
The configuration window's tooltips and help boxes and the option docs describe the SDK's defaults and requirements correctly: Auto Set UserName is disabled by default, Attach Screenshots also attaches screenshots to events on background threads, Org Slug is required unless the Auth Token is an organization token, Scene Traces has no Unity version requirement, and IosWatchdogTerminationIntegrationEnabled turns on reporting of watchdog terminations on iOS. (#2933)
The SDK no longer throws a NullReferenceException during startup on Android and iOS when it can't load its options, for example when the configuration lives in an OBB file that isn't available yet. (#2931)
Setting FilterBadGatewayExceptions to false now takes effect when initializing the SDK in code with SentrySdk.Init. (#2930)
The Event Sample Rate in the Sentry window now accepts values from 0.01 to 1.0. A rate of 0 made the SDK fail to initialize and builds fail to load the options. (#2929)
On iOS, development builds now respect UploadDevelopmentSymbols and no longer upload debug symbols unless it is enabled, matching the other platforms. (#2928)
Features
SentrySdk.LastEventId is now available on the Unity SentrySdk, returning the ID of the last event captured in the current scope. (#2945)
Dependencies
Bump Java SDK from v8.61.0 to v8.64.0 (#2897, #2944)