Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency io.sentry:sentry to v7 #72

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 11, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.sentry:sentry 6.25.2 -> 7.0.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

getsentry/sentry-java (io.sentry:sentry)

v7.0.0

Compare Source

Version 7 of the Sentry Android/Java SDK brings a variety of features and fixes. The most notable changes are:

  • Bumping minSdk level to 19 (Android 4.4)
  • The SDK will now listen to connectivity changes and try to re-upload cached events when internet connection is re-established additionally to uploading events on app restart
  • Sentry.getSpan now returns the root transaction, which should improve the span hierarchy and make it leaner
  • Multiple improvements to reduce probability of the SDK causing ANRs
  • New sentry-okhttp artifact is unbundled from Android and can be used in pure JVM-only apps

v6.34.0

Compare Source

Features
  • Add current activity name to app context (#​2999)
  • Add MonitorConfig param to CheckInUtils.withCheckIn (#​3038)
    • This makes it easier to automatically create or update (upsert) monitors.
  • (Internal) Extract Android Profiler and Measurements for Hybrid SDKs (#​3016)
  • (Internal) Remove SentryOptions dependency from AndroidProfiler (#​3051)
  • (Internal) Add readBytesFromFile for use in Hybrid SDKs (#​3052)
  • (Internal) Add getProguardUuid for use in Hybrid SDKs (#​3054)
Fixes
  • Fix SIGSEV, SIGABRT and SIGBUS crashes happening after/around the August Google Play System update, see #​2955 for more details (fix provided by Native SDK bump)
  • Ensure DSN uses http/https protocol (#​3044)
Dependencies

v6.33.1

Compare Source

Fixes
  • Do not register sentrySpringFilter in ServletContext for Spring Boot (#​3027)

v6.33.0

Compare Source

Features
  • Add thread information to spans (#​2998)
  • Use PixelCopy API for capturing screenshots on API level 24+ (#​3008)
Fixes
  • Fix crash when HTTP connection error message contains formatting symbols (#​3002)
  • Cap max number of stack frames to 100 to not exceed payload size limit (#​3009)
    • This will ensure we report errors with a big number of frames such as StackOverflowError
  • Fix user interaction tracking not working for Jetpack Compose 1.5+ (#​3010)
  • Make sure to close all Closeable resources (#​3000)

v6.32.0

Compare Source

Features
  • Make DebugImagesLoader public (#​2993)
Fixes
  • Make SystemEventsBroadcastReceiver exported on API 33+ (#​2990)
    • This will fix the SystemEventsBreadcrumbsIntegration crashes that you might have encountered on Play Console

v6.31.0

Compare Source

Features
  • Improve default debouncing mechanism (#​2945)
  • Add CheckInUtils.withCheckIn which abstracts away some of the manual check-ins complexity (#​2959)
  • Add @SentryCaptureExceptionParameter annotation which captures exceptions passed into an annotated method (#​2764)
    • This can be used to replace Sentry.captureException calls in @ExceptionHandler of a @ControllerAdvice
  • Add ServerWebExchange to Hint for WebFlux as WEBFLUX_EXCEPTION_HANDLER_EXCHANGE (#​2977)
  • Allow filtering GraphQL errors (#​2967)
    • This list can be set directly when calling the constructor of SentryInstrumentation
    • For Spring Boot it can also be set in application.properties as sentry.graphql.ignored-error-types=SOME_ERROR,ANOTHER_ERROR
Fixes
  • Add OkHttp span auto-close when response body is not read (#​2923)
  • Fix json parsing of nullable/empty fields for Hybrid SDKs (#​2968)
    • (Internal) Rename nextList to nextListOrNull to actually match what the method does
    • (Hybrid) Check if there's any object in a collection before trying to parse it (which prevents the "Failed to deserilize object in list" log message)
    • (Hybrid) If a date can't be parsed as an ISO timestamp, attempts to parse it as millis silently, without printing a log message
    • (Hybrid) If op is not defined as part of SpanContext, fallback to an empty string, because the filed is optional in the spec
  • Always attach OkHttp errors and Http Client Errors only to call root span (#​2961)
  • Fixed crash accessing Choreographer instance (#​2970)
Dependencies

v6.30.0

Compare Source

Features
  • Improve default debouncing mechanism (#​2945)
  • Add sendModules option for disable sending modules (#​2926)
  • Send db.system and db.name in span data for androidx.sqlite spans (#​2928)
  • Check-ins (CRONS) support (#​2952)
    • Add API for sending check-ins (CRONS) manually (#​2935)
    • Support check-ins (CRONS) for Quartz (#​2940)
    • @SentryCheckIn annotation and advice config for Spring (#​2946)
    • Add option for ignoring certain monitor slugs (#​2943)
Fixes
  • Add OkHttp span auto-close when response body is not read (#​2923)
  • Always send memory stats for transactions (#​2936)
    • This makes it possible to query transactions by the device.class tag on Sentry
  • Add sentry.enable-aot-compatibility property to SpringBoot Jakarta SentryAutoConfiguration to enable building for GraalVM (#​2915)
Dependencies

v6.29.0

Compare Source

Features
  • Send db.system and db.name in span data (#​2894)
  • Send http.request.method in span data (#​2896)
  • Add enablePrettySerializationOutput option for opting out of pretty print (#​2871)

v6.28.0

Compare Source

Features
  • Add HTTP response code to Spring WebFlux transactions (#​2870)
  • Add sampled to Dynamic Sampling Context (#​2869)
  • Improve server side GraphQL support for spring-graphql and Nextflix DGS (#​2856)
    • If you have already been using SentryDataFetcherExceptionHandler that still works but has been deprecated. Please use SentryGenericDataFetcherExceptionHandler combined with SentryInstrumentation instead for better error reporting.
    • More exceptions and errors caught and reported to Sentry by also looking at the ExecutionResult (more specifically its errors)
    • More details for Sentry events: query, variables and response (where possible)
    • Breadcrumbs for operation (query, mutation, subscription), data fetchers and data loaders (Spring only)
    • Better hub propagation by using GraphQLContext
  • Add autoconfigure modules for Spring Boot called sentry-spring-boot and sentry-spring-boot-jakarta (#​2880)
    • The autoconfigure modules sentry-spring-boot and sentry-spring-boot-jakarta have a compileOnly dependency on spring-boot-starter which is needed for our auto installation in sentry-android-gradle-plugin
    • The starter modules sentry-spring-boot-starter and sentry-spring-boot-starter-jakarta now bring spring-boot-starter as a dependency
  • You can now disable Sentry by setting the enabled option to false (#​2840)
Fixes
  • Propagate OkHttp status to parent spans (#​2872)

v6.27.0

Compare Source

Features
  • Add TraceOrigin to Transactions and Spans (#​2803)
Fixes
  • Deduplicate events happening in multiple threads simultaneously (e.g. OutOfMemoryError) (#​2845)
    • This will improve Crash-Free Session Rate as we no longer will send multiple Session updates with Crashed status, but only the one that is relevant
  • Ensure no Java 8 method reference sugar is used for Android (#​2857)
  • Do not send session updates for terminated sessions (#​2849)

v6.26.0

Compare Source

Features
Fixes
  • Fix ANRv2 thread dump parsing for native-only threads (#​2839)
  • Derive TracingContext values from event for ANRv2 events (#​2839)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@prof18 prof18 merged commit 1e93710 into main Dec 11, 2023
1 check passed
@renovate renovate bot deleted the renovate/major-sentry branch December 11, 2023 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant