Skip to content

Releases: bugsnag/bugsnag-js

v7.16.7

01 Jun 08:47
Compare
Choose a tag to compare

Added

  • Added Bugsnag.isStarted() to check whether Bugsnag has initialized #1737

Changed

  • Update type definitions for Bugsnag.notify() #1743

Fixed

v7.16.6

25 May 13:34
Compare
Choose a tag to compare

Changed

v7.16.5

18 May 12:41
Compare
Choose a tag to compare

Changed

  • (react-native) Update bugsnag-android to v5.22.3
  • (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

04 May 14:34
Compare
Choose a tag to compare
  • (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

05 Apr 09:19
Compare
Choose a tag to compare

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 after Bugsnag.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 whilst Bugsnag.start is still in-flight. It is now safe to call any Bugsnag static method once Bugsnag.start has begun executing, as access to the client singleton is controlled by a lock, so the new isStarted method (see above) should only be required where it cannot be determined whether the call to Bugsnag.start has begun or you do not want to wait.
    • bugsnag-android#1638
    • Calling bugsnag_event_set_context with NULL context correctly clears the event context again
      bugsnag-android#1637

Fixed

  • (plugin-express): send the request body (if present) as event.request.body rather than event.metadata.request.body #1702
  • (plugin-restify): Include request body #1701

v7.16.2

09 Mar 11:24
Compare
Choose a tag to compare

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

02 Feb 13:15
Compare
Choose a tag to compare

Fixed

  • (react-native) Handle circular references in metadata before it's sent to the native notifier layer #1673

Changed

v7.16.0

25 Jan 13:53
Compare
Choose a tag to compare

Added

Changed

v7.15.1

18 Jan 18:06
Compare
Choose a tag to compare

Changed

v7.15.0

18 Jan 15:18
Compare
Choose a tag to compare

This release is broken and has been deprecated on npm