Changelog¶
@cloudcare/rum-uniapp 2.2.22 (2026/08/25)¶
- Added
allowedTracingUrls, which matches by the full request URL and supports string prefixes, regular expressions, functions, and{ match, traceType }; allowedTracingOriginsis marked as a deprecated compatibility configuration; when both exist,allowedTracingUrlstakes precedence;- Fixed the route attribution of Douyin navigation, and the issue of missing View route and
setDatametrics when the page stack is temporarily empty.
@cloudcare/rum-miniapp 2.2.19 (2026/08/25)¶
- Added
allowedTracingUrls, which matches by the full request URL and supports string prefixes, regular expressions, functions, and{ match, traceType }; allowedTracingOriginsis marked as a deprecated compatibility configuration; when both exist,allowedTracingUrlstakes precedence;- Fixed the route attribution of Douyin navigation, and the issue of missing View route and
setDatametrics when the page stack is temporarily empty.
@cloudcare/rum-uniapp 2.2.21 (2026/08/20)¶
- Added performance fields such as page first render, FP, FCP, LCP, Ready state, page exit reason, and
setDatasegmented duration; - Added capability fields
performance_supportedandfirst_render_supportedto facilitate calculating coverage and white-screen candidates based on the actual platform support; - Added the
launch_attemptlaunch attempt event as the coverage denominator for native launch performance entries; - Assigned performance entries by route,
pageId, and the latestnavigationStartto avoid cross-page contamination caused by fast page switching, same-route reconstruction, and delayed callbacks; - Fixed the inconsistency of the network type field writing.
@cloudcare/rum-miniapp 2.2.18 (2026/08/20)¶
- Added performance fields such as page first render, FP, FCP, LCP, Ready state, page exit reason, and
setDatasegmented duration; - Added capability fields
performance_supportedandfirst_render_supportedto facilitate calculating coverage and white-screen candidates based on the actual platform support; - Added the
launch_attemptlaunch attempt event as the coverage denominator for native launch performance entries; - Assigned performance entries by route,
pageId, and the latestnavigationStartto avoid cross-page contamination caused by fast page switching, same-route reconstruction, and delayed callbacks.
@cloudcare/rum-uniapp 2.2.20 (2026/08/11)¶
- Added the
allowTraceHeaderWithoutSessionconfiguration, with a default value offalse; when enabled, requests that matchallowedTracingOriginswill still inject Trace Headers even if the current Session does not hit the RUM sampling rate, but this will not force sampling or report RUM data for that Session.
@cloudcare/rum-miniapp 2.2.17 (2026/08/11)¶
- Added the
allowTraceHeaderWithoutSessionconfiguration, with a default value offalse; when enabled, requests that matchallowedTracingOriginswill still inject Trace Headers even if the current Session does not hit the RUM sampling rate, but this will not force sampling or report RUM data for that Session.
@cloudcare/rum-miniapp 2.2.16 (2026/07/28)¶
- Added remote configuration capability, supporting asynchronous updates of sampling rate, service, environment, version, Action, and distributed tracing related configurations;
- Added
getRemoteConfiguration()to read the remote configuration cached during initialization; - Added
setForcedSession()to force collection of the current Session based on user or business conditions; - Added
sessionSampleRateconfiguration, compatible with the sampling rate naming of the Browser SDK; - Sessions are stored independently by
applicationId, with improved idle renewal, maximum duration, and historical event attribution; - Requests and download proxies maintain the original return values and Promise behavior of the business call;
- Supplemented TypeScript type declarations, as well as data collection control for request responses, URL query strings, and launch parameters.
2023/5/22¶
- Added the
queryparameter for launching the mini program:app_launch_query; - Added the ability to custom add Errors.
2022/9/29¶
Added the isIntakeUrl configuration for initialization parameters, used to determine whether to collect resource data based on the request resource URL. By default, all resources are collected.
2022/3/29¶
- Added the
traceTypeconfiguration to set the type of distributed tracing tool. If not configured, the default isddtrace. Currently supports 6 data types:ddtrace,zipkin,skywalking_v3,jaeger,zipkin_single_header,w3c_traceparent; - Added
allowedTracingOrigins, which specifies the list of all requests that are allowed to inject the headers required by the Trace collector. It can be the origin of the request or a regular expression.