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 Sentry SDK will now crash on startup if mixed versions have been detected (#4277)
On Sentry.init / SentryAndroid.init the SDK now checks if all Sentry Java / Android SDK dependencies have the same version.
While this may seem like a bad idea at first glance, mixing versions of dependencies has a very high chance of causing a crash later. We opted for a controlled crash that's hard to miss.
Note: This detection only works for new versions of the SDK, so please take this as a reminder to check your SDK version alignment manually when upgrading the SDK to this version and then you should be good.
The SDK will also print log messages if mixed versions have been detected at a later point. (#4270)
This takes care of cases missed by the startup check above due to older versions.
Features
Increase http timeouts from 5s to 30s to have a better chance of events being delivered without retry (#4276)
We use this to print out messages when there is a problem that prevents the SDK from working correctly.
One example for this is when the SDK has been configured with mixed dependency versions where we print out details, which module and version are affected.
Fixes
Do not override user-defined SentryOptions (#4262)
Session Replay: Change bitmap config to ARGB_8888 for screenshots (#4282)
The MANIFEST.MF of sentry-opentelemetry-agent now has Implementation-Version set to the raw version (#4291)
An example value would be 8.6.0
The value of the Sentry-Version-Name attribute looks like sentry-8.5.0-otel-2.10.0
Fix tags missing for compose view hierarchies (#4275)
Do not leak SentryFileInputStream/SentryFileOutputStream descriptors and channels (#4296)
Remove "not yet implemented" from Sentry.flush comment (#4305)
Internal
Added platform to SentryEnvelopeItemHeader (#4287)
Set android platform to ProfileChunk envelope item header
Dependencies
Bump Native SDK from v0.8.1 to v0.8.3 (#4267, #4298)