-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v6.23.0 #697
Merged
Merged
Release v6.23.0 #697
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This will eventually replace the breadcrumb types in the Bugsnag::Breadcrumbs module
This will eventually replace notify_release_stages entirely, but for now exists as an alias
By using them in the Rails 5 app, but not the Rails 4 & 6 apps, we can be more confident that the aliases work exactly as the old names did
Co-authored-by: Delisa <kattrali@users.noreply.github.com>
Deprecate and provide replacements for inconsistent methods
…ease-stage Don't start sessions when the current release stage is not enabled
Send sessions every 10 seconds instead of every 30 seconds
This should help to differentiate errors that prevent things from being delivered from errors that we can continue from, e.g. errors raised in middleware
Log delivery failures as errors
Add tests for successful active job execution
…elog Add missing deprecation to changelog
This manages and calls any registered on_breadcrumb callbacks
This stores the original Exception instance directly. This is different to 'raw_exceptions' because 'raw_exceptions' traverses 'cause' chains to build an array of Exception objects and attempts to normalise non-Exception objects into Exceptions
This currently reads from metadata to avoid a breaking change, however this will be extracted from metadata as it's a top-level field in the API
Add `errors` to Report/Event
Add `original_error` to Report/Event
Add `request` to Report/Event
This class handles the various ways metadata can be updated so this logic can be reused in multiple classes
This will let us re-use them in other tests, to ensure all classes support every use-case of the metadata delegate
These can be replaced with add/clear metadata
Improve metadata API in Report/Event
Add the stacktrace to `Error`s
Add `set_user` to Report/Event
kattrali
approved these changes
Sep 20, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enhancements
| #680
ERROR
level| #681
on_breadcrumb
callbacks to replacebefore_breadcrumb_callbacks
| #686
context
attribute to configuration, which will be used as the default context for events. Using this option will disable automatic context setting| #687
| #688
Bugsnag#breadcrumbs
getter to fetch the current list of breadcrumbs| #689
time
(an ISO8601 string in UTC) todevice
metadata| #690
errors
toReport
/Event
containing an array ofError
objects. TheError
object containserror_class
,error_message
,stacktrace
andtype
(always "ruby")| #691
original_error
toReport
/Event
containing the original Exception instance| #692
request
toReport
/Event
containing HTTP request metadata| #693
add_metadata
andclear_metadata
toReport
/Event
| #694
set_user
toReport
/Event
| #695
Fixes
| #677
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
moduleFor 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