|
19 | 19 | - Remove `java.lang.ClassNotFoundException` debug logs when searching for OpenTelemetry marker classes ([#4091](https://github.com/getsentry/sentry-java/pull/4091))
|
20 | 20 | - There was up to three of these, one for `io.sentry.opentelemetry.agent.AgentMarker`, `io.sentry.opentelemetry.agent.AgentlessMarker` and `io.sentry.opentelemetry.agent.AgentlessSpringMarker`.
|
21 | 21 | - These were not indicators of something being wrong but rather the SDK looking at what is available at runtime to configure itself accordingly.
|
| 22 | +- Do not instrument File I/O operations if tracing is disabled ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 23 | +- Do not instrument User Interaction multiple times ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 24 | +- Speed up view traversal to find touched target in `UserInteractionIntegration` ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 25 | +- Reduce IPC/Binder calls performed by the SDK ([#4058](https://github.com/getsentry/sentry-java/pull/4058)) |
| 26 | + |
| 27 | +### Behavioural Changes |
| 28 | + |
| 29 | +- Reduce the number of broadcasts the SDK is subscribed for ([#4052](https://github.com/getsentry/sentry-java/pull/4052)) |
| 30 | + - Drop `TempSensorBreadcrumbsIntegration` |
| 31 | + - Drop `PhoneStateBreadcrumbsIntegration` |
| 32 | + - Reduce number of broadcasts in `SystemEventsBreadcrumbsIntegration` |
| 33 | + |
| 34 | +Current list of the broadcast events can be found [here](https://github.com/getsentry/sentry-java/blob/9b8dc0a844d10b55ddeddf55d278c0ab0f86421c/sentry-android-core/src/main/java/io/sentry/android/core/SystemEventsBreadcrumbsIntegration.java#L131-L153). If you'd like to subscribe for more events, consider overriding the `SystemEventsBreadcrumbsIntegration` as follows: |
| 35 | + |
| 36 | +```kotlin |
| 37 | +SentryAndroid.init(context) { options -> |
| 38 | + options.integrations.removeAll { it is SystemEventsBreadcrumbsIntegration } |
| 39 | + options.integrations.add(SystemEventsBreadcrumbsIntegration(context, SystemEventsBreadcrumbsIntegration.getDefaultActions() + listOf(/* your custom actions */))) |
| 40 | +} |
| 41 | +``` |
| 42 | + |
| 43 | +If you would like to keep some of the default broadcast events as breadcrumbs, consider opening a [GitHub issue](https://github.com/getsentry/sentry-java/issues/new). |
22 | 44 | - Set mechanism `type` to `suppressed` for suppressed exceptions ([#4125](https://github.com/getsentry/sentry-java/pull/4125))
|
23 | 45 | - This helps to distinguish an exceptions cause from any suppressed exceptions in the Sentry UI
|
24 | 46 |
|
@@ -330,6 +352,68 @@ If you have been using `8.0.0-rc.4` of the Java SDK, here's the new changes that
|
330 | 352 | - We are planning to improve this in the future but opted for this fix first.
|
331 | 353 | - Fix swallow NDK loadLibrary errors ([#4082](https://github.com/getsentry/sentry-java/pull/4082))
|
332 | 354 |
|
| 355 | +## 7.21.0 |
| 356 | + |
| 357 | +### Fixes |
| 358 | + |
| 359 | +- Do not instrument File I/O operations if tracing is disabled ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 360 | +- Do not instrument User Interaction multiple times ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 361 | +- Speed up view traversal to find touched target in `UserInteractionIntegration` ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 362 | +- Reduce IPC/Binder calls performed by the SDK ([#4058](https://github.com/getsentry/sentry-java/pull/4058)) |
| 363 | + |
| 364 | +### Behavioural Changes |
| 365 | + |
| 366 | +- Reduce the number of broadcasts the SDK is subscribed for ([#4052](https://github.com/getsentry/sentry-java/pull/4052)) |
| 367 | + - Drop `TempSensorBreadcrumbsIntegration` |
| 368 | + - Drop `PhoneStateBreadcrumbsIntegration` |
| 369 | + - Reduce number of broadcasts in `SystemEventsBreadcrumbsIntegration` |
| 370 | + |
| 371 | +Current list of the broadcast events can be found [here](https://github.com/getsentry/sentry-java/blob/9b8dc0a844d10b55ddeddf55d278c0ab0f86421c/sentry-android-core/src/main/java/io/sentry/android/core/SystemEventsBreadcrumbsIntegration.java#L131-L153). If you'd like to subscribe for more events, consider overriding the `SystemEventsBreadcrumbsIntegration` as follows: |
| 372 | + |
| 373 | +```kotlin |
| 374 | +SentryAndroid.init(context) { options -> |
| 375 | + options.integrations.removeAll { it is SystemEventsBreadcrumbsIntegration } |
| 376 | + options.integrations.add(SystemEventsBreadcrumbsIntegration(context, SystemEventsBreadcrumbsIntegration.getDefaultActions() + listOf(/* your custom actions */))) |
| 377 | +} |
| 378 | +``` |
| 379 | + |
| 380 | +If you would like to keep some of the default broadcast events as breadcrumbs, consider opening a [GitHub issue](https://github.com/getsentry/sentry-java/issues/new). |
| 381 | + |
| 382 | +## 7.21.0-beta.1 |
| 383 | + |
| 384 | +### Fixes |
| 385 | + |
| 386 | +- Do not instrument File I/O operations if tracing is disabled ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 387 | +- Do not instrument User Interaction multiple times ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 388 | +- Speed up view traversal to find touched target in `UserInteractionIntegration` ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 389 | +- Reduce IPC/Binder calls performed by the SDK ([#4058](https://github.com/getsentry/sentry-java/pull/4058)) |
| 390 | + |
| 391 | +### Behavioural Changes |
| 392 | + |
| 393 | +- Reduce the number of broadcasts the SDK is subscribed for ([#4052](https://github.com/getsentry/sentry-java/pull/4052)) |
| 394 | + - Drop `TempSensorBreadcrumbsIntegration` |
| 395 | + - Drop `PhoneStateBreadcrumbsIntegration` |
| 396 | + - Reduce number of broadcasts in `SystemEventsBreadcrumbsIntegration` |
| 397 | + |
| 398 | +Current list of the broadcast events can be found [here](https://github.com/getsentry/sentry-java/blob/9b8dc0a844d10b55ddeddf55d278c0ab0f86421c/sentry-android-core/src/main/java/io/sentry/android/core/SystemEventsBreadcrumbsIntegration.java#L131-L153). If you'd like to subscribe for more events, consider overriding the `SystemEventsBreadcrumbsIntegration` as follows: |
| 399 | + |
| 400 | +```kotlin |
| 401 | +SentryAndroid.init(context) { options -> |
| 402 | + options.integrations.removeAll { it is SystemEventsBreadcrumbsIntegration } |
| 403 | + options.integrations.add(SystemEventsBreadcrumbsIntegration(context, SystemEventsBreadcrumbsIntegration.getDefaultActions() + listOf(/* your custom actions */))) |
| 404 | +} |
| 405 | +``` |
| 406 | + |
| 407 | +If you would like to keep some of the default broadcast events as breadcrumbs, consider opening a [GitHub issue](https://github.com/getsentry/sentry-java/issues/new). |
| 408 | + |
| 409 | +## 7.20.1 |
| 410 | + |
| 411 | +### Behavioural Changes |
| 412 | + |
| 413 | +- The user ip-address is now only set to `"{{auto}}"` if sendDefaultPii is enabled ([#4071](https://github.com/getsentry/sentry-java/pull/4071)) |
| 414 | + - This change gives you control over IP address collection directly on the client |
| 415 | + |
| 416 | + |
333 | 417 | ## 7.20.0
|
334 | 418 |
|
335 | 419 | ### Features
|
|
0 commit comments