November 12
React Native agent v1.9.5
Improvements and enhancements
- Updated the Native iOS agent to version 7.7.11. (#350)
October 30
React Native agent v1.9.4
新機能
- エージェントが
console.*呼び出しをログとしてキャプチャするのを停止できるconsoleCaptureEnabled設定オプション(デフォルトはtrue)を追加しました。(#342)
改善と強化
- 公開されていたNew Relicアプリケーショントークンを削除しました。(#338)
- ネイティブAndroidエージェントをバージョン7.8.5に更新しました。(#346)
- ネイティブiOSエージェントをバージョン7.7.10に更新しました。CocoaPodsを使用しており、
Podfile.lockが以前のバージョンの場合は、pod update NewRelicAgentを実行して7.7.10にアップグレードしてください。(#346)
バグ修正
- 例外をスローするゲッターを持つオブジェクトなど、引数をシリアライズできない場合に
console.log/warn/error/debugが例外をスローしてクラッシュする問題を修正しました。(#341)
October 23
React Native agent v1.9.3
改善と強化
- ネイティブAndroidエージェントをバージョン7.8.4に更新しました。Native iOSエージェントをバージョン7.7.9に更新しました。(#336)
バグ修正
- オプトインのSwiftパッケージマネージャのインテグレーション(
NEWRELIC_USE_SPM=1)を修正しました:アプリがLibrary not loaded: @rpath/NewRelic.framework/NewRelicでリリース時にクラッシュしなくなり、アーカイブが重複するxcframeworkシグネチャで失敗しなくなり、iOSエージェントが最新の7.7.xリリースに解決されるようになりました。(#334)
October 5
React Native agent v1.9.2
改良点
- ネイティブAndroidエージェントをバージョン7.8.3に更新しました。
September 14
React Native agent v1.9.1
改良点
- ネイティブiOSエージェントをバージョン7.7.7に更新しました。
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.