Skip to content

6.31.0

Compare
Choose a tag to compare
@getsentry-bot getsentry-bot released this 12 Oct 17:14

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