|
2 | 2 |
|
3 | 3 | ## Unreleased |
4 | 4 |
|
| 5 | +### Fixes |
| 6 | + |
| 7 | +- Do not log if `OtelContextScopesStorage` cannot be found ([#4127](https://github.com/getsentry/sentry-java/pull/4127)) |
| 8 | + - Previously `java.lang.ClassNotFoundException: io.sentry.opentelemetry.OtelContextScopesStorage` was shown in the log if the class could not be found. |
| 9 | + - This is just a lookup the SDK performs to configure itself. The SDK also works without OpenTelemetry. |
| 10 | + |
| 11 | +### Dependencies |
| 12 | + |
| 13 | +- Bump Native SDK from v0.7.19 to v0.7.20 ([#4128](https://github.com/getsentry/sentry-java/pull/4128)) |
| 14 | + - [changelog](https://github.com/getsentry/sentry-native/blob/master/CHANGELOG.md#0720) |
| 15 | + - [diff](https://github.com/getsentry/sentry-native/compare/v0.7.19...0.7.20) |
| 16 | + |
| 17 | +## 8.1.0 |
| 18 | + |
5 | 19 | ### Features |
6 | 20 |
|
7 | 21 | - Add `options.ignoredErrors` to filter out errors that match a certain String or Regex ([#4083](https://github.com/getsentry/sentry-java/pull/4083)) |
8 | 22 | - The matching is attempted on `event.message`, `event.formatted`, and `{event.throwable.class.name}: {event.throwable.message}` |
9 | 23 | - Can be set in `sentry.properties`, e.g. `ignored-errors=Some error,Another .*` |
10 | 24 | - Can be set in environment variables, e.g. `SENTRY_IGNORED_ERRORS=Some error,Another .*` |
11 | 25 | - For Spring Boot, it can be set in `application.properties`, e.g. `sentry.ignored-errors=Some error,Another .*` |
| 26 | +- Log OpenTelemetry related Sentry config ([#4122](https://github.com/getsentry/sentry-java/pull/4122)) |
12 | 27 |
|
13 | 28 | ### Fixes |
14 | 29 |
|
|
18 | 33 | - Remove `java.lang.ClassNotFoundException` debug logs when searching for OpenTelemetry marker classes ([#4091](https://github.com/getsentry/sentry-java/pull/4091)) |
19 | 34 | - 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`. |
20 | 35 | - These were not indicators of something being wrong but rather the SDK looking at what is available at runtime to configure itself accordingly. |
| 36 | +- Do not instrument File I/O operations if tracing is disabled ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 37 | +- Do not instrument User Interaction multiple times ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 38 | +- Speed up view traversal to find touched target in `UserInteractionIntegration` ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 39 | +- Reduce IPC/Binder calls performed by the SDK ([#4058](https://github.com/getsentry/sentry-java/pull/4058)) |
| 40 | + |
| 41 | +### Behavioural Changes |
| 42 | + |
| 43 | +- Reduce the number of broadcasts the SDK is subscribed for ([#4052](https://github.com/getsentry/sentry-java/pull/4052)) |
| 44 | + - Drop `TempSensorBreadcrumbsIntegration` |
| 45 | + - Drop `PhoneStateBreadcrumbsIntegration` |
| 46 | + - Reduce number of broadcasts in `SystemEventsBreadcrumbsIntegration` |
| 47 | + |
| 48 | +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: |
| 49 | + |
| 50 | +```kotlin |
| 51 | +SentryAndroid.init(context) { options -> |
| 52 | + options.integrations.removeAll { it is SystemEventsBreadcrumbsIntegration } |
| 53 | + options.integrations.add(SystemEventsBreadcrumbsIntegration(context, SystemEventsBreadcrumbsIntegration.getDefaultActions() + listOf(/* your custom actions */))) |
| 54 | +} |
| 55 | +``` |
| 56 | + |
| 57 | +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). |
| 58 | +- Set mechanism `type` to `suppressed` for suppressed exceptions ([#4125](https://github.com/getsentry/sentry-java/pull/4125)) |
| 59 | + - This helps to distinguish an exceptions cause from any suppressed exceptions in the Sentry UI |
| 60 | + |
| 61 | +### Dependencies |
| 62 | + |
| 63 | +- Bump Spring Boot to `3.4.2` ([#4081](https://github.com/getsentry/sentry-java/pull/4081)) |
| 64 | +- Bump Native SDK from v0.7.14 to v0.7.19 ([#4076](https://github.com/getsentry/sentry-java/pull/4076)) |
| 65 | + - [changelog](https://github.com/getsentry/sentry-native/blob/master/CHANGELOG.md#0719) |
| 66 | + - [diff](https://github.com/getsentry/sentry-native/compare/v0.7.14...0.7.19) |
21 | 67 |
|
22 | 68 | ## 8.0.0 |
23 | 69 |
|
@@ -320,6 +366,68 @@ If you have been using `8.0.0-rc.4` of the Java SDK, here's the new changes that |
320 | 366 | - We are planning to improve this in the future but opted for this fix first. |
321 | 367 | - Fix swallow NDK loadLibrary errors ([#4082](https://github.com/getsentry/sentry-java/pull/4082)) |
322 | 368 |
|
| 369 | +## 7.21.0 |
| 370 | + |
| 371 | +### Fixes |
| 372 | + |
| 373 | +- Do not instrument File I/O operations if tracing is disabled ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 374 | +- Do not instrument User Interaction multiple times ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 375 | +- Speed up view traversal to find touched target in `UserInteractionIntegration` ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 376 | +- Reduce IPC/Binder calls performed by the SDK ([#4058](https://github.com/getsentry/sentry-java/pull/4058)) |
| 377 | + |
| 378 | +### Behavioural Changes |
| 379 | + |
| 380 | +- Reduce the number of broadcasts the SDK is subscribed for ([#4052](https://github.com/getsentry/sentry-java/pull/4052)) |
| 381 | + - Drop `TempSensorBreadcrumbsIntegration` |
| 382 | + - Drop `PhoneStateBreadcrumbsIntegration` |
| 383 | + - Reduce number of broadcasts in `SystemEventsBreadcrumbsIntegration` |
| 384 | + |
| 385 | +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: |
| 386 | + |
| 387 | +```kotlin |
| 388 | +SentryAndroid.init(context) { options -> |
| 389 | + options.integrations.removeAll { it is SystemEventsBreadcrumbsIntegration } |
| 390 | + options.integrations.add(SystemEventsBreadcrumbsIntegration(context, SystemEventsBreadcrumbsIntegration.getDefaultActions() + listOf(/* your custom actions */))) |
| 391 | +} |
| 392 | +``` |
| 393 | + |
| 394 | +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). |
| 395 | + |
| 396 | +## 7.21.0-beta.1 |
| 397 | + |
| 398 | +### Fixes |
| 399 | + |
| 400 | +- Do not instrument File I/O operations if tracing is disabled ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 401 | +- Do not instrument User Interaction multiple times ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 402 | +- Speed up view traversal to find touched target in `UserInteractionIntegration` ([#4051](https://github.com/getsentry/sentry-java/pull/4051)) |
| 403 | +- Reduce IPC/Binder calls performed by the SDK ([#4058](https://github.com/getsentry/sentry-java/pull/4058)) |
| 404 | + |
| 405 | +### Behavioural Changes |
| 406 | + |
| 407 | +- Reduce the number of broadcasts the SDK is subscribed for ([#4052](https://github.com/getsentry/sentry-java/pull/4052)) |
| 408 | + - Drop `TempSensorBreadcrumbsIntegration` |
| 409 | + - Drop `PhoneStateBreadcrumbsIntegration` |
| 410 | + - Reduce number of broadcasts in `SystemEventsBreadcrumbsIntegration` |
| 411 | + |
| 412 | +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: |
| 413 | + |
| 414 | +```kotlin |
| 415 | +SentryAndroid.init(context) { options -> |
| 416 | + options.integrations.removeAll { it is SystemEventsBreadcrumbsIntegration } |
| 417 | + options.integrations.add(SystemEventsBreadcrumbsIntegration(context, SystemEventsBreadcrumbsIntegration.getDefaultActions() + listOf(/* your custom actions */))) |
| 418 | +} |
| 419 | +``` |
| 420 | + |
| 421 | +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). |
| 422 | + |
| 423 | +## 7.20.1 |
| 424 | + |
| 425 | +### Behavioural Changes |
| 426 | + |
| 427 | +- The user ip-address is now only set to `"{{auto}}"` if sendDefaultPii is enabled ([#4071](https://github.com/getsentry/sentry-java/pull/4071)) |
| 428 | + - This change gives you control over IP address collection directly on the client |
| 429 | + |
| 430 | + |
323 | 431 | ## 7.20.0 |
324 | 432 |
|
325 | 433 | ### Features |
|
0 commit comments