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
- This can be used to replace
- Add
ServerWebExchange
toHint
for WebFlux asWEBFLUX_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
assentry.graphql.ignored-error-types=SOME_ERROR,ANOTHER_ERROR
- This list can be set directly when calling the constructor of
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
tonextListOrNull
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 ofSpanContext
, fallback to an empty string, because the filed is optional in the spec
- (Internal) Rename
- Always attach OkHttp errors and Http Client Errors only to call root span (#2961)
- Fixed crash accessing Choreographer instance (#2970)