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 replace before_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) to device metadata
| #690
Add errors to Report/Event containing an array of Error objects. The Error object contains error_class, error_message, stacktrace and type (always "ruby")
| #691
Add original_error to Report/Event containing the original Exception instance
| #692
Add request to Report/Event containing HTTP request metadata
| #693
Add add_metadata and clear_metadata to Report/Event
| #694
Avoid starting session delivery thread when the current release stage is not enabled
| #677
Deprecated
before_breadcrumb_callbacks have been deprecated in favour of on_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 of enabled_release_stages
The auto_capture_sessions and track_sessions configuration options have been deprecated in favour of auto_track_sessions
The enabled_automatic_breadcrumb_types configuration option has been deprecated in favour of enabled_breadcrumb_types
The Report class has been deprecated in favour of the Event class
The Report#meta_data attribute has been deprecated in favour of Event#metadata
The Breadcrumb#meta_data attribute has been deprecated in favour of Breadcrumb#metadata
The Breadcrumb#name attribute has been deprecated in favour of Breadcrumb#message
The breadcrumb type constants in the Bugsnag::Breadcrumbs module has been deprecated in favour of the constants available in the Bugsnag::BreadcrumbType module
For example, Bugsnag::Breadcrumbs::ERROR_BREADCRUMB_TYPE is now available as Bugsnag::BreadcrumbType::ERROR
Report#exceptions has been deprecated in favour of the new errors property
Report#raw_exceptions has been deprecated in favour of the new original_error property
Accessing request data via Report#metadata has been deprecated in favour of using the new request property. Request data will be moved out of metadata in the next major version
The Report#add_tab and Report#remove_tab methods have been deprecated in favour of the new add_metadata and clear_metadata methods
Enhancements
ERROR
level | #681on_breadcrumb
callbacks to replacebefore_breadcrumb_callbacks
| #686context
attribute to configuration, which will be used as the default context for events. Using this option will disable automatic context setting | #687 | #688Bugsnag#breadcrumbs
getter to fetch the current list of breadcrumbs | #689time
(an ISO8601 string in UTC) todevice
metadata | #690errors
toReport
/Event
containing an array ofError
objects. TheError
object containserror_class
,error_message
,stacktrace
andtype
(always "ruby") | #691original_error
toReport
/Event
containing the original Exception instance | #692request
toReport
/Event
containing HTTP request metadata | #693add_metadata
andclear_metadata
toReport
/Event
| #694set_user
toReport
/Event
| #695Fixes
Deprecated
before_breadcrumb_callbacks
have been deprecated in favour ofon_breadcrumb
callbacks and will be removed in the next major releasenotify_release_stages
configuration option has been deprecated in favour ofenabled_release_stages
auto_capture_sessions
andtrack_sessions
configuration options have been deprecated in favour ofauto_track_sessions
enabled_automatic_breadcrumb_types
configuration option has been deprecated in favour ofenabled_breadcrumb_types
Report
class has been deprecated in favour of theEvent
classReport#meta_data
attribute has been deprecated in favour ofEvent#metadata
Breadcrumb#meta_data
attribute has been deprecated in favour ofBreadcrumb#metadata
Breadcrumb#name
attribute has been deprecated in favour ofBreadcrumb#message
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
Report#exceptions
has been deprecated in favour of the newerrors
propertyReport#raw_exceptions
has been deprecated in favour of the neworiginal_error
propertyReport#metadata
has been deprecated in favour of using the newrequest
property. Request data will be moved out of metadata in the next major versionReport#add_tab
andReport#remove_tab
methods have been deprecated in favour of the newadd_metadata
andclear_metadata
methods