This repository was archived by the owner on Aug 12, 2023. It is now read-only.
Update dependency @bugsnag/js to v7 #353
Open
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.
This PR contains the following updates:
6.5.2
->7.5.1
Release Notes
bugsnag/bugsnag-js
v7.5.1
Compare Source
Fixed
trackInlineScripts
option #1102 / #1097Changed
v7.4.0
Compare Source
Added
generateAnonymousId
option is enabled. #1072Changed
Require Only App-Extension-Safe API
build setting bugsnag-cocoa#823+[Bugsnag breadcrumbs]
to allow apps to fetch the list of breadcrumbs. bugsnag-cocoa#813v7.3.5
Compare Source
Fixed
v7.3.4
Compare Source
Fixed
Removed
v7.3.3
Compare Source
Added
BugsnagErrorBoundary
andBugsnagPluginReactResult
available for external use. 934 / #1009Changed
Fixed
apiKey
, as it may be supplied inapp.json
instead. #1010codeBundleId
to config type definition. #1011v7.3.0
Compare Source
As of this version, this repo contains our brand new notifier for React Native
@bugsnag/react-native
. See the docs and upgrade guide for more info.Some minor internal changes to shared code were made to support the new notifier, but no external changes are required for existing
@bugsnag/js
or@bugsnag/expo
users to upgrade to this version.v7.2.1
Compare Source
Fixed
window.Vue
fallback does not throw in environments wherewindow
is undefined. #928window.React
fallback does not throw in environments wherewindow
is undefined. #930Record<string,string>
instead ofobject
for thestackframe.code
property on events. #929v7.2.0
Compare Source
Added
Changed
@bugsnag/safe-json-stringify
to makeredactedKeys
case insensitive when using strings #905Fixed
req.body
is always present in metadata by collecting it at the last possible moment #872v7.1.1
Compare Source
Fixed
esModuleInterop
compiler flag #866v7.1.0
Compare Source
This update contains some substantial changes to plugin type definitions. If you are using TypeScript alongside a framework, you may need to make changes to your app. Please refer to the upgrade guide.
Changed
Added
Bugsnag.getPlugin('react')
#839Bugsnag.getPlugin('vue')
#839clearError
prop toErrorBoundary
#797v7.0.2
Compare Source
Fixed
init
static method name tostart
#847v7.0.1
Compare Source
Fixed
undefined
) #804.start()
with no arguments #817v7.0.0
Compare Source
Added
onBreadcrumb
andonSession
callbacks. #665pauseSession()
andresumeSession()
methods toClient
#666Bugsnag
client interface #685getUser()
andsetUser()
methods toSession
#692Changed
autoNotify
->autoDetectErrors
, and addenabledErrorTypes
option for granularity #706autoCaptureSessions
->autoTrackSessions
and simplify validation logic #647report
toevent
#646notifyReleaseStages
->enabledReleaseStages
#649beforeSend
->onError
, removeevent.ignore()
and refactor callback logic #654notify(err, opts?, cb?)
->notify(err, onError?, cb?)
for a canonical way to update events #655client
andevent
and updated via get/set methods #657enabledBreadcrumbTypes
, renamebreadcrumb.{ name -> message, metaData -> metadata }
, and updateleaveBreadcrumb()
type signature to be more explicit #650metaData
->metadata
and add consistentadd/get/clearMetadata()
methods toClient
/Event
for manipulating metadata explicitly, rather than mutating a property #658leaveBreadcrumb()
type signature to returnvoid
. #661notify()
to not accept events (they go via_notify()
instead). ConsolidateEvent
static methods into a single.create()
utility, used by all automatic error detection components. #664Session
methodtrackError()
->_track()
#675Event
to support multiple errors #680Client
, and get/set viagetContext()/setContext()
#681@bugsnag/safe-json-stringify
to replace redacted values with[REDACTED]
#683collectUserIp
option to use[REDACTED]
instead of[NOT COLLECTED]
for consistency #743setContext(null)
has been called #694filters
option toredactedKeys
#704device.modelName
todevice.model
#726client.refresh()
toclient.resetEventCount()
#727client.use(plugin)
has been removed and plugins must now be passed in to configuration #759apiKey
) now falls back to default values rather than throwing an error #759Removed
Client
interface:logger()
,delivery()
andsessionDelegate()
#659client.request
property #672client.device
property #673client.app
property #677client._breadcrumbs
#681Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.