Skip to content

Latest commit

 

History

History
185 lines (116 loc) · 7.67 KB

CHANGELOG.md

File metadata and controls

185 lines (116 loc) · 7.67 KB

Changelog

Individual gem's changelog has been deprecated. Please check the project changelog.

4.4.0

Features

  • Make tracing subscribers configurable #1344
# current default:
# - Sentry::Rails::Tracing::ActionControllerSubscriber
# - Sentry::Rails::Tracing::ActionViewSubscriber
# - Sentry::Rails::Tracing::ActiveRecordSubscriber

# you can add a new subscriber
config.rails.tracing_subscribers << MySubscriber
# or replace the set completely
config.rails.tracing_subscribers = [MySubscriber]

Bug Fixes

  • Report exceptions from the interceptor middleware for exceptions app #1379
  • Re-position CaptureExceptions middleware to reduce tracing noise #1405

4.3.4

  • Don't assign Rails.logger if it's not present #1387

4.3.3

  • Correctly set the SDK's logger in sentry-rails #1363

4.3.3-beta.0

  • Minimize sentry-rails' dependency requirement #1352

4.3.2

  • Avoid recording SendEventJob's transaction #1351

4.3.1

  • Only apply background worker patch if ActiveRecord is loaded #1350

4.3.0

Features

  • Support performance monitoring on ActiveJob execution #1304

Bug Fixes

  • Prevent background workers from holding ActiveRecord connections #1320

4.2.2

  • Always define Sentry::SendEventJob to avoid eager load issues #1286

4.2.1

  • Add additional checks to SendEventJob's definition #1275

4.2.0

Features

  • Make sentry-rails a Rails engine and provide default job class for async #1181

sentry-rails now provides a default ActiveJob class for sending events asynchronously. You can use it directly without define your own one:

config.async = lambda { |event, hint| Sentry::SendEventJob.perform_later(event, hint) }
  • Add configuration option for trusted proxies #1126

sentry-rails now injects Rails.application.config.action_dispatch.trusted_proxies into Sentry.configuration.trusted_proxies automatically.

  • Allow users to configure ActiveJob adapters to ignore #1256
# sentry-rails will skip active_job reporting for jobs that use ActiveJob::QueueAdapters::SidekiqAdapter
# you should use this option when:
# - you don't want to see events from a certain adapter
# - you already have a better reporting setup for the adapter (like having `sentry-sidekiq` installed)
config.rails.skippable_job_adapters = ["ActiveJob::QueueAdapters::SidekiqAdapter"]
  • Tag job_id and provider_job_id on ActiveJob events #1259

example of tagged event

  • Use another method for post initialization callback #1261

Bug Fixes

  • Inspect exception cause by default & don't exclude ActiveJob::DeserializationError #1180

4.1.7

  • Use env to carry original transaction name #1255
  • Fix duration of tracing event in Rails 5 #1254 (by @abcang)
  • Filter out static file transaction #1247

4.1.6

  • Prevent exceptions app from overriding event's transaction name #1230
  • Fix project root detection #1242
  • Use sentry-ruby-core as the main SDK dependency #1244

4.1.5

  • Add ActionDispatch::Http::MimeNegotiation::InvalidType to the list of default ignored Rails exceptions #1215 (by @agrobbin)
  • Continue ActiveJob execution if Sentry is not initialized #1217
  • Only extend ActiveJob when it's defined #1218
  • Filter out redundant event/payload from breadcrumbs logger #1222
  • Copy request env before Rails' ShowExceptions middleware #1223
  • Don't subscribe render_partial and render_collection events #1224

4.1.4

  • Don't include headers & request info in tracing span or breadcrumb #1199
  • Don't run RescuedExceptionInterceptor unless Sentry is initialized #1204

4.1.3

  • Remove DelayedJobAdapter from ignored list #1179

4.1.2

  • Use middleware instead of method override to handle rescued exceptions #1168
  • Adopt Integrable module #1177

4.1.1

  • Use stricter dependency declaration #1159

4.1.0

  • Merge & rename 2 Rack middlewares #1147
    • Fixes #1153
    • Removed Sentry::Rack::Tracing middleware and renamed Sentry::Rack::CaptureException to Sentry::Rack::CaptureExceptions
  • Tidy up rails integration #1150
  • Check SDK initialization before running integrations #1151

4.0.0

  • Only documents update for the official release and no API/feature changes.

0.3.0

  • Major API changes: 1123

0.2.0

  • Multiple fixes and refactorings
  • Tracing support

0.1.2

Fix require reference

0.1.1

Release test

0.1.0

First version