Android/Java SDK v8.0.0

Android/Java SDK v8.0.0

The latest release of the Sentry Java SDK is live with version 8.0.0.

Android

The Android SDK now requires a minimum target SDK version of 21. We have enabled Performance v2 by default, meaning app cold start spans will include spans for ContentProviders, Application and Activity loads.

We have also added full support for 16 KB page sizes. This is a new device configuration available from Android 15 that can improve various aspects of app and system performance. For more information, see the official documentation .

OpenTelemetry

We have reworked our OpenTelemetry integration. It now works in combination with the rest of Sentry. You may now use both OpenTelemetry SDK and Sentry SDK to capture transactions and spans. They can also be mixed and end up on the same transaction.

  • OpenTelemetry extends the Sentry SDK by adding spans for numerous integrations, like Ktor, Vert.x and MongoDB. Please check the OpenTelemetry GitHub repository for a full list.
  • OpenTelemetry allows propagating trace information from and to additional libraries, that Sentry did not support before, for example gRPC.
  • OpenTelemetry also has broader support for propagating the Sentry Scopes through reactive libraries like RxJava.

We have updated our documentation on how to set up the SDK as well as OpenTelemetry specific documentation.

Backend

  • The SDK is now compatible with Spring Boot 3.4.0.
  • Support for GraphQL version 22 has been added (note: this requires adding the new sentry-graphql-22 dependency)

We've added more sample applications that showcase how to combine Sentry and OpenTelemetry.

Please take a look at our migration guide to learn more about upgrading to v8.0.0.

Your code is broken. Let's Fix it.
Get Started