Releases: bugsnag/bugsnag-react-native
v2.10.2
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
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
- Fix a regression in session tracking which caused the first session HTTP
v2.10.0
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:
-
Upgrade bugsnag-cocoa to v5.16.0:
Bug fixes
- (android) Reduce gratutious android logging
#245
v2.9.5
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
- Refine automatically collected breadcrumbs to a commonly useful set by default
-
(iOS) Upgrade bugsnag-cocoa dependency to v5.15.6:
- Ensure device data is attached to minimal reports
bugsnag-cocoa#279 - Enforce requiring API key to initialise notifier
bugsnag-cocoa#280
- Ensure device data is attached to minimal reports
v2.9.4
-
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:
- Bug Fixes:
-
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
- 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
- Enhancements:
-This release adds additional device metadata for filtering by whether an error occurred in a simulator (#242) and by processor word size (#228).
- Bug Fixes:
v2.9.3
- Add NativeSerializer to packaging step #227
Ben Gourley
v2.9.2
- Rework construction of breadcrumbMetaData #224 bramus
- Loosen react native dependency version for Android #220 Jamie Lynch
v2.9.1
- Adds missing bundle ID in iOS example project
- Fixes missing parameter in Android initialisation
v2.9.0
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-
- Fix possible ANR when enabling session tracking via
- Enhancements:
- 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'serrorClass
#235 - Fix default user/device ID generation on iOS devices
- Fix mach exception detection
- Remove chatty logging from session tracking
- Bug Fixes:
v2.8.0
Enhancements
- Add support for tracking app sessions and enabling overall crash rate metrics
Bug Fixes
- Fix issue where breadcrumb functions are called before initialization
bugsnag-android#211