- Adds the ability to unwrap
Sidekiq::JobRetry::Handled
exceptions (or ignore them entirely) (#185)
- BREAKING CHANGE: Remove support for end-of-life Ruby verisons and Rails versions prior to 6.0.0
- Bug fix: Fix issue with breadcrumbs not being sent to Raygun when
send_in_background
is enabled (thanks to @jjb for the bug report) - Updates testing to reflect the above
- Use
Kernel.caller
when backtrace is not available (thanks to @TSMMark)
- Bug fix: Rename Testable class to DemoException to ensure it is added to the bundle (#166)
- Bug fix: Ensure tags passed into track_exception are not persisted (#164)
- Set sidekiq tag on sidekiq errors (#161)
- Introduce support for Raygun APM exceptions correlation (#154)
Bugfix:
- Remove Ruby 2.3 syntax to retain support for Ruby >= 2.0 (#148)
Bugfix:
- Fix NoMethodError Exception: undefined method
include?' for nil:NilClass in
JavascriptExceptionTracking` class. Thanks @yamanaltereh for this (#141) - Fix (#145), "raygun4ruby will load pry if it is in the gem bundle". Thanks to @eoinkelly for reporting this
Feature:
- If you have recorded a large number of Breadcrumbs, or just very large ones, Raygun4Ruby will now only send up to 100KB of them instead of all of them, potentially going over the 128KB payload limit Raygun accepts (#147)
Bugfix:
- Don't attempt to modify response unless JS api key is present
- Don't attempt to modify response unless it responds to indexing ([])
- See PR (#140)
Feature: - Ability to automatically configure Raygun4JS on the client side by injecting it into outbound HTML pages. Thanks @MikeRogers0 for this (#138)
Breaking changes:
Parameter filters are now applied if you are using the filter_payload_with_whitelist
functionality. Previously if this was set to true the parameter filtering was bailed out of (#136)
This is a patch release to update the required ruby version to correctly be 2.0 or greater
Features
- Add configuration option to control network timeouts when sending error reports, default value is 10 seconds (#129)
Features
- Enhanced debug logging to assist in resolving issues from support requests (#128)
Features
- Teach tags configuration how to handle a proc to allow dynamically settings tags (#127)
Bugfixes
- Fix crash when recording breadcrumb with uninitialized store (#126)
- Make raw data handling more robust and fix in unicorn (#125)
- Backwards compatible affected_user_identifier_methods (#120)
Bugfixes
- Fix crash in
Client#raw_data
method whenrack.input
buffer is missingpos
method
Features
- Add functionality to track affected user/customer in Sidekiq jobs, refer to the README for more information, under the "Affected User Tracking/Customers in Sidekiq" heading (#121)
Bugfixes
- Fix issue preventing affected users/customers for a crash report from showing up in the affected users/customers page (#119)
Features
- Opt in support for sending exceptions in a background thread to not block web request thread during IO (#117)
Bugfixes
- Don't attempt to read raw data during GET requests or if rack.input buffer is empty
Features
- Ability to record breadcrumbs in your code that will be sent to Raygun along with a raised exception (#113)
Bugfixes:
- Fix broken handling of raw request body reading in Rack applications (#116)
- This is a breaking change to how raw data was being read before so it requires a major version bump
- Raw request data reading is now disabled by default and can be enabled via the
record_raw_data
configuration option
Since this is a major version bump this release also deprecates ruby versions < 2.0
Features
- Send utcOffset with Raygun payload to calculate local server time in Raygun dashboard (#112)
Features:
- Raygun API url is now configurable via
Configuration.api_url
(#111) - Added support for
Exception#cause
to be tracked asinnerError
on Raygun. Only supported on Ruby >= 2.1 (#107)
Features:
- Improve affected user handling to let you specify all Raygun parameters, identifier, email, first name, full name and uuid. See README.md for details (#34)
- Pass a user object as the third parameter to
Raygun.track_exception
to have affected user tracking/customers for manually tracked exceptions, see the above link for more information on configuring this (#106) - If the exception instance responds to
:raygun_custom_data
that method will be called and the return value merged into thecustom_data
hash sent to Raygun. For convenience aRaygun::Error
class is provided that takes this custom data as a second argument (#101) - Allowed
Configuration.custom_data
to be set to a proc to allow a global custom data hook for all exceptions. It is passed as arguments the exception and the environment hash (#108) - Added
Configuration.debug
to enable logging the reason why an exception was not reported (#109)
Bugfixes:
- dup input hashes before applying whitelist filtering, previously this was modifying the contents of
action_dispatch.request.parameters
(#105)
Features:
- Added two new configuration options,
filter_payload_with_whitelist
andwhitelist_payload_shape
(#100)- See README.md for an example of how to use them
- When raygun4ruby encounters an exception trying to track an exception it will try once to send that exception to Raygun so you are notified (#104)
Bugfixes:
- raygun4ruby will no longer crash and suppress app exceptions when the API key is not configured (#87)