Releases: getsentry/sentry-ruby
4.9.0
Features
- Add Action Cable exception capturing (Rails 6+) #1638
- Add request body & query string to
Net::HTTP
breadcrumb #1637
When config.send_default_pii
is set as true
, :http_logger
will include query string and request body in the breadcrumbs it logs.
- Add tracing support to
ActionCable
integration #1640
Bug Fixes
- Fix
Net::HTTP
breadcrump url when usingNet::HTTP.new
#1637 - Fix trace span creation when using
Net::HTTP.start
#1637 - Remove incorrect backtrace attribute from Event #1672
Documentation
- Document Transaction and Span classes #1653
- Document Client and Scope classes #1659
- Document Event and interface classes #1675
- Document TransactionEvent and breadcrumb-related classes #1676
- Use macro to avoid duplicated documentation #1677
Refactoring
4.8.3
4.8.2
Documentation
- Rewrite documents with yard #1635
Bug Fixes
- Use prepended method instead of
around_perform
forActiveJob
integration #1631 - Remove unnecessary ActiveJob inclusion #1655
- Lock faraday to version 1.x #1664
- This is a temporary effort to avoid dependency issue with
faraday 2.0
andfaraday
will be removed from dependencies very soon.
See this comment for more information about our plan to remove it.
- This is a temporary effort to avoid dependency issue with
4.8.1
4.8.0
Features
-
Support exception frame's local variable capturing
Example:
To enable this feature, you need to set
config.capture_exception_frame_locals
totrue
:Sentry.init do |config| config.capture_exception_frame_locals = true # default is false end
This feature should only introduce negligible performance overhead in most Ruby applications. But if you notice obvious performance regression, please file an issue and we'll investigate it.
-
Support
ActiveStorage
spans in tracing events #1588 -
Support
Sidekiq
Tags in Sentry #1596 -
Add Client Reports to collect dropped event statistics #1604
This feature reports statistics about dropped events along with sent events (so no additional requests made). It'll help Sentry improve SDKs and features like rate-limiting. This information will not be visible to users at the moment, but we're planning to add this information to user-facing UI.
If you don't want to send this data, you can opt-out by setting
config.send_client_reports = false
.
Bug Fixes
- Connect
Sidekiq
's transaction with its parent when possible #1590- Fixes #1586
- Use nil instead of false to disable callable settings #1594
- Avoid duplicated sampling on Transaction events #1601
- Remove verbose data from
#inspect
result #1602
Refactoring
- Move Sentry::Rails::CaptureExceptions before ActionDispatch::ShowExceptions #1608
- Refactor
Sentry::Configuration
#1595 - Tracing subscribers should be multi-event based #1587
Miscellaneous
- Start Testing Against Rails 7.0 #1581
4.7.3
4.7.2
4.7.1
4.7.0
Features
- Add
monotonic_active_support_logger
#1531 - Support after-retry reporting to
sentry-sidekiq
#1532 - Generate Security Header Endpoint with
Sentry.csp_report_uri
from dsn #1507 - Allow passing backtrace into
Sentry.capture_message
#1550
Bug Fixes
- Check sentry-rails before injecting ActiveJob skippable adapters #1544
- Fixes #1541
- Don't apply Scope's transaction name if it's empty #1546
- Fixes #1540
- Don't start
Sentry::SendEventJob
's transaction #1547- Fixes #1539
- Don't record breadcrumbs in disabled environments #1549
- Scrub header values with invalid encoding #1552
- Fixes #1551
- Fix mismatched license info. New SDK gems' gemspecs specified
APACHE-2.0
while theirLICENSE.txt
wasMIT
. Now they both areMIT
.