Releases: bugsnag/bugsnag-js
Releases · bugsnag/bugsnag-js
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
v7.9.2
Changed
- (react-native): Update bugsnag-cocoa to v6.8.1
- Fix unreliable ordering of breadcrumbs. bugsnag-cocoa#1049
- (react-native): Update bugsnag-android to v5.9.0
- Bump compileSdkVersion to apiLevel 30 bugsnag-android#1202
- Collect whether the system has restricted background work for the app bugsnag-android#1211
- Improve detection of rooted devices bugsnag-android#1194
bugsnag-android#1195
bugsnag-android#1198
bugsnag-android#1200
bugsnag-android#1201
v7.9.1
Changed
- (react-native): Update bugsnag-cocoa to v6.8.0
- Detect app hangs that make your app unresponsive. bugsnag-cocoa#1039
- Fix a heap buffer overflow reported by Address Sanitizer. bugsnag-cocoa#1043
- Fix parsing of
callStackSymbols
where the image name contains spaces. bugsnag-cocoa#1036 - Fix a possible deadlock when writing crash reports for unhandled errors. bugsnag-cocoa#1034
- (react-native): Update bugsnag-android to v5.8.0
Configuration#launchCrashThresholdMs
is deprecated in favour ofConfiguration#launchDurationMillis
- Add public API for crash-on-launch detection. bugsnag-android#1157
bugsnag-android#1159
bugsnag-android#1165
bugsnag-android#1164
bugsnag-android#1182
bugsnag-android#1184
bugsnag-android#1185
bugsnag-android#1186
bugsnag-android#1180
bugsnag-android#1188
bugsnag-android#1191
v7.9.0
Added
Changed
- (plugin-koa): Ensure
ctx.request.body
is present on the event's request property by collecting it at the last possible moment #1292 - (react-native): Update bugsnag-cocoa to v6.7.1
- Fix
os_proc_available_memory
runtime link error on Mac Catalyst. bugsnag-cocoa#1025 - Fix missing
osName
andosVersion
for errors reported from app extensions that do not link against UIKit. bugsnag-cocoa#1022 - Fix incorrect
freeMemory
for errors reported vianotify()
bugsnag-cocoa#1021
- Fix