Raven Ruby v5.6.0 Release Notes

  • ๐Ÿ”‹ Features

    • ๐Ÿ‘ Allow users to configure their asset-skipping pattern #1915

      Users can now configure their own pattern to skip asset requests' transactions

      Sentry.init do |config|
        config.rails.assets_regexp = /my_regexp/
      end
      
    • Use Sentry.with_child_span in redis and net/http instead of span.start_child #1920

      • This might change the nesting of some spans and make it more accurate
      • Followup fix to set the sentry-trace header in the correct place #1922
    • ๐Ÿ’Ž Use Exception#detailed_message when generating exception message if applicable #1924

    • ๐Ÿ’Ž Make sentry-sidekiq compatible with Sidekiq 7 #1930

    ๐Ÿ› Bug Fixes

    • ๐Ÿš€ Sentry::BackgroundWorker will release ActiveRecord connection pool only when the ActiveRecord connection is established
    • ๐Ÿšš Remove bad encoding arguments in redis span descriptions #1914
    • โž• Add missing initialized? checks to sentry-rails #1919
    • โšก๏ธ Update Tracing Span's op names #1923

      Currently, Ruby integrations' Span op names aren't aligned with the core specification's convention, so we decided to update them altogether in this PR. If you rely on Span op names for fine-grained event filtering, this may affect the data your app sends to Sentry. Also make sure to update your traces_sampler if you rely on the op for filtering some requests.

    ๐Ÿ”จ Refactoring

    • ๐Ÿ’Ž Make transaction a required argument of Span #1921