Skip to content

1.20.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 14 Aug 08:57

Important

Structured logging and metrics are now always enabled, having been on by default since 1.11.0. The corresponding EnableStructuredLogging and EnableMetrics settings are deprecated and no longer have any effect.

We recognize that this change may inconvenience applications that relied on the opt-out. Use a BeforeLogHandler or BeforeMetricHandler to filter logs or metrics before they are sent. We made this tradeoff deliberately because consistent behavior across SDK integrations will help most users successfully adopt these features.

Behavioral Changes

  • Structured logging and metrics are now always enabled (#1538)

Features

  • Add beforeSendFeedback callback for user feedback filtering (#1528)

Fixes

  • Map SENTRY_LEVEL_TRACE in the native log-level converters so trace-level logs no longer emit a spurious "Unknown sentry level" warning (#1534)
  • Release discarded value in native before* callbacks (#1536)
  • Fix Android structured log levels being mapped to the wrong severity (#1537)

Dependencies