Release Notes¶
2.2.16 (2026/07/28)¶
- Added remote configuration capabilities, supporting asynchronous updates of sampling rate, services, environments, versions, Actions, and APM-related configurations.
- Added
getRemoteConfiguration()to read the remote configuration cached in the current initialization. - Added
setForcedSession()to force the 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 business calls.
- Supplemented TypeScript type declarations, as well as data collection controls for request responses, URL query strings, and startup parameters.
2023/5/22¶
- Added the
queryparameter for launching mini programs:app_launch_query. - Added custom Error addition.
2022/9/29¶
The initialization parameter added the isIntakeUrl configuration, used to determine whether to collect the corresponding resource data based on the request resource URL, with all resources collected by default.
2022/3/29¶
- Added the
traceTypeconfiguration to specify the type of APM tool. If not configured, the default isddtrace. Currently supports 6 data types:ddtrace,zipkin,skywalking_v3,jaeger,zipkin_single_header,w3c_traceparent. - Added
allowedTracingOriginsto allow injecting the list of all requests required by the Trace collector's header. It can be the origin of the request or a regular expression.