Releases: bugsnag/bugsnag-js
Releases · bugsnag/bugsnag-js
v7.16.7
Added
- Added
Bugsnag.isStarted()
to check whether Bugsnag has initialized #1737
Changed
- Update type definitions for
Bugsnag.notify()
#1743
Fixed
- (react-native) Fixed Kotlin related version conflict with Android Gradle Plugin #1750
v7.16.6
Changed
- (react-native) Update bugsnag-android to v5.22.4
- Reverted bugsnag-android#1680 to avoid deadlocks during startup
bugsnag-android#1696 - Improved
app.inForeground
reporting for NDK errors
bugsnag-android#1690
- Reverted bugsnag-android#1680 to avoid deadlocks during startup
v7.16.5
Changed
- (react-native) Update bugsnag-android to v5.22.3
- Max reported threads can now be configured using manifest meta-data "com.bugsnag.android. MAX_REPORTED_THREADS"
bugsnag-android#1655 - Small improvement to startup performance (Bugsnag.start)
bugsnag-android#1648 - Fixed NDK stack-traces for libraries linked after
Bugsnag.start
was called
bugsnag-android#1671 - Fixed concurrency bug that could be triggered via the React Native plugin
bugsnag-android#1679 - Correctly report
device.locationStatus
on Android 12 onwards usingLocationManager.isLocationEnabled
bugsnag-android#1683 - Small performance improvements to
Bugnag.start
bugsnag-android#1680
- Max reported threads can now be configured using manifest meta-data "com.bugsnag.android. MAX_REPORTED_THREADS"
- (react-native-cli) Fix 'insert' command with RN 0.68+ #1726
- (plugin-react|plugin-vue|plugin-react-navigation|plugin-react-native-navigation) Set
@bugsnag/core
to be an optional peer dependency to avoid unmet peer dependency warnings #1735 - (electron) Improved error message when no apiKey is provided to Bugsnag.start() #1738
- (plugin-simple-throttle) Warning message added when error handler has exceeded
maxEvents
#1739
v7.16.4
-
(expo) This release marks a change in the version scheme used by
@bugsnag/expo
and a move to its own repo,bugsnag-expo
From this version onwards,
@bugsnag/expo
will match the Expo SDK version number. For example,@bugsnag/expo
v44 supports Expo SDK 44. When updating to a new Expo SDK version, you should also update@bugsnag/expo
Fixed
- (plugin-react) Add 'children' prop to BugsnagErrorBoundary #1723
- (react-native) Fix reporting of
RCTFatal()
crashes on iOS. #1719 - (react-native-cli) Fix 'insert' command with RN 0.68+ #1726
- (plugin-electron-app-breadcrumbs) Fix a TypeError caused by using a BrowserWindow object after it is destroyed #1722
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