Skip to content

Commit

Permalink
chore(deps): update Sentry SDK to v8.1.0 (#122)
Browse files Browse the repository at this point in the history
Bumps scripts/update-sentry-sdk.sh from 8.0.0 to 8.1.0.

Auto-generated by a [dependency
updater](https://github.com/getsentry/github-workflows/blob/main/.github/workflows/updater.yml).
## Changelog
### 8.1.0

#### Features

- Add `options.ignoredErrors` to filter out errors that match a certain
String or Regex
([#4083](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4083))
- The matching is attempted on `event.message`, `event.formatted`, and
`{event.throwable.class.name}: {event.throwable.message}`
- Can be set in `sentry.properties`, e.g. `ignored-errors=Some
error,Another .*`
- Can be set in environment variables, e.g. `SENTRY_IGNORED_ERRORS=Some
error,Another .*`
- For Spring Boot, it can be set in `application.properties`, e.g.
`sentry.ignored-errors=Some error,Another .*`
- Log OpenTelemetry related Sentry config
([#4122](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4122))

#### Fixes

- Avoid logging an error when a float is passed in the manifest
([#4031](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4031))
- Add `request` details to transactions created through OpenTelemetry
([#4098](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4098))
- We now add HTTP request method and URL where Sentry expects it to
display it in Sentry UI
- Remove `java.lang.ClassNotFoundException` debug logs when searching
for OpenTelemetry marker classes
([#4091](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4091))
- 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`.
- These were not indicators of something being wrong but rather the SDK
looking at what is available at runtime to configure itself accordingly.
- Do not instrument File I/O operations if tracing is disabled
([#4051](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4051))
- Do not instrument User Interaction multiple times
([#4051](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4051))
- Speed up view traversal to find touched target in
`UserInteractionIntegration`
([#4051](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4051))
- Reduce IPC/Binder calls performed by the SDK
([#4058](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4058))

#### Behavioural Changes

- Reduce the number of broadcasts the SDK is subscribed for
([#4052](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4052))
  - Drop `TempSensorBreadcrumbsIntegration`
  - Drop `PhoneStateBreadcrumbsIntegration`
  - Reduce number of broadcasts in `SystemEventsBreadcrumbsIntegration`

Current list of the broadcast events can be found
[here](https://github-redirect.dependabot.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:

```kotlin
SentryAndroid.init(context) { options ->
    options.integrations.removeAll { it is SystemEventsBreadcrumbsIntegration }
    options.integrations.add(SystemEventsBreadcrumbsIntegration(context, SystemEventsBreadcrumbsIntegration.getDefaultActions() + listOf(/* your custom actions */)))
}
```

If you would like to keep some of the default broadcast events as
breadcrumbs, consider opening a [GitHub
issue](https://github-redirect.dependabot.com/getsentry/sentry-java/issues/new).
- Set mechanism `type` to `suppressed` for suppressed exceptions
([#4125](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4125))
- This helps to distinguish an exceptions cause from any suppressed
exceptions in the Sentry UI

#### Dependencies

- Bump Spring Boot to `3.4.2`
([#4081](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4081))
- Bump Native SDK from v0.7.14 to v0.7.19
([#4076](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4076))
-
[changelog](https://github-redirect.dependabot.com/getsentry/sentry-native/blob/master/CHANGELOG.md[#0719](https://github-redirect.dependabot.com/getsentry/sentry-java/issues/0719))
-
[diff](https://github-redirect.dependabot.com/getsentry/sentry-native/compare/v0.7.14...0.7.19)

Co-authored-by: GitHub <[email protected]>
  • Loading branch information
github-actions[bot] and web-flow authored Jan 31, 2025
1 parent 3914239 commit 3eff8af
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## Unreleased

### Dependencies

- Bump Sentry SDK from v8.0.0 to v8.1.0 ([#122](https://github.com/getsentry/sentry-maven-plugin/pull/122))
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#810)
- [diff](https://github.com/getsentry/sentry-java/compare/8.0.0...8.1.0)

## 0.1.0

### Features
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/sentry-sdk.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sdk_version = 8.0.0
sdk_version = 8.1.0

0 comments on commit 3eff8af

Please sign in to comment.