Skip to content

Releases: getsentry/sentry-java

5.0.0

02 Jun 10:28
1625f29

Choose a tag to compare

What’s Changed

This release brings many improvements but also new features:

  • OkHttp Interceptor for Android (#1330)
  • GraalVM Native Image Compatibility (#1329)
  • Add option to ignore exceptions by type (#1352)
  • Enrich transactions with device contexts (#1430) (#1469)
  • Better interoperability with Kotlin null-safety (#1439) and (#1462)
  • Add coroutines support (#1479)
  • OkHttp callback for Customising the Span (#1478)
  • Add breadcrumb in Spring RestTemplate integration (#1481)

Breaking changes:

Other fixes:

  • Fix: Add attachmentType to envelope ser/deser. (#1504)

Thank you:

Packages were released on mavenCentral

We'd love to get feedback.

5.0.0-beta.7

01 Jun 06:37
e6539d5

Choose a tag to compare

5.0.0-beta.7 Pre-release
Pre-release

What’s Changed

  • Ref: Deprecate SentryBaseEvent#getOriginThrowable and add SentryBaseEvent#getThrowableMechanism (#1502)
  • Fix: Graceful Shutdown flushes event instead of Closing SDK (#1500)
  • Fix: Do not append threads that come from the EnvelopeFileObserver (#1501)
  • Ref: Deprecate cacheDirSize and add maxCacheItems (#1499)
  • Fix: Append all threads if Hint is Cached but attachThreads is enabled (#1503)

Packages were released on mavenCentral

We'd love to get feedback.

5.0.0-beta.6

31 May 09:43
1da74c1

Choose a tag to compare

5.0.0-beta.6 Pre-release
Pre-release

What’s Changed

  • Feat: Add secondary constructor to SentryOkHttpInterceptor (#1491)
  • Feat: Add option to enable debug mode in Log4j2 integration (#1492)
  • Ref: Replace clone() with copy constructor (#1496)

Packages were released on mavenCentral

We'd love to get feedback.

5.0.0-beta.5

26 May 09:46
7f3f829

Choose a tag to compare

5.0.0-beta.5 Pre-release
Pre-release

What’s Changed

  • Feat: OkHttp callback for Customising the Span (#1478)
  • Feat: Add breadcrumb in Spring RestTemplate integration (#1481)
  • Fix: Cloning Stack (#1483)
  • Feat: Add coroutines support (#1479)

Packages were released on mavenCentral

We'd love to get feedback.

5.0.0-beta.4

18 May 11:08
49e64ee

Choose a tag to compare

5.0.0-beta.4 Pre-release
Pre-release

What’s Changed

  • Fix: Enrich Transactions with Context Data (#1469)
  • Bump: Apache HttpClient to 5.0.4 (#1476)

Packages were released on mavenCentral

We'd love to get feedback.

5.0.0-beta.3

12 May 12:57
0da1a77

Choose a tag to compare

5.0.0-beta.3 Pre-release
Pre-release

What’s Changed

  • Fix: handling immutable collections on SentryEvent and protocol objects (#1468)
  • Fix: associate event with transaction when thrown exception is not a direct cause (#1463)
  • Ref: nullability annotations to Sentry module (#1439) and (#1462)
  • Fix: NPE when adding Context Data with null values for log4j2 (#1465)

Packages were released on mavenCentral

We'd love to get feedback.

5.0.0-beta.2

06 May 15:05
cda00dd

Choose a tag to compare

5.0.0-beta.2 Pre-release
Pre-release

What’s Changed

  • Fix: sentry-android-timber package sets sentry.java.android.timber as SDK name (#1456)
  • Fix: When AppLifecycleIntegration is closed, it should remove observer using UI thread (#1459)
  • Bump: AGP to 4.2.0 (#1460)

Breaking Changes:

  • Remove: Settings.Secure.ANDROID_ID in favor of generated installationId (#1455)
  • Rename: enableSessionTracking to enableAutoSessionTracking (#1457)

Packages were released on mavenCentral

We'd love to get feedback.

5.0.0-beta.1

30 Apr 12:24
b4a6c75

Choose a tag to compare

5.0.0-beta.1 Pre-release
Pre-release

What’s Changed

  • Fix: Activity tracing auto instrumentation for Android API < 29 (#1402)
  • Fix: use connection and read timeouts in ApacheHttpClient based transport (#1397)
  • Ref: Refactor converting HttpServletRequest to Sentry Request in Spring integration (#1387)
  • Fix: set correct transaction status for unhandled exceptions in SentryTracingFilter (#1406)
  • Fix: handle network errors in SentrySpanClientHttpRequestInterceptor (#1407)
  • Fix: set scope on transaction (#1409)
  • Fix: set status and associate events with transactions (#1426)
  • Fix: Do not set free memory and is low memory fields when it's a NDK hard crash (#1399)
  • Fix: Apply user from the scope to transaction (#1424)
  • Fix: Pass maxBreadcrumbs config. to sentry-native (#1425)
  • Fix: Run event processors and enrich transactions with contexts (#1430)
  • Bump: sentry-native to 0.4.9 (#1431)
  • Fix: Set Span status for OkHttp integration (#1447)
  • Fix: Set user on transaction in Spring & Spring Boot integrations (#1443)

Packages were released on mavenCentral

We'd love to get feedback.

4.4.0-alpha.2

12 Apr 15:45
dfff33e

Choose a tag to compare

4.4.0-alpha.2 Pre-release
Pre-release

What’s Changed

  • Feat: Add option to ignore exceptions by type (#1352)
  • Fix: Fix NPE when MDC contains null values (sentry-logback) (#1364)
  • Fix: Avoid NPE when MDC contains null values (sentry-jul) (#1385)
  • Feat: Sentry closes Android NDK and ShutdownHook integrations (#1358)
  • Enhancement: Allow inheritance of SentryHandler class in sentry-jul package(#1367)
  • Fix: Accept only non null value maps (#1368)
  • Bump: Upgrade Apache HttpComponents Core to 5.0.3 (#1375)
  • Enhancement: Make NoOpHub public (#1379)
  • Fix: Do not bind transactions to scope by default. (#1376)
  • Fix: fix Hub thread safety (#1388)
  • Fix: SentryTransactionAdvice should operate on the new scope (#1389)

Packages were released on mavenCentral

We'd love to get feedback.

4.4.0-alpha.1

19 Mar 12:09
fd327a0

Choose a tag to compare

4.4.0-alpha.1 Pre-release
Pre-release

What’s Changed

  • Bump: sentry-native to 0.4.8
  • Feat: Add an overload for startTransaction that sets the created transaction to the Scope #1313
  • Ref: Separate user facing and protocol classes in the Performance feature (#1304)
  • Feat: Set SDK version on Transactions (#1307)
  • Fix: Use logger set on SentryOptions in GsonSerializer (#1308)
  • Fix: Use the bindToScope correctly
  • Fix: Allow 0.0 to be set on tracesSampleRate (#1328)
  • Fix: set "java" platform to transactions #1332
  • Feat: Add OkHttp client application interceptor (#1330)

Packages were released on bintray sentry-java, bintray sentry-android, jcenter and mavenCentral

We'd love to get feedback.