Skip to content

Changelog


2.2.17 (2026/08/11)

  1. Added the allowTraceHeaderWithoutSession configuration option, default value false; when enabled, if the current Session does not hit the RUM sampling rate, requests matching allowedTracingOrigins will still inject Trace Headers, but this will not force sampling or report RUM data for that Session.

2.2.16 (2026/07/28)

  1. Added remote configuration capability, supporting asynchronous updates to sampling rate, service, environment, version, Action, and Distributed Tracing related configurations;
  2. Added getRemoteConfiguration(), used to read the cached remote configuration from the current initialization;
  3. Added setForcedSession(), supporting forced collection of the current Session based on user or business conditions;
  4. Added the sessionSampleRate configuration, compatible with the sampling rate naming convention of the Browser SDK;
  5. Sessions are now stored independently by applicationId, with improved idle renewal, maximum duration, and historical event attribution;
  6. Request and download proxies preserve the original return values and Promise behavior of business calls;
  7. Supplemented TypeScript type declarations, as well as data collection control for request responses, URL query strings, and startup parameters.

2023/05/22

  1. Added the query parameter for launching Mini Programs: app_launch_query;
  2. Added support for custom error addition.

2022/09/29

Added the isIntakeUrl configuration option to initialization parameters, used to determine whether to collect resource data based on the request resource URL. By default, all resources are collected.

2022/03/29

  1. Added the traceType configuration option to specify the type of Distributed Tracing tool. If not configured, the default is ddtrace. Currently supports 6 data types: ddtrace, zipkin, skywalking_v3, jaeger, zipkin_single_header, w3c_traceparent;
  2. Added allowedTracingOrigins to specify the list of all requests allowed to inject the required header fields for the Trace collector. It can be the origin of the request or a regular expression.