November 12
React Native agent v1.9.5
개선 및 향상
- Native iOS 에이전트를 버전 7.7.11로 업데이트했습니다. (#350)
October 30
React Native agent v1.9.4
새로운 기능
- 에이전트가
console.*호출을 로그로 캡처하는 것을 중지할 수 있는consoleCaptureEnabled설정 옵션(기본값true)을 추가했습니다. (#342)
개선 및 향상
- 노출된 뉴렐릭 애플리케이션 토큰을 제거했습니다. (#338)
- 네이티브 안드로이드 에이전트를 버전 7.8.5로 업데이트했습니다. (#346)
- Native iOS 에이전트를 버전 7.7.10으로 업데이트했습니다. CocoaPods를 사용하고
Podfile.lock이(가) 이전 버전인 경우,pod update NewRelicAgent을(를) 실행하여 7.7.10으로 업그레이드하십시오. (#346)
버그 수정
- 예외를 발생시키는 getter가 있는 객체와 같이 인수를 직렬화할 수 없을 때
console.log/warn/error/debug이(가) 예외를 발생시켜 크래시가 일어나는 문제를 수정했습니다. (#341)
October 23
React Native agent v1.9.3
Improvements and enhancements
- Updated the Native Android agent to version 7.8.4. Updated the Native iOS agent to version 7.7.9. (#336)
Bug fixes
- Fixed the opt-in Swift Package Manager integration (
NEWRELIC_USE_SPM=1): apps no longer crash at launch withLibrary not loaded: @rpath/NewRelic.framework/NewRelic, archives no longer fail on a duplicate xcframework signature, and the iOS agent resolves to the newest 7.7.x release. (#334)
October 5
React Native agent v1.9.2
개량
- 네이티브 안드로이드 에이전트를 버전 7.8.3으로 업데이트했습니다.
September 14
React Native agent v1.9.1
개량
- Native 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.