gems sentry-ruby 7.1.0

3 hours ago

Breaking Changes 🛠

  • Disable Rails Structured Logging by default. by @sl0thentr0py in #3102

    Since enable_logs was removed in 7.0.0 and the community did not like the automatic enabling of Rails Structured Logging, we are disabling it in this minor.
    We apologize for the confusion caused. If you want to turn it on, please use:

    Sentry.init do |config|
      # ...
      config.rails.structured_logging.enabled = true
    end
  • fix!(tracing): Remove 302/303 from default trace_ignore_status_codes by @sl0thentr0py in #3103

New Features ✨

  • (metrics) Attribute integration-emitted metrics by @sentry-junior in #3071

  • The SDK now wraps user callbacks so that they don't unintentionally break your application if they raise inside the callback. by @sl0thentr0py in #3077

    Callback Behavior
    before_send Return nil and drop the event
    before_send_transaction Return nil and drop the transaction
    before_send_check_in Return nil and drop the check-in
    event_processor Return nil and drop the event
    before_send_log Return nil and drop the log item
    before_send_metric Return nil and drop the metric item
    before_breadcrumb Return nil and drop the breadcrumb
    traces_sampler Fall back to traces_sample_rate
    backtrace_cleanup_callback Fall back to the original backtrace
    std_lib_logger_filter Return nil and skip the log

Bug Fixes 🐛

Logs, Metrics

Other

Don't miss a new sentry-ruby release

NewReleases is sending notifications on new releases.