Bugsnag v6.23.0 Release Notes
Release Date: 2021-09-21 // over 2 years ago-
✨ Enhancements
- Sessions will now be delivered every 10 seconds, instead of every 30 seconds | #680
- 🌲 Log errors that prevent delivery at
ERROR
level | #681 - Add
on_breadcrumb
callbacks to replacebefore_breadcrumb_callbacks
| #686 - ➕ Add
context
attribute to configuration, which will be used as the default context for events. Using this option will disable automatic context setting | #687 | #688 - ➕ Add
Bugsnag#breadcrumbs
getter to fetch the current list of breadcrumbs | #689 - ➕ Add
time
(an ISO8601 string in UTC) todevice
metadata | #690 - Add
errors
toReport
/Event
containing an array ofError
objects. TheError
object containserror_class
,error_message
,stacktrace
andtype
(always "ruby") | #691 - ➕ Add
original_error
toReport
/Event
containing the original Exception instance | #692 - ➕ Add
request
toReport
/Event
containing HTTP request metadata | #693 - 📇 Add
add_metadata
andclear_metadata
toReport
/Event
| #694 - ➕ Add
set_user
toReport
/Event
| #695
🛠 Fixes
- 🚀 Avoid starting session delivery thread when the current release stage is not enabled | #677
🗄 Deprecated
before_breadcrumb_callbacks
have been deprecated in favour ofon_breadcrumb
callbacks and will be removed in the next major release- 🚀 For consistency with Bugsnag notifiers for other languages, a number of methods have been deprecated in this release. The old options will be removed in the next major version | #676
- The
notify_release_stages
configuration option has been deprecated in favour ofenabled_release_stages
- The
auto_capture_sessions
andtrack_sessions
configuration options have been deprecated in favour ofauto_track_sessions
- The
enabled_automatic_breadcrumb_types
configuration option has been deprecated in favour ofenabled_breadcrumb_types
- The
Report
class has been deprecated in favour of theEvent
class - The
Report#meta_data
attribute has been deprecated in favour ofEvent#metadata
- The
Breadcrumb#meta_data
attribute has been deprecated in favour ofBreadcrumb#metadata
- The
Breadcrumb#name
attribute has been deprecated in favour ofBreadcrumb#message
- The breadcrumb type constants in the
Bugsnag::Breadcrumbs
module has been deprecated in favour of the constants available in theBugsnag::BreadcrumbType
module For example,Bugsnag::Breadcrumbs::ERROR_BREADCRUMB_TYPE
is now available asBugsnag::BreadcrumbType::ERROR
- The
- 🗄
Report#exceptions
has been deprecated in favour of the newerrors
property - 🗄
Report#raw_exceptions
has been deprecated in favour of the neworiginal_error
property - 📇 Accessing request data via
Report#metadata
has been deprecated in favour of using the newrequest
property. Request data will be moved out of metadata in the next major version - 🚚 The
Report#add_tab
andReport#remove_tab
methods have been deprecated in favour of the newadd_metadata
andclear_metadata
methods