August 24
React Native agent v1.9.0
Breaking change in error reporting
Starting with version 1.9.0, JavaScript errors are reported through a new event type: MobileJSError. With the new Mobile Errors Protocol, React Native JavaScript errors are no longer stored in the MobileHandledException event type.
Action required:
Alerts: Update your NRQL alert conditions to target
MobileJSError.Dashboards: Update any custom charts that query
MobileHandledExceptionfor JavaScript-layer errors.Symbolication: Update your build scripts to the latest version to support source map uploads for the new event type. See React Native JavaScript error reporting.
Update your queries as follows:
-- Before (1.8.x and lower)SELECT count(*) FROM MobileHandledException WHERE platform = 'reactnative'-- After (1.9.0 and higher)SELECT count(*) FROM MobileJSError
Improvements
- JavaScript errors and unhandled promise rejections are now reported as a first-class
MobileJSErrorevent type via the new Mobile Errors Protocol, instead ofMobileHandledException. - Added source map upload support for symbolicating
MobileJSErrorstack traces (automatic, manual, and CodePush/OTA). See React Native JavaScript error reporting. - Added the
jsErrorReportingEnabledconfiguration option to enable or disable JavaScript error reporting (enabled by default). recordErrornow accepts optionalisFatalandattributesarguments, letting you mark an error as fatal or attach custom attributes.- Updated the native Android agent to version 7.8.2.
- Updated the native iOS agent to version 7.7.6.
August 10
React Native agent v1.8.8
改良点
- ネイティブAndroidエージェントをバージョン7.8.0に更新しました。
- Native iOSエージェントをバージョン7.7.5に更新しました。
July 9
React Native agent v1.8.7
改良点
- ネイティブiOSエージェントをバージョン7.7.4に更新しました。
July 2
React Native agent v1.8.6
改良点
- ネイティブAndroidエージェントをバージョン7.7.7に更新しました。
- ネイティブiOSエージェントをバージョン7.7.3に更新しました。
June 22
React Native agent v1.8.5
改良点
- ネイティブAndroidエージェントをバージョン7.7.6に更新しました。
- Native iOSエージェントをバージョン7.7.2にアップデートしました。
May 21
React Native agent v1.8.4
Improvements
- Updated the Native Android agent to version 7.7.5.