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

Latest commit

 

History

History
1199 lines (857 loc) · 47.9 KB

CHANGELOG.md

File metadata and controls

1199 lines (857 loc) · 47.9 KB

Changelog

2.23.10 (2020-07-13)

Bug fixes

  • (iOS) Fix incorrect string comparison of thread names in Mach exception handling #721

  • (iOS) Move binary images store declaration from header file #725

  • (iOS) Avoid dereference null pointer in JSON serialisation #637 Naugladur

2.23.9 (2020-06-08)

Bug fixes

  • (iOS) Fix DYLD lock mechanism preventing compilation on iOS <10. #675

2.23.8 (2020-05-20)

Bug fixes

  • Fix missing comma in podspec headers list #456

  • (iOS) Fix an issue where an app could deadlock during a crash if unfavorable timing caused DYLD lock contention. #580

2.23.7 (2020-04-07)

Bug fixes

  • Add missing BugsnagPlugin.h header to podspec file #450

2.23.6 (2020-02-10)

Bug fixes

  • (iOS) Fix include for RCTVersion.h to work in custom Podfiles on all versions of React Native #443

  • Add missing argument to BeforeSend type definition bugsnag-react-native#432

  • (Android) Upgrade bugsnag-android to v4.22.3

    • Allow disabling previous signal handler invocation for Unity ANRs #743
    • Avoid polling when detecting ANRs by invoking JNI from SIGQUIT handler #741
  • (iOS) Upgrade bugsnag-cocoa to v5.23.0

    • This release removes support for reporting 'partial' or 'minimal' crash reports where the crash report could not be entirely written (due to disk space or other issues like the device battery dying). While sometimes the reports could point in the right direction for debugging, they could also be confusing or not enough information to pursue and close the issue successfully.

    • This release also renames a few configuration properties to align better with the intended use and other Bugsnag libraries, so people who use more than one platform can easily find related functionality in a different library. The old names are deprecated but still supported until the next major release. #435

    • Bugsnag.setBreadcrumbCapacity() is now setMaxBreadcrumbs() on the BugsnagConfiguration class. In addition, the default number of breadcrumbs saved has been raised to 25 and limited to no more than 100.
    • BugsnagConfiguration.autoNotify is now named BugsnagConfiguration.autoDetectErrors
    • BugsnagConfiguration.autoCaptureSessions is now named BugsnagConfiguration.autoDetectSessions

2.23.5 (2020-01-13)

Bug fixes

  • (iOS) Fix a packaging issue introduced in 2.23.3 which prevented apps using React Native 0.59 and below from building successfully #441

2.23.4 (2020-01-06)

Bug fixes

  • (Android) Upgrade bugsnag-android to v4.22.2
    • Fix: address CVE-2019-10101 by increasing Kotlin version to 1.3.61 #739
    • Catch throwables when invoking methods on system services #623
    • Fix possible crash when recording reports and breadcrumbs containing values using different text encodings or UTF-8 control characters, followed by a C/C++ crash. #584
    • Fix crash when calling NativeInterface.clearTab() (from an integration library) #582
    • Fix abort() in native code when storing breadcrumbs with null values in metadata #510
    • Fix potential segfaults when adding breadcrumb with NDK #546
    • Convert metadata to map when notifying the NDK observer #513
    • Prevent overwrite of signal mask when installing ANR handler #520
    • Fix possible null pointer exception when creating a breadcrumb without metadata #585

2.23.3 (2019-12-05)

Bug fixes

  • Use the correct android version in Notifier payload bugsnag-react-native#409
  • (Android) Upgrade bugsnag-android to v4.21.1
    • Allow overriding the versionCode via Configuration bugsnag-android#610
    • Delete cached error reports if an Exception is thrown during disk IO, preventing delivery of empty/partial reports on the next app launch. bugsnag-android#609
    • Prevent internal error reporting of FileNotFoundException during serialization bugsnag-android#605
  • (iOS) Upgrade bugsnag-cocoa to v5.22.10
    • Fix unrecognized selector crash when adding metadata bugsnag-cocoa#430
    • Deprecate config.reportBackgroundOOMs property - designating any app termination as a possible error condition can cause a lot of false positives, especially since the app can die for many genuine reasons, especially when running only in the background. bugsnag-cocoa#425
    • Fix use-after-free in notify() logic which could lead to a deadlock bugsnag-cocoa#420
    • Reduce severity of log message about thread status from 'error' to 'debug' as it does not necessarily indicate a problem and is only used for debugging. bugsnag-cocoa#421
    • Show correct value for app.inForeground when an app launches and crashes in the background without ever coming to the foreground. bugsnag-cocoa#415
    • Fix improperly retained properties which could result in a crash due to premature deallocation bugsnag-cocoa#416

2.23.2 (2019-09-26)

Bug fixes

  • (Android) Upgrade bugsnag-android to v4.20.0

    • Buffer IO when reading from cached error files, improving SDK performance bugsnag-android#573
    • Fix freeDisk calculation to show free space rather than total space bugsnag-android#589
    • Fix duplicate reports possibly being sent when many launch crashes are delivered in low connectivity situations bugsnag-android#593
  • (iOS) Upgrade bugsnag-cocoa to v5.22.6

    • Ensure UIKit APIs are not called from background threads when initializing only in the JavaScript layer when using react-native@0.60+ #396
    • Fix bug in notifyReleaseStages where if the release stage of a build was changed after start(), only the initial value was used to determine whether to send a report bugsnag-cocoa#405 bugsnag-cocoa#412

2.23.1 (2019-09-03)

Bug fixes

  • (Android) Upgrade to bugsnag-android v4.19.1
    • Fix deserialization of custom stackframe fields in cached error reports #576

    • Fix potential null pointer exception if setMetaData is called with a null value

2.23.0 (2019-08-27)

  • (Android) Upgrade to bugsnag-android v4.19.0
    • Report internal SDK errors to bugsnag #570

2.22.6 (2019-08-19)

Enhancements

  • (Android) Add support for parsing Hermes stacktraces #394

Bug fixes

  • Make JavaScriptException inherit from BugsnagException #393

  • (Android) Upgrade to bugsnag-android v4.18.0

    • Migrate dependencies to androidx #554
    • Improve ANR error message information #553
  • (iOS) Upgrade bugsnag-cocoa to v5.22.5

    • Fix possible crash or deadlock arising from calling Bugsnag.notify() from multiple queues concurrently. #401

2.22.5 (2019-08-09)

This release add a react-native.config.js file to the package to ensure continued compatibility with react-native@0.60+. Reported in #377, updated in #392.

2.22.4 (2019-08-01)

Bug fixes

  • (Android) Upgrade to bugsnag-android v4.17.2
    • Fix potential segfaults when adding breadcrumb with NDK #546

2.22.3 (2019-07-31)

Bug fixes

  • (iOS) Upgrade bugsnag-cocoa to v5.22.4
    • Support adding pre-delivery metadata to out-of-memory reports bugsnag-cocoa#393
    • Fix erroneously reporting out-of-memory events from iOS app extensions bugsnag-cocoa#394
    • Fix erroneously reporting out-of-memory events when an iOS app is in the foreground but inactive bugsnag-cocoa#394
    • Fix erroneously reporting out-of-memory events when the app terminates normally and is issued a "will terminate" notification, but is terminated prior to the out-of-memory watchdog processing the notification bugsnag-cocoa#394
    • Fix memory leak in notify() Carolina Aguilar bugsnag-cocoa#395

2.22.2 (2019-07-24)

Bug fixes

  • (Android) Upgrade to bugsnag-android v4.17.1
    • Fix NPE causing crash when reporting a minimal error #534
  • (iOS) Access the version of React Native in a way that is compatible with React Native v0.50-0.54. #374

2.22.1 (2019-07-16)

Bug fixes

  • (iOS) Upgrade bugsnag-cocoa to v5.22.3
    • Fix JSON parsing errors in crash reports for control characters and some other sequences bugsnag-cocoa#382
    • Disable reporting out-of-memory events in debug mode, removing false positives triggered by killing and relaunching apps using development tools. bugsnag-cocoa#380

2.22.0 (2019-07-10)

This release adds a compile-time dependency on the Kotlin standard library. This should not affect the use of any API supplied by bugsnag-android/bugsnag-react-native.

  • (Android) Upgrade to bugsnag-android v4.16.1
    • Prevent overwrite of signal mask when installing ANR handler #520
    • Use NetworkCallback to monitor connectivity changes on newer API levels #501
    • Send minimal error report if cached file is corrupted/empty #500
    • Fix abort() in native code when storing breadcrumbs with null values in metadata #510
    • Convert metadata to map when notifying the NDK observer #513

2.21.1 (2019-06-27)

Bug fixes

  • (iOS) Upgrade bugsnag-cocoa to v5.22.2
    • Fix trimming the stacktraces of handled error/exceptions using the depth property. Paul Zabelin bugsnag-cocoa#363
    • Fix crash report parsing logic around arrays of numbers. Metadata which included arrays of numbers could previously had missing values. bugsnag-cocoa#365
    • Fix incrementing unhandled counts when using internal notify() API. This resolves discrepancies in stability scores for users of bugsnag-react-native after receiving unhandled JavaScript events. bugsnag-cocoa#370

2.21.0 (2019-06-12)

Enhancements

  • (Android) Upgrade to bugsnag-android v4.15.0
    • Improve ANR detection by using a signal handler to detect SIGQUIT events, removing dependence on "in foreground" calculations. This change should remove false positives. This change deprecates the configuration options setAnrThresholdMs/getAnrThresholdMs as they now have no effect and the underlying OS ANR threshold is used in all cases. #490
    • Add detectNdkCrashes configuration option to toggle whether C/C++ crashes are detected #491
    • Reduce AAR size #492
    • Make handledState.isUnhandled() publicly readable #496
  • (iOS) Ensure only the necessary files are included in the npm tarball #356

2.20.0 (2019-05-29)

This release updates the package's Gradle build script to use api and implementation rather than the deprecated compile syntax. If you are using v2.X of the Android Gradle Plugin, you will need to upgrade to v3.X of the Android Gradle Plugin, and upgrade your gradle wrapper.

  • Update deprecated compile dependencies to use implementation/api #362

  • Remove unnecessary gradlew from android directory, reducing artefact bundle size #363

Bug fixes

  • Remove nullability annotations to workaround androidx jetifier issue #361

2.19.1 (2019-05-21)

Bug fixes

  • (iOS) Upgrade to bugsnag-cocoa v5.22.1:
    • Report correct app version in out-of-memory reports. Previously the bundle version was reported as the version number rather than the short version string. #349
    • Fix missing stacktraces in reports generated from notify() #348
  • (Android) Upgrade to bugsnag-android v4.14.2
    • Disable ANR detection by default #484

2.19.0 (2019-05-13)

Enhancements

  • (iOS) Upgrade to bugsnag-cocoa v5.22.0:
    • Add configuration option (reportOOMs) to disable out-of-memory (OOM) event reporting, defaulting to enabled. bugsnag-cocoa#345
    • Disable background OOM reporting by default. It can be enabled using reportBackgroundOOMs. bugsnag-cocoa#345

2.18.0 (2019-05-08)

  • Collect version information in device.runtimeVersions #345

Run checkstyle and lint on Android code, address existing violations #452

2.17.1 (2019-04-24)

Re-release that fixes packaging issue where the previous artefact included duplicate header files, preventing compilation for iOS

2.17.0 (2019-04-18)

Bug fixes

  • (iOS) Prevent delivering duplicate fatal JS crash reports when using enhanced native integration. #337

Enhancements

  • (iOS) Upgrade to bugsnag-cocoa v5.20.0:
    • Persist breadcrumbs on disk to allow reading upon next boot in the event of an uncatchable app termination.
    • Add +[Bugsnag appDidCrashLastLaunch] as a helper to determine if the previous launch of the app ended in a crash or otherwise unexpected termination.
    • Report unexpected app terminations on iOS as likely out of memory events where the operating system killed the app

2.16.0 (2019-04-04)

  • (Android) Upgrade to bugsnag-android v4.13.0

    Enhancements

    • Add ANR detection to bugsnag-android #442

    • Add unhandled_events field to native payload #445

    Bug fixes

    • Ensure boolean object from map serialised as boolean primitive in JNI #452

    • Prevent NPE occurring when calling resumeSession() #444

  • (Cocoa) Upgrade to bugsnag-cocoa v5.19.1

    Bug fixes

    • Fix generating an incorrect stacktrace used when logging an exception to Bugsnag from a location other than the original call site (for example, from a logging function or across threads). If an exception was raised/thrown, then the resulting Bugsnag report from notify() will now use the NSException instance's call stack addresses to construct the stacktrace, ignoring depth. This fixes an issue in macOS exception reporting where reportException is reporting the handler code stacktrace rather than the reported exception stack. #334

    • Fix network connectivity monitor by connecting to the correct domain Jacky Wijaya #332

2.15.0 (2019-03-07)

  • Add stopSession() and resumeSession() to Client #314

  • (Android) Upgrade to bugsnag-android v4.12.0

    Enhancements

    • Add stopSession() and resumeSession() to Client #429

    Bug fixes

    • Prevent overwriting config.projectPackages if already set #428

    • Fix incorrect session handledCount when notifying in quick succession #434

  • (Cocoa) Upgrade to bugsnag-cocoa v5.19.0

    Note for Carthage users: this release updates the Xcode configuration to the settings recommended by Xcode 10.

    • Update workspace to recommended settings suggested by XCode 10 #324

    Enhancements

    • Add stopSession() and resumeSession() to Bugsnag #325

    • Capture basic report diagnostics in the file path in case of crash report content corruption #327

2.14.0 (2019-01-23)

  • (Android) Upgrade to bugsnag-android v4.11.0

    Enhancements

    • [NDK] Improve support for C++ exceptions, adding the exception class name and description to reports and improving the stacktrace quality #412

    • Update vendored GSON dependency to latest available version #415

    Bug fixes

    • Fix cached error deserialisation where the Throwable has a cause #418

    • Refactor error report deserialisation #419

    • Fix unlikely initialization failure if a device orientation event listener cannot be enabled

    • Cache result of device root check #411

    • Prevent unnecessary free disk calculations on initialisation #409

2.13.1 (2019-01-10)

Bug Fixes

  • TypeScript: ensure types are included in the npm package #305

2.13.0 (2019-01-07)

Bug Fixes

  • TypeScript: allow null values in setUser method #279

  • (iOS) Upgrade to bugsnag-cocoa v5.17.3

    • Fix case where notify() causes an unhandled report #322

    • Fix possible crash when fetching system info to append to a crash report #321

  • (Android) Upgrade to bugsnag-android v4.9.3

    • Improve kotlin support by allowing property access #393

    • Added additional nullability annotations to public API #395

    • Migrate metaData.device.cpuAbi to device.cpuAbi in JSON payload #404

    • Add binary architecture of application to payload #389

    • Prevent errors from leaving a self-referencing breadcrumb #391

    • Fix calculation of durationInForeground when autoCaptureSessions is false #394

    • Prevent Bugsnag.init from instantiating more than one client #403

    • Make config.metadata publicly accessible #406

2.12.6 (2018-12-05)

Bug Fixes

  • (iOS) Upgrade to bugsnag-cocoa v5.17.2
    • Add Device time of report capture to JSON payload #315

2.12.5 (2018-11-30)

Bug Fixes

  • (iOS) Ensure reports requiring complex processing are delivered by delaying termination handler until written to disk. #290 #287 Craig Petzel

  • (iOS) Upgrade to bugsnag-cocoa v5.17.1

    • Fix stack trace resolution on iPhone XS sometimes reporting incorrect addresses #319
    • Add fatalError and other assertion failure messages in reports for Swift 4.2 apps. Note that this only includes messages which are 16 characters or longer. See the linked pull request for more information. #320
  • (Android) Upgrade to bugsnag-android v4.9.3

    • Handle null values in MetaData.mergeMaps, preventing potential NPE #386

2.12.4 (2018-11-08)

Bug Fixes

  • (Android) Restore support for react-native < 0.56 due to regression in 2.12.3

2.12.3 (2018-11-08)

Bug Fixes

  • (Android) Upgrade to bugsnag-android v4.9.2
    • [NDK] Fix regression in 4.9.0 which truncated stacktraces on 64-bit devices to a single frame bugsnag-android#383

2.12.2 (2018-11-02)

Bug Fixes

  • (Android) Upgrade to bugsnag-android v4.9.1

2.12.1 (2018-10-31)

Bug Fixes

  • TypeScript: allow undefined apiKeyOrConfig in Client constructor #278

2.12.0 (2018-10-29)

Enhancements

  • (Android) Upgrade to bugsnag-android v4.9.0
    • Add a callback to allow modifying reports immediately prior to delivery, including fatal crashes from native C/C++ code. For more information, see the callback reference. bugsnag-android#379

Bug Fixes

  • (Android) Upgrade to bugsnag-android v4.9.0

2.11.0 (2018-09-28)

Enhancements

  • (iOS) Upgrade to bugsnag-cocoa v5.17.0
    • Capture trace of error reporting thread and identify with boolean flag #303
    • Prevent potential crash in session delivery during app teardown #308
  • (Android) Upgrade to bugsnag-android v4.8.2
    • Add compatibility with bugsnag-android-ndk v4.8.1 for C/C++ crash handling support #369
    • Add ThreadSafe annotation to com.bugsnag.android, remove infer dependency #370 #366
    • Capture trace of error reporting thread and identify with boolean flag #355
    • Set maxBreadcrumbs via Configuration rather than Client #359
    • Catch Exception within DefaultDelivery class #361
    • Add Null check when accessing system service #367
    • Android P compatibility fixes - ensure available information on StrictMode violations is collected #350
    • Disable BuildConfig generation #343
    • Add consumer proguard rules for automatic ProGuard configuration without the Bugsnag gradle plugin #345

2.10.3 (2018-09-14)

Bug Fixes

  • (iOS) Upgrade bugsnag-cocoa dependency to v5.16.4:
    • Deregister notification observers and listeners before application termination #301

    • Ensure NSException is captured when handler is overridden #313

    • Fix mach handler declaration and imports. This resolves an issue where signal codes were less specific than is possible. #314

    • Only call previously installed C++ termination handler if non-null. Fixes an unexpected termination if you override the handler with null before initializing Bugsnag and then throw a C++ exception and would like the app to continue after Bugsnag completes exception reporting.

2.10.2 (2018-07-27)

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.

2.10.1 (2018-07-20)

This release simplies 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

2.10.0 (2018-07-03)

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

2.9.5 (2018-05-31)

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:

2.9.4 (2018-05-02)

  • 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).

2.9.3 (2018-03-16)

Bug Fixes

2.9.2 (2018-03-15)

2.9.1 (2018-01-29)

  • Adds missing bundle ID in iOS example project
  • Fixes missing parameter in Android initialisation

2.9.0 (2018-01-26)

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

2.8.0 (2018-01-09)

Enhancements

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

Bug Fixes

2.7.5 (2017-11-30)

Bug Fixes

  • (iOS - CocoaPods only) Fix ambiguous headers issue in 2.7.3+
  • (iOS) Fix intermittent dropped native crash reports due to parsing runtime options incorrectly

2.7.4 (2017-11-30)

  • (iOS) Fix encoding of control characters in crash reports. Ensures crash reports are written correctly and delivered when containing U+0000 - U+001F

2.7.3 (2017-11-23)

  • (iOS) Use BSG_KSCrashReportWriter header rather than KSCrashReportWriter for custom JSON serialization
  • (Android) Enqueue activity lifecycle events when initialisation not complete to prevent NPE

2.7.2 (2017-11-21)

  • (iOS) Remove misleading information (address, mach, signal) from non-fatal error reports

2.7.1 (2017-11-20)

  • Improved validation of handled/unhandled state

2.7.0 (2017-11-16)

  • Add typescript definitions

2.6.1 (2017-11-14)

  • Fix duplicate dependencies key in package.json
  • Handle null in console breadcrumbs

2.6.0 (2017-11-07)

IMPORTANT UPGRADE NOTE:

Please ensure that Google's maven repository is specified in your android/build.gradle:

allprojects {
    repositories {
        maven { url 'https://maven.google.com' }
    }
}

2.5.4 (2017-11-06)

  • Update Cocoa code to fix archive issue on older versions of XCode

2.5.3 (2017-11-02)

  • Updates native libraries to include latest fixes

2.5.2 (2017-11-02)

  • Support setting autoNotify to disable native crash reporting

2.5.1 (2017-10-26)

  • Replace PropTypes from React with prop-types package
  • Adds example project which uses react native via cocoapods

2.5.0 (2017-10-09)

Enhancements

  • Add configuration option to enable capturing console log messages as breadcrumbs #159 Ben Gourley

Bug fixes

  • [android] Reuse previously configured Bugsnag native client if available #156

2.4.2 (2017-10-04)

  • Fix duplicate symbols in KSCrash when Sentry library included in project

2.4.1 (2017-10-03)

  • Link Native Cocoa as a static library

2.4.0 (2017-10-02)

  • Track whether errors are handled or unhandled
  • Reduce build warning count

2.3.2 (2017-08-18)

Bug fixes

  • Fix regression introduced in 2.3.0 where nested JavaScript objects were being serialized incorrectly before being sent to Bugsnag #132 #133

2.3.1 (2017-08-10)

Bug fixes

  • Fix codeBundleId being unset in unhandled exceptions when using CodePush 2+ #127 #128

2.3.0 (2017-08-02)

Enhancements

Bug fixes

  • Call previous exception handler when notify is cancelled by a callback #106

  • Stringify NaN in breadcrumb metadata before sending over native bridge to avoid fatal error #107

2.2.4 (2017-07-14)

Bug fixes

2.2.3 (2017-04-27)

Bug fixes

  • Fix regression where iOS headers are copied into an incorrect location #98

2.2.2 (2017-04-26)

Bug fixes

  • Restore missing android/src directory to package #96

2.2.1 (2017-04-25)

  • Generates lib/Bugsnag.js to improve compatibility with tooling which does not transpile source files from node_modules, like haul and testing tools
  • Adds a warning when using breadcrumb names which will be truncated

Bug fixes

  • Reorder the header files in the podspec, to work around skipped files #92

2.2.0 (2017-03-15)

Enhancements

  • Add convenience interface to setting up native-only error handling

2.1.0 (2017-02-28)

Enhancements

  • Adds codeBundleId property as an alternative to appVersion to support CodePush #74
  • Add original error to report object #61

Bug fixes

  • [android] Check each param before setting user #73

2.0.3 (2017-02-14)

Bug fixes

2.0.2 (2017-01-13)

Bug fixes

  • [ios] Fix regression where previous exception handler is not called

2.0.1 (2017-01-12)

Bug fixes

  • Upgrade bugsnag-android dependency to fix issue with network requests being sent on the main thread

2.0.0 (2017-01-11)

1.2.2 (2017-01-06)

Bug fixes

  • [ios] Prevent discarding native exceptions invoked over JS bridge fac66b9

1.2.1 (2016-12-30)

Bug fixes

1.2.0 (2016-12-23)

Enhancements

  • Add clearUser to the Client. Clear user removes any custom user data from the report and adds the default device identifier #51

Bug fixes

  • [ios] Fix stripping of source paths for release builds #35 #52

  • [android] Ensure unhandled errors are sent as blocking requests #46 #47

1.1.4 (2016-12-08)

Bug fixes

  • Fix breadcrumbs being discarded when metadata is unable to be used #36
  • Fix object metadata being discarded from reports #36
  • Fix non-String breadcrumb metadata being incorrectly parsed on Android #33 Kevin Cooper
  • Add promise as an explicit dependency #40 Christian Schlensker
  • Fix username and email fields of setUser being reversed on Android #38

1.1.3 (2016-11-14)

Enhancements

Bug fixes

  • Fix default error handling fallback when initializing Bugsnag early in app cycle Christian Schlensker #26
  • Fix double-reporting of unhandled JavaScript exceptions on iOS when in production

1.1.2 (2016-11-08)

Bug fixes

  • Adjust header copy phase and search paths for iOS dependencies to ensure no additional content is created in the root of archived projects #18

1.1.1 (2016-11-07)

Miscellaneous

  • Lower deployment target of embedded BugsnagLib to iOS 8.0
  • Update project settings to recommended configuration for Xcode 8
  • Check in missing Xcode scheme for libBugsnag

1.1.0 (2016-11-07)

Enhancements

  • Reports unhandled promise rejections. By default, unhandled promise rejections are reported to Bugsnag when in a non-development environment. This is disabled in a development environment to preserve the existing behavior of showing a warning banner when a possible unhandled promise rejection is detected.To toggle this behavior, set handlePromiseRejections when creating a client.
  • Allow setting appVersion from a configuration option. This will override the default of using the version specified in the app's Info.plist or android manifest.
  • Update bugsnag-cocoa dependency to 5.6.4, which adds support for more robust native client-side report customization through callbacks

Bug fixes

1.0.4

Bug fixes

  • Warn when discarding input to Client.notify() which is not an error Duncan Hewett
  • [ios] Update the linker configuration to reduce product candidates during react-native link
  • [ios] Remove duplicate entries in payload notifier version

1.0.3

Fix the import path for Bugsnag on Android

1.0.2

Fix the minimum Android SDK version to be consistent with React Native

1.0.1

Vendor iOS dependencies. Current version is 5.6.3.

1.0.0

First public release