Releases: bugsnag/bugsnag-js
Releases · bugsnag/bugsnag-js
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
v7.10.3
7.10.3 (2021-06-15)
Fixed
- (react-native): Ensure source maps are uploaded correctly in Xcode for RN <0.64 #1438
Changed
- (react-native): Update bugsnag-cocoa to v6.9.5
- Stop app hangs being reported if app is launched in the background. bugsnag-cocoa#1112
- Stop session being reported if app is launched in the background. bugsnag-cocoa#1107
- Fix KSCrash state storage for apps with no CFBundleName. bugsnag-cocoa#1103
v7.10.2
Fixed
- (react-native): Prevent unhandled promise rejections being split into multiple log calls #1419
Changed
- (react-native): Update bugsnag-cocoa to v6.9.4
- Improve performance of
notify()
. bugsnag-cocoa#1102 bugsnag-cocoa#1104 bugsnag-cocoa#1105 - Fix a crash in
-[BugsnagApp deserializeFromJson:]
if main Mach-O image could not be identified, and improve reliability of identification. bugsnag-cocoa#1097 bugsnag-cocoa#1101 - Remove need for
-ObjC
linker flag if linking Bugsnag as a static library. bugsnag-cocoa#1098
- Improve performance of
- (react-native): Update bugsnag-android to v5.9.4
- Unity: add methods for setting autoNotify and autoDetectAnrs
bugsnag-android#1233 - Including bugsnag.h in C++ code will no longer cause writable-strings warnings
bugsnag-android#1260 - Small performance improvements to device and app state collection
bugsnag-android#1258 - NDK: lowMemory attribute is now reported as expected
bugsnag-android#1262 - Don't include loglog.so in ndk plugin builds performed on Linux
bugsnag-android#1263
- Unity: add methods for setting autoNotify and autoDetectAnrs
- (react-native): Only include
codeBundleId
in payload if it has a value #1426
v7.10.1
Changed
- (react-native): Update bugsnag-cocoa to v6.9.2
- Add a mechanism for reporting errors that occur within the notifier. bugsnag-cocoa#1089
- Fix compiler warnings when additional warning flags are enabled. bugsnag-cocoa#1092 bugsnag-cocoa#1094
- (react-native): Update bugsnag-android to v5.9.3
- Avoid unnecessary collection of Thread stacktraces
bugsnag-android#1249 - Prevent errors in rare cases where either ConnectivityManager or StorageManager is not available
bugsnag-android#1251 - Change the Bugsnag-Internal-Error header to "bugsnag-android"
bugsnag-android#1252 - Prevent resource exhaustion when Throwable cause chains are recursive
bugsnag-android#1255 - Added Date support to ObjectJsonStreamer
bugsnag-android#1256
- Avoid unnecessary collection of Thread stacktraces
- (browser,node): Add default
appType
#1415
v7.10.0
This release adds @bugsnag/electron
, a notifier for use on apps that are built using Electron.
Added
- (electron): a new top-level notifier
@bugsnag/electron
and related plugins
Changed
- (node): File paths in stacktraces now always use
/
as the path separator - (node): Surrounding code can be fetched from file paths that are relative to the project root
- (react-native): Update bugsnag-android to v5.9.2
- Guard against exceptions with null stack traces
bugsnag-android#1239 - Fix bug that terminated the app when multiple ANRs occur
bugsnag-android#1235 - Prevent rare NPE in log message
bugsnag-android#1238 - Prevent rare NPE when capturing thread traces
bugsnag-android#1237 - Catch exceptions thrown by Context.registerReceiver to prevent rare crashes
bugsnag-android#1240 - Fix possible NegativeArraySizeException in crash report deserialization
bugsnag-android#1245
- Guard against exceptions with null stack traces
v7.9.6
Added
- (react-native-cli): Add support for ejected Expo apps #1365
- (react-native): Add support for Xcode 12 #1314
Changed
- (react-native): Update bugsnag-cocoa to v6.9.1
- Fix a possible deadlock when writing crash reports for uncaught Objective-C exceptions. bugsnag-cocoa#1082
- Fix missing
context
for crash, OOM, and app hang errors. bugsnag-cocoa#1079 - Fix
app
properties in OOMs for apps that overrideappType
,appVersion
,bundleVersion
orreleaseStage
in their config. bugsnag-cocoa#1078 event.threads
will now be empty, rather than containing a single thread, ifsendThreads
dictates that threads should not be sent. bugsnag-cocoa#1077
v7.9.5
Changed
- (react-native): Update bugsnag-cocoa to v6.9.0
- App hangs that occur while an app is in the background will no longer be reported. bugsnag-cocoa#1075
- Add
binaryArch
andrunningOnRosetta
to theapp
metadata tab. bugsnag-cocoa#1073 - Bugsnag can now be used without AppKit, allowing use in daemons and other processes running in non-UI sessions. bugsnag-cocoa#1072
- (react-native): Update bugsnag-android to v5.9.1
- Add projectPackages field to error payloads bugsnag-android#1226
- Fix deserialization bug in persisted NDK errors bugsnag-android#1220
v7.9.4
Changed
- (react-native): Update bugsnag-cocoa to v6.8.4
macCatalystiOSVersion
is now reported for apps built with Mac Catalyst and iOS app running on Apple silicon. bugsnag-cocoa#1066- Fix crashes that could occur in
bsg_recordException
in low memory conditions. bugsnag-cocoa#1068 - Fix a crash in
bsg_ksmachgetThreadQueueName
. bugsnag-cocoa#1065 - Improve timestamp accuracy to fix breadcrumbs that are reported to occur after the error. bugsnag-cocoa#1062
Fixed
v7.9.3
Changed
- (react-native): Update bugsnag-cocoa to v6.8.3
- Catch exceptions thrown while preparing JSON for upload rather than crashing. bugsnag-cocoa#1063
- Prevent app hangs being reported if a debugger is attached. bugsnag-cocoa#1058
- Improve support for Mac Catalyst and iOS apps running on macOS.
bugsnag-cocoa#1056
bugsnag-cocoa#1055
bugsnag-cocoa#1053