Releases · getsentry/sentry-android

This repository was archived by the owner on Aug 30, 2023. It is now read-only.

2.3.2

3.0.0-alpha.1

2.3.1

2.3.0

What’s Changed

Obs: If you are using its own instance of Hub/SentryClient and reflection to set up the SDK to be usable within Libraries, this change may break your code, please fix the renamed classes.

Packages were released on bintray, jcenter and mavenCentral

We'd love to get feedback.

2.2.2

2.2.1

2.2.0

What’s Changed

  1. To add integrations it requires a manual initialization of the Android SDK.

  2. Add the sentry-android-timber dependency:

implementation 'io.sentry:sentry-android-timber:{version}' // version >= 2.2.0
  1. Initialize and add the SentryTimberIntegration:
SentryAndroid.init(this, options -> {
    // default values:
    // minEventLevel = ERROR
    // minBreadcrumbLevel = INFO
    options.addIntegration(new SentryTimberIntegration());

    // custom values for minEventLevel and minBreadcrumbLevel
    // options.addIntegration(new SentryTimberIntegration(SentryLevel.WARNING, SentryLevel.ERROR));
});
  1. Use the Timber integration:
try {
    int x = 1 / 0;
} catch (Exception e) {
    Timber.e(e);
}

Packages were released on bintray, jcenter and mavenCentral

We'd love to get feedback.

2.1.7

2.1.6

What’s Changed

  • fix: do not lookup sentry-debug-meta but instead load it directly (#445) @marandaneto
  • fix: regression on v2.1.5 which can cause a crash on SDK init

Packages were released on bintray, jcenter and mavenCentral

We'd love to get feedback.

2.1.5