Releases: bugsnag/bugsnag-js
Releases · bugsnag/bugsnag-js
v7.16.3
Changed
- (react-native) Update bugsnag-android to v5.22.0
- The number of threads reported can now be limited using
Configuration.setMaxReportedThreads
(defaulting to 200)
bugsnag-android#1607 - Improved the performance and stability of the NDK and ANR plugins by caching JNI references on start
bugsnag-android#1596
bugsnag-android#1601 - Fix inconsistencies in stack trace quality for C/C++ events. Resolves a few
cases where file and line number information was not resolving to the correct
locations. This change may result in grouping changes to more correctly
highlight the root cause of an event.
bugsnag-android#1605
bugsnag-android#1606 - Fixed an issue where an uncaught exception on the main thread could in rare cases trigger an ANR.
bugsnag-android#1624 - Added
Bugsnag.isStarted()
to test whether the Bugsnag client is in the middle of initializing. This can be used to guard uses of the Bugsnag API that are either on separate threads early in the app's start-up and so not guaranteed to be executed afterBugsnag.start
has completed, or where Bugsnag may not have been started at all due to some internal app logic.
slack-jallen:#1621
bugsnag-android#1640 - Events and Sessions will be discarded if they cannot be uploaded and are older than 60 days or larger than 1MB
bugsnag-android#1633 - Fixed potentially thread-unsafe access when invoking
Bugsnag
static methods across different threads whilstBugsnag.start
is still in-flight. It is now safe to call anyBugsnag
static method onceBugsnag.start
has begun executing, as access to the client singleton is controlled by a lock, so the newisStarted
method (see above) should only be required where it cannot be determined whether the call toBugsnag.start
has begun or you do not want to wait. - bugsnag-android#1638
- Calling
bugsnag_event_set_context
with NULLcontext
correctly clears the event context again
bugsnag-android#1637
- The number of threads reported can now be limited using
Fixed
v7.16.2
Fixed
- (expo): preliminary support for Expo EAS Update. Please send us feedback on how we can improve our support! kennethlynne #1686 #1695
Changed
- (plugin-react-navigation): Allow React Navigation v6 as a peer dependency #1691
v7.16.1
Fixed
- (react-native) Handle circular references in metadata before it's sent to the native notifier layer #1673
Changed
- (react-native) Update bugsnag-android to v5.19.2
- New APIs to support forthcoming feature flag and experiment functionality. For more information, please see https://docs.bugsnag.com/product/features-experiments.
- Explicitly define Kotlin api/language versions
bugsnag-android#1564 - Build project with Kotlin 1.4, maintain compat with Kotlin 1.3
bugsnag-android#1565 - Discarded unhandled exceptions are propagated to any previously registered handlers
bugsnag-android#1584 - Fix SIGABRT crashes caused by race conditions in the NDK layer
bugsnag-android#1585 - Fixed an issue where feature-flags were not always sent if an OnSendCallback was configured
bugsnag-android#1589 - Fix a bug where api keys set in React Native callbacks were ignored
bugsnag-android#1592
v7.16.0
Added
- New APIs to support forthcoming feature flag and experiment functionality. For more information, please see https://docs.bugsnag.com/product/features-experiments.
Changed
- (expo): Avoid using deprecated constants #1665
- (react-native) Update bugsnag-cocoa to v6.16.1
- New APIs to support forthcoming feature flag and experiment functionality. For more information, please see https://docs.bugsnag.com/product/features-experiments
bugsnag-cocoa#1279 - Fix missing imports when building with
CLANG_ENABLE_MODULES=NO
bugsnag-cocoa#1284 - Fix missing user.id in OOM events with no active session.
bugsnag-cocoa#1274 - Improve crash report writing performance and size on disk.
bugsnag-cocoa#1273
bugsnag-cocoa#1281 - Detect hangs during launch of UIScene based apps.
bugsnag-cocoa#1263 - Stop persisting changes made by
OnSendError
callbacks if delivery needs to be retried.
bugsnag-cocoa#1262 - Fix incorrect
device.freeDisk
in crash errors.
bugsnag-cocoa#1256 - Fix some potential deadlocks that could occur if a crash handler crashes.
bugsnag-cocoa#1252 - Fix missing imports when building with
CLANG_ENABLE_MODULES=NO
bugsnag-cocoa#1284
- New APIs to support forthcoming feature flag and experiment functionality. For more information, please see https://docs.bugsnag.com/product/features-experiments
v7.15.1
Changed
- (expo): Add support for Expo SDK v44 #1640
- (expo): Update expo @bugsnag/source-maps dependency #1637
- (react-native) Update bugsnag-android to v5.18.0
- Improve the memory use and performance overhead when handling the delivery response status codes
bugsnag-android#1558 - Harden ndk layer through use of const keyword
bugsnag-android#1566 - Delete persisted NDK events earlier in delivery process
bugsnag-android#1562 - Add null checks for strlen()
bugsnag-android#1563 - Catch IOException when logging response status code
bugsnag-android#1567
- Improve the memory use and performance overhead when handling the delivery response status codes
v7.15.0
v7.14.2
Fixed
- (react-native-cli): Fix Xcode build error for ejected Expo apps #1623
Changed
- (react-native) Update bugsnag-android to v5.17.0
- Bump compileSdkVersion to apiLevel 31
bugsnag-android#1536 - Flush in-memory sessions first
bugsnag-android#1538 - Avoid unnecessary network connectivity change breadcrumb
bugsnag-android#1540
bugsnag-android#1546 - Clear native stacktrace memory in
bugsnag_notify_env
before attempting to unwind the stack
bugsnag-android#1543 - Increase resilience of NDK stackframe method capture bugsnag-android#1484
redactedKeys
now correctly apply to metadata on Event breadcrumbs bugsnag-android#1526- Improved the robustness of automatically logged
ERROR
breadcrumbs bugsnag-android#1531 - Improve performance on the breadcrumb storage "hot path" by removing Date formatting bugsnag-android#1525
- Bump compileSdkVersion to apiLevel 31
- (react-native): Update bugsnag-cocoa to v6.15.1
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