Skip to content

Releases: getsentry/sentry-ruby

v2.8.0

29 Jan 20:43
Compare
Choose a tag to compare
  • FEATURE: Added config.before_send. Provide a lambda or proc to this config setting, which will be called when before sending an event to Sentry. Receives event and hint as parameter. hint is a has {:exception => ex | nil, :message => message | nil}. [@HazAT, #847]

2.7.4

27 Sep 15:53
Compare
Choose a tag to compare

BUGFIX: Correctly handle public only DSNs [@mitsuhiko, #847]
BUGFIX: context attributes with nil raised error [@joker-777, 824]
BUGFIX: Suppress warning about enabling dyno metadata in Heroku CI [@meganemura, #833]

2.7.3

26 Apr 16:34
9826291
Compare
Choose a tag to compare

2.7.2

02 Feb 09:59
ebccacb
Compare
Choose a tag to compare
  • BUGFIX: GlobalIDs are now displayed correctly in Sidekiq contexts [@louim, #798]
  • BUGFIX: If git is not installed, fail silently during release detection [@nateberkopec]
  • BUGFIX: We do not support rack-timeout <= 0.2, fix errors when incompat version present [@nateberkopec]
  • BUGFIX: Put cookies in the correct spot of event [@nateberkopec, #812]
  • BUGFIX: Exception context is deep_merged [@janklimo, #782]

2.7.1

04 Jan 16:49
fdb16bb
Compare
Choose a tag to compare

BUGFIX: Fixed LocalJumpError in Rails controllers [@nateberkopec w/@frodsan, #774]

2.7.0

10 Oct 22:00
ef62382
Compare
Choose a tag to compare

YANKED due to #774

  • FEATURE: Add random sampling. [@nateberkopec, #734]

  • FEATURE: Transactions. See Context docs for usage. [@nateberkopec, #743]

  • FEATURE: You can set the current environment for Sentry via SENTRY_CURRENT_ENV env variable. Useful if your staging environment's RACK_ENV is "production", for example. [@tijmenb, #736]

  • BUGFIX: Fix wrapped classnames in old versions of Sidekiq and ActiveJob [@nateberkopec, #702]

  • BUGFIX: Server names on Heroku were pretty useless before - now they follow the dyno name ("worker.1", "web.2") [@nateberkopec, #703]

  • BUGFIX: ActiveJob::DeserializationError is now ignored by default. Not doing so can cause infinite loops if you are using an ActiveJob async callback. [@nateberkopec, #701]

  • BUGFIX: Binary conversion to UTF-8 when binary is frozen is fixed [@nateberkopec, #757]

  • BUGFIX: Our credit-card regex now matches Sentry's server behavior, which means it does not censor milliseconds since the epoch [@nateberkopec, #771]

  • REFACTOR: We now use an updated port of Rails' deep_merge which should be 5-10% faster [@nateberkopec, #770]

  • REFACTOR: Tests have been cleaned up, and now run in random order. [@nateberkopec]

  • REFACTOR: Raven::Event has been refactored a bit [@nateberkopec]

2.6.3

07 Aug 17:25
Compare
Choose a tag to compare
  • BUGFIX: Fixed typo in the Heroku warning [@greysteil, #728]
  • BUGFIX: Swallow IOErrors when reading the Rack request body [@nateberkopec]
  • BUGFIX: Fix invalid UTF-8/circular references when using async [@nateberkopec, #730]

2.6.2

02 Aug 13:45
Compare
Choose a tag to compare
  • BUGFIX: If using the Sidekiq or DelayedJob adapters with ActiveJob, ActiveJob wouldn't re-raise upon capturing an exception. [@nateberkopec, 5b02ad4]

  • KNOWN ISSUE: When using async, Rack integration is not thread-safe [#721]

  • KNOWN ISSUE: When using async, encoding errors may be raised [#725]

2.6.1

31 Jul 21:53
Compare
Choose a tag to compare
  • BUGFIX: Fix cases where ActionDispatch::RemoteIP would blow up during event creation [@cmoylan, #722]
  • BUGFIX: In ActiveJob, don't report exceptions which can be rescued by rescue_from handlers [@bensheldon, #719]

2.6.0

19 Jul 17:32
Compare
Choose a tag to compare
  • FEATURE: raven-ruby now marks itself as the "ruby" logger by default, to match raven-js behavior [@nateberkopec]

  • FEATURE: You may now override the default sanitization parameters [#712, @nateberkopec]

  • FEATURE: Breadcrumb buffers are now publicly accessible [#686, @nateberkopec]

  • FEATURE: We yell at you now if you're using Heroku but don't have runtime-dyno-metadata enabled [#715, @nateberkopec]

  • FEATURE: project_root will always be set, regardless of framework [#716, @nateberkopec]

  • BUGFIX: Request body and message limits now match Sentry server defaults [#714, @nateberkopec]

  • BUGFIX: Sidekiq context now works as expected [#713, @nateberkopec]

  • BUGFIX: Capture exceptions in ActiveJob when not using Sidekiq adapter [#709, #671, @nateberkopec]