Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.

Releases: bugsnag/bugsnag-react-native

v2.10.2

27 Jul 12:02
682c0ed
Compare
Choose a tag to compare

This release reduces the size of the npm package compared to v2.10.1, which was ~20Mb due to the inadvertant inclusion of build files.

v2.10.1

20 Jul 18:10
Compare
Choose a tag to compare

This release simplifies the installation and quick setup process to do all
configuration in JavaScript, provided that React Native is the primary way to
interact with your app (rather than having React Native components as a part of
a larger native app). See the integration guide updated configuration
instructions
.

For applications using React Native to serve a few components (but not the whole
app), there is a new Enhanced native integration
guide

with additional configuration steps to ensure every crash is captured and
reported.

Bug fixes

  • Fix possible mismatch between session release stage and error report release
    stage, which could result in inconsistent crash rates on the Releases
    dashboard as a session was assigned to an incorrect release stage.
    #260

  • (android) Address javac compiler warnings and intellij inspections
    #250

  • (cocoa) Upgrade bugsnag-cocoa to v5.16.2:

    • Fix a regression in session tracking which caused the first session HTTP
      request to be delivered on the calling thread when automatic session tracking
      is enabled
      #295

v2.10.0

03 Jul 15:07
333c971
Compare
Choose a tag to compare

This release alters the behaviour of the notifier to track sessions automatically.
A session will be automatically captured on each app launch and sent to https://sessions.bugsnag.com.

If you use Bugsnag On-Premise, it is recommended that you set your notify and session endpoints
via config.setEndpoints(String notify, String sessions) on Android, and config.setEndpoints(notify:sessions:) on iOS. You should also initialise the Android/iOS components by passing a config parameter:

Configuration config = new Configuration("your-api-key-here");
config.setEndpoints("https://notify.example.com", "https://sessions.example.com");
BugsnagReactNative.start(this, config);
BugsnagConfiguration *config = [BugsnagConfiguration new];
[config setEndpointsForNotify:@"http://notify.example.com"
                     sessions:@"http://sessions.example.com"];
[BugsnagReactNative startWithConfiguration:config];
  • Upgrade bugsnag-android to v4.5.0:

    • Enable automatic session tracking by default #314
    • Trim long stacktraces to max limit of 200 #324
  • Upgrade bugsnag-cocoa to v5.16.0:

    • Enable automatic session tracking by default #286
    • Handle potential nil content value in RegisterErrorData class #289

Bug fixes

  • (android) Reduce gratutious android logging
    #245

v2.9.5

01 Jun 05:32
Compare
Choose a tag to compare

Bug fixes

  • (android) Upgrade bugsnag-android dependency to v4.4.1:

    • Refine automatically collected breadcrumbs to a commonly useful set by default
      bugsnag-android#321
    • Ensure that unhandled error reports are always sent immediately on launch for Android P and in situations with no connectivity.
      bugsnag-android#319
  • (iOS) Upgrade bugsnag-cocoa dependency to v5.15.6:

v2.9.4

21 May 12:14
a437a77
Compare
Choose a tag to compare
  • Enable nativeSerializer to handle Error objects by extracting the stack and message from a given Error class before serialising it. #239 #240 daisy1754 Cawllec

  • Upgrade bugsnag-android to v4.3.4:

    • Bug Fixes:
      • Avoid adding extra comma separator in JSON if File input is empty or null #284
      • Thread safety fixes to JSON file serialisation #295
      • Prevent potential automatic activity lifecycle breadcrumb crash #300
      • Fix serialisation issue with leading to incorrect dashboard display of breadcrumbs #306
      • Prevent duplicate reports being delivered in low connectivity situations #270
      • Fix possible NPE when reading default metadata filters #263
      • Prevent ConcurrentModificationException in Before notify/breadcrumb callbacks #266
      • Ensure that exception message is never null #256
      • Add payload version to JSON body #244
      • Update context tracking to use lifecycle callbacks rather than ActivityManager #238
    • Enhancements:
      • Detect whether running on emulator #245
      • Add a callback for filtering breadcrumbs #237
  • Upgrade bugsnag-cocoa to v5.15.5:

    • Bug Fixes:
      • Changes report generation so that when a minimal or incomplete crash is recorded, essential app/device information is included in the report on the next application launch. #239
        #250
      • Ensure timezone is serialised in report payload.
        #248
      • Ensure error class and message are persisted when thread tracing is disabled #245
      • Re-addapp name to the app tab of reports #244
      • Add payload version to report body to preserve backwards compatibility with older versions of the error reporting API #241
    • Enhancements:
      -This release adds additional device metadata for filtering by whether an error occurred in a simulator (#242) and by processor word size (#228).

v2.9.3

16 Mar 12:27
Compare
Choose a tag to compare

v2.9.2

15 Mar 17:30
Compare
Choose a tag to compare

v2.9.1

30 Jan 12:03
Compare
Choose a tag to compare
  • Adds missing bundle ID in iOS example project
  • Fixes missing parameter in Android initialisation

v2.9.0

29 Jan 21:28
Compare
Choose a tag to compare

This release includes features and fixes to the native interface.

Enhancements

  • Allow disabling of breadcrumbs via the Configuration object via the JS
    interface
  • Upgrade bugsnag-android to v4.3.1:
    • Enhancements:
      • Move capture of thread stacktraces to start of notify process
      • Add configuration option to disable automatic breadcrumb capture
      • Parse manifest meta-data for Session Auto-Capture boolean flag
    • Bug Fixes:
      • Fix possible ANR when enabling session tracking via
        Bugsnag.setAutoCaptureSessions() and connecting to latent networks.
        #231
      • Fix invalid payloads being sent when processing multiple Bugsnag events
        in the same millisecond
        #235
      • Re-add API key to error report HTTP request body to preserve backwards
        compatibility with older versions of the error reporting API
        #228-
  • Upgrade bugsnag-cocoa to v5.15.3:
    • Bug Fixes:
      • Remove chatty logging from session tracking
        #231
        Jamie Lynch
      • Re-add API key to payload body to preserve backwards compatibility with older
        versions of the error reporting API
        #232
        Jamie Lynch
      • Fix crash in iPhone X Simulator when reporting user exceptions
        #234
        Paul Zabelin
      • Improve capture of Swift assertion error messages on arm64 devices, inserting
        the assertion type into the report's errorClass
        #235
      • Fix default user/device ID generation on iOS devices
      • Fix mach exception detection

v2.8.0

09 Jan 17:20
Compare
Choose a tag to compare

Enhancements

  • Add support for tracking app sessions and enabling overall crash rate metrics

Bug Fixes