RUM React Native SDK changelog
React Native SDK 0.11.0
- New
Maskedcomponent masks its subtree in Session Replay and in the interaction metadata of every control inside it. Learn more - Masking now applies to user-interaction events: a tap anywhere in a masked control reports its text as
***, with bothMaskedandSessionReplay.maskView. - Masked interactions report
interaction_context.is_masked_element, readable inbeforeSend. - Scroll and swipe inside a masked container now report as masked.
- Taps on a
Textwith anonPresshandler are now reported as user interactions. - Controls already on screen when the SDK finishes initializing now report their interactions.
- Masking now warns on the console when a mask cannot be registered, instead of failing silently.
- Interaction reporting can no longer break a host app's own
onPresshandler. - An interaction that carries no coordinates now omits them, instead of reporting them as
NaN. - A
<Text>with noonPressrenders untouched, keeping the instrumentation off the most numerous component in a typical app. - Masking registers each view once instead of on every re-measure, so a long list of masked rows no longer repeats the native call per row per layout pass.
- Behavior change: a
beforeSendcallback that deletesevent.interaction_context, or replaces it with anything that is not an object, no longer gets the SDK's original put back in its place. Only the read-onlyis_masked_elementflag is kept, on an otherwise empty object. Previously the coordinates and the reported text were restored, which was the opposite of what the callback asked for. If your callback replaced the container and relied on the SDK restoring it, edit the object in place instead — blank the fields you do not want (interaction_context.target_element_inner_text = '***') or delete just those keys, and everything you leave alone is uploaded as it was.
React Native SDK 0.10.3
Initialization is now safe to run more than once, with no duplicate sessions, duplicate events, or crashes.
React Native SDK 0.10.2
sessionSampleRateis now applied once instead of twice. The configured percentage was being rolled on both the JavaScript and native sides, so a rate of 1% collected roughly 0.01% of sessions.- A fractional
sessionSampleRatesuch as0.5is now rounded to a whole percentage instead of being truncated to0on iOS, which silently sampled out every session. SessionReplay.init()now resolvesfalseinstead of rejecting when the session was sampled out, and resolves a real boolean on both platforms.
React Native SDK 0.10.1
- Network request events on iOS now report the real request duration, response body size, and status text. Previously the duration value was written into the response-size field and never reached the SDK, and status text was not forwarded at all.
- Network request events no longer carry an error-message field on any platform, matching the event schema. Error details are reported through error events only.
- Native iOS SDK bumped to 2.15.1, so network events reported from the JavaScript layer now honor the measured request duration and status text.
React Native SDK 0.10.0
- Native iOS SDK bumped to 2.14.0, which flushes buffered spans when the app enters the background.
- Native Android SDK bumped to 2.21.1, which flushes buffered events when the app enters the background, realigns interaction masking with the web SDK, reports network request durations in milliseconds (requests bridged from React Native no longer show a duration of 0), and removes an ANR risk from per-touch-event logging.
React Native SDK 0.9.1
- Native iOS SDK bumped to 2.13.3 and Android to 2.19.4, both of which include snapshot context promotion on
setUserContext. - Snapshot context is promoted on the next eligible exported span rather than emitted immediately, and repeated
setUserContextcalls collapse into a single pending promotion.
React Native SDK 0.9.0
- Added
dataandlabelsto React NativereportError. - Native iOS SDK bumped to 2.13.2 and Android to 2.19.2.
React Native SDK 0.8.0
- Exposed
isSessionSampledIntobeforeSendand made SDK-owned event fields read-only. - Native iOS SDK bumped to 2.13.1 and Android to 2.19.1.
React Native SDK 0.7.2
- Every
beforeSenddelivery is now drained during the fatal flush. - Crash events are now flushed before the fatal-error handover.
React Native SDK 0.7.1
Fixed Session Replay masking of views on the New Architecture (Fabric). Learn more
React Native SDK 0.7.0
Bridged createNewSession() and bumped the native SDKs (iOS 2.10.0, Android 2.17.1).
React Native SDK 0.6.5
Maintenance release: version aligned with the other Coralogix SDKs; no functional changes.
React Native SDK 0.6.4
- Consumed the fixed native iOS (2.9.2) and Android (2.16.2) SDKs.
React Native SDK 0.6.3
Maintenance release: version aligned with the other Coralogix SDKs; no functional changes.
React Native SDK 0.6.2
Maintenance release: version aligned with the other Coralogix SDKs; no functional changes.
React Native SDK 0.6.1
Fixed log() and init() to guard against invalid inputs.
React Native SDK 0.6.0
Bumped the native iOS and Android SDKs, and extended reportError with an optional data parameter.
React Native SDK 0.5.0
- New Time Measurement API (CX-40525):
startTimeMeasure(name, labels?)andendTimeMeasure(name)are bridged to the native iOS and Android SDKs as a fire-and-forget pass-through. Learn more - New
excludeFromSamplingoption exposed on the JS config and native bridges, keeping selected instrumentation categories emitting even when the session is sampled out.
React Native SDK 0.4.0
- New Custom Spans and Traces Exporter (CX-36055). Learn more
- The Traces Exporter streams completed trace batches for you to forward to a Coralogix OTLP endpoint. Learn more
React Native SDK 0.3.3
Bumped the Android native SDK to 2.9.5 to fix a ClassCastException with react-native-skia.
React Native SDK 0.3.2
Native iOS SDK upgraded to 2.4.1.
React Native SDK 0.3.1
The hasBeforeSend flag is now passed to native on init, so beforeSendCallback is set to null when not configured, avoiding an unnecessary JS round-trip for every span. (CX-35463)
React Native SDK 0.3.0
- New network payload and header capture support (CX-32504): configure
networkExtraConfigrules to capture request and response headers and payloads per URL pattern. Learn more - Added the
NetworkCaptureRuletype to the public API for typed configuration. - Android:
networkExtraConfigrules are passed through the native bridge to the Android SDK. - JS: async fetch instrumentation with response payload capture via
Response.clone(). - Native Android SDK upgraded to 2.9.3, iOS to 2.3.0.
React Native SDK 0.2.11
- New automatic user interaction instrumentation (clicks, scrolls, swipes) for React Native components (CX-33494).
- Added the native bridge method
reportUserInteractionfor Android and iOS. - Native Android SDK upgraded to 2.9.0, iOS to 2.2.0.
React Native SDK 0.2.10
Android: null values returned by getString(i) are now skipped when iterating over a ReadableArray, preventing a potential NullPointerException downstream. (CX-32237)
React Native SDK 0.2.9
- Added Android support for
allowedTracingUrls. - Native Android SDK upgraded to 2.7.2.
React Native SDK 0.2.8
Native iOS SDK upgraded to 2.0.0.
React Native SDK 0.2.7
- Reworked
traceParentInHeader: renamed the options object andallowedTracingUrls, simplified the mapping, and stopped injecting any headers at all whentraceParentInHeaderis disabled. The keys are now mapped from React Native to the native iOS SDK format. - Native Android SDK upgraded to 2.6.4, iOS to 1.5.3.
React Native SDK 0.2.6
Native iOS SDK upgraded to 1.5.2.
React Native SDK 0.2.5
Fixed a severity mapping bug by treating the value as a Double instead of an Int.
React Native SDK 0.2.4
- Fixed network request duration reporting to use milliseconds instead of nanoseconds, ensuring accurate timing metrics in network request data.
- Fixed severity
0sometimes being sent as a fallback to0. - Native Android SDK upgraded to 2.6.2.
React Native SDK 0.2.3
- Properly handle the
is_crashflag. - Native iOS SDK upgraded to 1.5.0.
React Native SDK 0.2.2
Native Android SDK upgraded to 2.6.1.
React Native SDK 0.2.1
Native Android SDK upgraded to 2.6.0, with code updated to support the latest changes in the native SDK.
React Native SDK 0.2.0
- Added Session Replay support, including a basic bridge implementation, manual masking, and the full set of Session Replay options. Learn more
- Changed the implementation for masking specific elements to a hook on
onLayout, so it no longer influences the app's layout with an extra layout node. - Native iOS SDK upgraded to 1.4.0.
React Native SDK 0.1.10
Fixed iOS not sending custom measurements.
React Native SDK 0.1.9
Native iOS SDK upgraded to 1.4.0.
React Native SDK 0.1.8
The log method now accepts any type for its data and labels map parameters.
React Native SDK 0.1.7
- Added automatic navigation detection using the
react-navigation/nativepackage. - Native Android SDK upgraded to 2.5.6.
React Native SDK 0.1.6
- Added support for the Coralogix Gradle Plugin for automatic network instrumentation.
- Added granular control for disabling only specific mobile vitals detectors.
- Native Android SDK upgraded to 2.5.51, iOS to 1.3.0.
React Native SDK 0.1.5
- Fixed a build issue on iOS.
- Fixed
beforeSendto actually be optional on iOS. - Hot reload now shuts down the native SDK appropriately, reinitializing it anew to keep context fresh in the native layer.
React Native SDK 0.1.4
beforeSendis now optional.CoralogixRum.initis now async.
React Native SDK 0.1.3
Native Android SDK upgraded to 2.4.6.
React Native SDK 0.1.2
Native iOS SDK upgraded to 1.2.3.
React Native SDK 0.1.1
Better support for React Native v0.78.2 and above.
React Native SDK 0.1.0
- Initial release of the official Coralogix React Native Plugin, with core SDK initialization and configuration.
- Error instrumentation with customizable filtering, plus error reporting and crash detection.
- Network request monitoring (Fetch).
- Mobile vitals tracking (JS refresh rate and performance metrics).
- Session sampling and tracking.
- Trace context propagation.
- User, application, and view context management.
- Manual logging with multiple severity levels.
- Custom measurements and metrics reporting.