Releases: bugsnag/bugsnag-js
Releases · bugsnag/bugsnag-js
v7.14.1
Fixed
- (plugin-network-breadcrumbs): Fix a crash when request URL is not a string #1598
- (in-flight): Fix Typescript definition exporting a type instead of a value skirsten #1587
- (plugin-electron-net-breadcrumbs): Don't leave breadcrumbs for requests to the minidumps endpoint #1597
- Add a
default
export to plugins that were missing one #1599
v7.14.0
This release adds support for reporting native crashes to @bugsnag/electron
.
If you are using modules with native extensions, you can upload Breakpad symbol files to Bugsnag to symbolicate native errors.
Note: Bugsnag On-premise does not currently support uploading minidump files. This will be supported in an upcoming release.
- (electron): Add support for reporting native crashes #1581
v7.13.3
Fixed
- (plugin-network-breadcrumbs): Fix a crash when request data goes missing #1564
Changed
- (expo): Add support for Expo SDK v43 foolem #1556 / #1566
- (react-native): Update bugsnag-cocoa to v6.14.2
- Fix missing
configuration.user
and manually resumedsession
info in unhandled errors. bugsnag-cocoa#1215 - Disable automatic session tracking in app extensions (it was not working as intended.) bugsnag-cocoa#1211
- Stop logging "[ERROR] Failed to install crash handler..." if a debugger is attached. bugsnag-cocoa#1210
- Include the word "request" in network request breadcrumb messages. bugsnag-cocoa#1209
- Prevent a crash that can occur when
-[BSGURLSessionTracingProxy forwardInvocation:]
calls-[NSInvocation selector]
. bugsnag-cocoa#1208 - Apply
redactedKeys
to breadcrumb metadata. bugsnag-cocoa#1204
- Fix missing
- (react-native): Update bugsnag-android to v5.15.0
- Avoid reporting false-positive background ANRs with improved foreground detection. bugsnag-android#1429
- Prevent events being attached to phantom sessions when they are blocked by an
OnSessionCallback
. bugsnag-android#1434 - Plugins will correctly mirror metadata added using
addMetadata(String, Map)
. bugsnag-android#1454
v7.13.2
Changed
- (react-native): Update bugsnag-android to v5.14.0
- Capture and report thread state (running, sleeping, etc.) for Android Runtime and Native threads
bugsnag-android#1367
bugsnag-android#1390
- Capture and report thread state (running, sleeping, etc.) for Android Runtime and Native threads
- (react-native): Update bugsnag-cocoa to v6.14.0
- Capture and report thread states (running, stopped, waiting, etc.) bugsnag-cocoa#1200
- Disable app hang detection for app extensions. bugsnag-cocoa#1198
v7.13.1
Changed
- (react-native): Update bugsnag-cooca to v6.12.2
- Stop dropping breadcrumbs when provided invalid metadata (that is not JSON convertible.) bugsnag-cocoa#1187
- Fix Swift fatal error parsing for messages with no filename. bugsnag-cocoa#1186
- Fix a regression where the session was not captured at launch if Bugsnag was started before
willFinishLaunchingWithOptions
in iOS apps that do not adopt the UIScene life-cycle. bugsnag-cooca#1180
- (react-native): Update bugsnag-android to v5.13.0
- Capture breadcrumbs for OkHttp network requests
bugsnag-android#1358
bugsnag-android#1361
bugsnag-android#1363
bugsnag-android#1379 - Update project to build using Gradle/AGP 7
bugsnag-android#1354 - Increased default breadcrumb collection limit to 50
bugsnag-android#1366 - Support integer values in buildUuid
bugsnag-android#1375 - Use SystemClock.elapsedRealtime to track
app.durationInForeground
bugsnag-android#1375
- Capture breadcrumbs for OkHttp network requests
v7.13.0
Changed
- (react-native): Update bugsnag-cooca to v6.12.0
- Events now include a
thermalState
property in thedevice
tab, and unexpected app terminations that occur when the thermal state is critical will now be reported as a "Thermal Kill" rather than Out Of Memory error. bugsnag-cooca#1171 - Fatal app hangs will no longer be reported if the
willTerminateNotification
is received. bugsnag-cooca#1176 - Add breadcrumbs for
UIScene
notifications. bugsnag-cooca#1165
- Events now include a
- (react-native): Update bugsnag-android to v5.12.0
- The
app.lowMemory
value always report the most recentonTrimMemory
/onLowMemory
status bugsnag-android#1342 - Added the
app.memoryTrimLevel
metadata to report a description of the latestonTrimMemory
status bugsnag-android#1344 - Added
STATE
Breadcrumbs foronTrimMemory
events bugsnag-android#1345
- The
v7.12.0
Changed
- (expo): Add support for Expo SDK v42 #1488
- (react-native): Update bugsnag-android to v5.11.0
- Add Bugsnag listeners for StrictMode violation detection
bugsnag-android#1331 - Address pre-existing StrictMode violations
bugsnag-android#1328
- Add Bugsnag listeners for StrictMode violation detection
- (react-native): Update bugsnag-cocoa to v6.10.4
- Fix ThreadSanitizer data race in
BugsnagBreadcrumbs
. bugsnag-cocoa#1160 - Fix another rare crash in
bsg_ksmachgetThreadQueueName
. bugsnag-cocoa#1157
- Fix ThreadSanitizer data race in
v7.11.0
Added
- Server framework plugins now honour the
autoDetectErrors
configuration option #1464
Changed
- (react-native): Update bugsnag-cocoa to v6.10.2
- Fix ThreadSanitizer data race warning in
BSGAppHangDetector
. bugsnag-cocoa#1153 - Remove (duplicated)
user
information frommetaData
. bugsnag-cocoa#1151 - Fix a potential stack overflow in
+[BugsnagThread allThreadsWithCurrentThreadBacktrace:]
. bugsnag-cocoa#1148 - Fix
NSNull
handling in+[BugsnagError errorFromJson:]
and+[BugsnagStackframe frameFromJson:]
. bugsnag-cocoa#1143 - Fix a rare crash in
bsg_ksmachgetThreadQueueName
. bugsnag-cocoa#1147
- Fix ThreadSanitizer data race warning in
- (react-native): Update bugsnag-android to v5.10.1
- Prefer
calloc()
tomalloc()
in NDK code
bugsnag-android#1320 - Ensure correct value always collected for activeScreen
bugsnag-android#1322 - Capture process name in Event payload
bugsnag-android#1318 - Avoid unnecessary BroadcastReceiver registration for monitoring device orientation
bugsnag-android#1303 - Register system callbacks on background thread
bugsnag-android#1292 - Fix rare NullPointerExceptions from ConnectivityManager
bugsnag-android#1311 - Respect manual setting of context
bugsnag-android#1310 - Handle interrupt when shutting down executors
bugsnag-android#1315 - React Native: allow serializing enabledBreadcrumbTypes as null
bugsnag-android#1316 - Unity: Properly handle ANRs after multiple calls to autoNotify and autoDetectAnrs
bugsnag-android#1265 - Cache value of app.backgroundWorkRestricted
bugsnag-android#1275 - Optimize execution of callbacks
bugsnag-android#1276 - Optimize implementation of internal state change observers
bugsnag-android#1274 - Optimize metadata implementation by reducing type casts
bugsnag-android#1277 - Trim stacktraces to <200 frames before attempting to construct POJOs
bugsnag-android#1281 - Use direct field access when adding breadcrumbs and state updates
bugsnag-android#1279 - Avoid using regex to validate api key
bugsnag-android#1282 - Discard unwanted automatic data earlier where possible
bugsnag-android#1280 - Enable ANR handling on immediately if started from the main thread
bugsnag-android#1283 - Include
app.binaryArch
in all events
bugsnag-android#1287 - Cache results from PackageManager
bugsnag-android#1288 - Use ring buffer to store breadcrumbs
bugsnag-android#1286 - Avoid expensive set construction in Config constructor
bugsnag-android#1289 - Replace calls to String.format() with concatenation
bugsnag-android#1293 - Optimize capture of thread traces
bugsnag-android#1300
- Prefer
Fixed
v7.10.5
Fixed
- (plugin-console-breadcrumbs): Ensure console breadcrumbs do not run in Expo's dev environment and obscure log line numbers #1453
- (browser): "Bugsnag" loaded breadcrumb now has the type "state" rather than "navigation" #1460
- (plugin-react-native-unhandled-rejections): Remove flow syntax #1461
Added
- (expo): User ID now defaults to
device.id
if no user is set #1454 - (browser): User ID now defaults to
device.id
if no user is set (whencollectUserIp=false
) #1456 - (react-native-cli): Suggests Bugsnag Android Gradle Plugin v7 dependency if we detect the project uses AGP v7 #1445
Changed
- (react-native): Update bugsnag-cocoa to v6.10.0
- Fix an issue that could cause C++ exceptions with very long descriptions to not be reported. bugsnag-cocoa#1137
- Improve performance of adding metadata by using async file I/O. bugsnag-cocoa#1133
- Improve performance of leaving breadcrumbs by using async file I/O. bugsnag-cocoa#1124
v7.10.4
Fixed
- (expo): Prevent internal NetInfo connectivy requests from showing as breadcrumbs #1443
Changed
- (react-native): Update bugsnag-cocoa to v6.9.7
- Prevent some potential false positive detection of app hangs. bugsnag-cocoa#1122
- Improve accuracy of app hang event information to better reflect state at time of detection. bugsnag-cocoa#1118