Changelog¶
1.6.9 (2026/11/15)¶
- Automatically collected Long Tasks and ANRs now filter background jank by default, and ANR retains the app state at jank onset. This release also improves jank timing accuracy, retention of collected stacks, and monitoring startup reliability.
- Added
FTRumConfig.enableTraceUserViewLoadingTimeandviewLoadingTimeClassNameExcludes, allowing you to disable automatic page load time collection globally or by controller class while retaining RUM View tracking. See Page Load Time Collection Control. - RUM Resource now includes
network_signal_strength, which reports network link quality on iOS 26, tvOS 26, macOS 26, and later; network status is collected at Resource start. - Improved RUM
custom_keystagging to cover global custom context, user extension properties, and event custom properties. - Fixed RUM cold launch source detection; when a foreground launch is interrupted by a switch to the background,
app_launch_typenow includes theforeground_and_backgroundcategory. - Fixed cellular network type detection by using the SIM card that currently provides data service to determine the network type.
- Fixed device model reporting when an iOS app runs on a Mac; the host Mac model is now used.
- Fixed RUM context correlation when Session Replay starts with a delay, ensuring that the existing session and page can be correlated when recording starts.
- Reduced the wait time for the first automatic upload on the next launch after a crash occurs early in startup, improving crash history persistence and upload scheduling reliability.
- Removed Swizzle diagnostic symbol lookup during auto-collection to reduce startup overhead in SDK Debug builds. Swizzle debug logs are disabled by default and must be explicitly enabled via
[FTLog enableSwizzleLog:YES], along with SDK Debug logs. - Added the custom launch prewarm detection configuration
launchPrewarmInterval(disabled by default) and a manual detection API, improving duration trimming and timeline calibration for prewarmed launches. See Launch Prewarm Detection. - Fixed duplicate initial launch reporting when the SDK is reinitialized after shutdown; each process reports the initial launch Action only once, and subsequent warm launches continue to be monitored after reinitialization.
1.6.8 (2026/10/22)¶
- Breaking Change: The minimum supported versions have been raised to iOS 15, tvOS 15, and macOS 12. The minimum supported versions for iOS/tvOS align with the deployment target range of Xcode 26: according to Apple submission requirements, as of April 28, 2026, iOS/tvOS apps uploaded to App Store Connect must be built with Xcode 26 or later and the corresponding iOS 26/tvOS 26 SDKs; the minimum deployment targets supported by Xcode 26 are iOS 15 and tvOS 15. For upgrade steps, see 1.6.8 Upgrade Requirements.
- Added an optional SDK-managed visitor ID capability, configured via
FTRumConfig.visitorIDConfig: it supports custom TTL, automatic request header injection into matching URLSession requests, native RUM correlation, manual reset, and host allowlist-based control of visitor ID sharing across WebViews. - Added RUM view metrics
interaction_to_next_view_timeandnetwork_settled_time, which measure the time from a tap interaction to the start of the next view and the time from view start to completion of the first batch of network requests, respectively. Matching rules can be configured viaFTRumConfig.nextViewActionPredicateandnetworkSettledResourcePredicate. - Added automatic collection of NSURLConnection RUM Resources with Distributed Tracing correlation support, controlled by
FTRumConfig.enableTraceURLConnectionResourceandFTTraceConfig.enableAutoTraceURLConnection; both are disabled by default. - Added WebView Log bridging via
FTLoggerConfig.enableWebViewLog, supporting the Browser Logger API, console logs, and JS error log collection, reusing the host allowlist, and supporting remote configuration. - Added RUM and Session Replay integration for macOS Electron, including full mode, native-hosted hybrid mode, and multi-process isolation, with native package distribution for the Universal architecture.
- Session Replay is now automatically stopped when
FTSDKAgent.shutDownis called: recording and reporting stop. - Unified the RUM / Log / Trace / Session Replay sampling APIs, added support for fractional percentage sampling, and maintained compatibility with deprecated APIs and legacy remote configuration logic.
- View, Resource, and LongTask now include
app_statebased on the event occurrence interval, and native RUM events includesession_start_reason. This allows late-completing requests, cached data, and historical ANRs to retain their session's launch reason; old cached data lacking this information usesunknown. Optimized View and Action handling during app foreground/background transitions. - Fixed RUM Resource timing and WebSocket handshake failure classification issues, and prevented request initiation from blocking on the asynchronous Distributed Tracing storage flow.
- Optimized long task detection in delayed scheduling scenarios to avoid main thread blocking during RunLoop state updates, and fixed duplicate ANR reporting after session refresh.
- Fixed indefinite delays in automatic uploads caused by continuous data writes, and corrected the network connection state update logic.
- Added a generic external Session Replay integration API that allows framework and engine recorders to reuse RUM context, segment storage, image resources, and replay metadata, and coordinates pause and resume of the native recorder.
1.6.7 (2026/08/19)¶
- Added RUM Resource collection support for WebSocket handshake requests. The data now includes
resource_type=websocket,resource_websocket_collection_level=handshake, andresource_websocket_handshake_state(success,rejected,failed). - Added
FTRumConfig.issueDataProvider, which can attach validated custom fields and historical context to automatically collected Crash and ANR RUM Errors. - Added macOS Session Replay recording support, covering common AppKit views and controls.
- Added automatic collection of macOS app launch Actions and unified the default macOS
serviceand Logsourcetags. - Session Replay resource checks and uploads now support RUM context correlation: use
FTSessionReplayConfig.enableLinkRUMKeysto select the RUMglobalContextfields to pass, ensuring that the same resource is correctly routed, retained independently, and deduplicated in different correlation contexts. - Optimized RUM lifecycle handling in scenarios such as fallback Views, app launches, first frame tracing, delayed initial Actions, and session expiration.
- Optimized
loading_timemeasurement for automatically collected RUM Views in UIKit and SwiftUI, excluding idle time during prerendering and preloading.
1.6.6 (2026/07/15)¶
- Migration Change: The CocoaPods and Swift Package Manager distribution products have been renamed from the
FTMobileSDKseries to theTrueWatchSDKseries. UseTrueWatchSDK,TrueWatchWidgetExtension, andTrueWatchSessionReplay. The CocoaPods aliasesTrueWatchSDK/ExtensionandTrueWatchSDK/FTSessionReplayare still available. For upgrading existing projects, see Migration Guide. - Added experimental Session Replay heatmap correlation, which can be enabled via
FTSessionReplayConfig.enableHeatmap. This capability correlates only automatically collected UIKit Actions; some UIKit Actions may not support Heatmap. SwiftUI Actions are not automatically collected and therefore cannot be correlated with Heatmap through this capability. - Added system
compressionandzlibheaders. - Optimized URLSession Resource stability by retaining request and trace data during asynchronous processing and limiting cached response body size to reduce OOM risk.
- Fixed issues with RUM CPU calculation, app launch, app state, session timeout, crash context, and active View context handling.
- Improved ANR reliability by avoiding SQLite
VACUUMwhen the app enters the background and retrying all-thread backtrace collection. - Fixed a potential array out-of-bounds crash caused by invalid enum values.
1.6.5 (2026/06/09)¶
- Added
FTSessionReplayConfig.enableSwiftUIto explicitly enable SwiftUI recording for Session Replay; disabled by default. - Added support for custom
sourcevalues when uploading iOS Session Replay Segments, for Flutter Session Replay scenarios. - Fixed Session Replay crashes caused by dynamic
UIColorparsing and optimized background snapshot processing and SwiftUI recording stability. - Optimized Session Replay data caching after sampling state changes and fixed the issue where recording did not start after error sampling took effect, improving recording continuity and stability.
- Optimized upload scheduling and retry handling for Session Replay, RUM, and Log.
- Optimized Session Replay rendering correctness and performance, including node flattening, snapshot processing queue priority, View Tree privacy override inheritance, and unsupported placeholder trimming.
- Fixed RUM View time consistency with upload packages by retaining event time and deduplicating View data before package ID generation.
1.6.4 (2026/05/21)¶
- Added Session Replay support for SwiftUI views.
- Added RUM SwiftUI view tracking and manual tap Action tracking support.
- Cold launch Actions now include the
app_launch_typefield to distinguish foreground launches from background launches. - Added blocklist filtering, which can filter Log and RUM data before local cache writes. Rules can be configured in-app via
FTMobileConfig.dataFiltersor automatically pulled from the blocklist in the Guance Workspace; both methods take effect simultaneously. This capability is enabled by default. SetFTMobileConfig.enableDataFilter = NOto disable SDK-side filtering. Filtering rules run afterlineDataModifier. - Optimized upload Worker shutdown isolation, upload callback synchronization, and RUM upload behavior to prevent duplicate uploads, expired retry loops, and upload execution conflicts, and to skip duplicate View data during upload.
- Replaced RUM placeholder View handling with fallback View resolution to improve View tracking consistency when the original View is unavailable.
- Optimized handling of preset property Tags for nil, empty values, and user information updates.
1.6.3 (2026/04/30)¶
- Added
view_long_task_rateto calculate the page jank rate of RUM Views. - RUM Resource data now includes
network_availableto record a snapshot of network availability at Resource start. - RUM crash data now includes crash duration fields from app state statistics:
foreground_crash_free_durationandbackground_crash_free_duration. - Added RUM Key correlation support for Session Replay resource uploads.
- Data upload request compression is now enabled by default.
- Fixed a race condition with
NSDatein the long task detector. - Fixed WKWebView bridge locking and duplicate enabling issues, improving WebView RUM / Session Replay stability.
- Fixed a potential failure of local CSS injection when Session Replay processes WebView node data.
1.6.2 (2026/04/17)¶
- Added Session Replay capability with WebView Session Replay support.
- Added correlation between Session Replay and RUM context, allowing a WebView container to be correlated with the context of the loaded HTML content.
- Added error sampling for Session Replay and support for dynamically controlling Session Replay via remote configuration.
- Added image resource upload for Session Replay.
- Session Replay now supports privacy configuration for touch, text and input, and images via
touchPrivacy,textAndInputPrivacy, andimagePrivacy, and supports view-level privacy overrides for individual UIViews viasessionReplayPrivacyOverrides.
1.5.21 (2026/04/15)¶
- Added
setDatakitURL:andsetDatawayURL:clientToken:methods to support dynamically updating the reporting endpoint at runtime. - Minimum deployment target changed to iOS 12+ and macOS 10.14+.
- Fixed View association failure when calling
addAction:. - Optimized Log and RUM correlation logic and added the missing
action_idfield. - Fixed RemoteConfig fetch interval logic; on SDK startup, the local last request time is used to validate the request interval.
- Fixed dynamic sampling rate changes not taking effect.
1.5.20 (2026/02/26)¶
- Fixed concurrent read/write issues in
FTPresetPropertyto avoid crashes caused by dictionary corruption and double release. - Enabled WAL mode for SQLite in the SDK.
- Replaced deprecated
SCNetworkReachabilitywithNWPathMonitor. - Removed usage of the deprecated
UIScreen.mainScreenAPI. - Fixed
FTMobileConfig.dataModifierhandling logic so that it covers all data entries.
1.5.19 (2026/01/09)¶
- Extended
resource_typewith image, media, font, CSS, JS, and native types. - Added
resource_idto network errors to correlate with the corresponding Resource data. - Added support for custom parsing and configuration of remote variables through the
FTMobileConfig.remoteConfigFetchCompletionBlockor+updateRemoteConfigWithMiniUpdateInterval:completion:callback. - Resource now includes
resource_http_protocol,resource_request_size, andresource_connection_reusefields. - Refined cold and prewarmed launch time metrics by adding
app_pre_runtime_init_time,app_runtime_init_time,app_uikit_init_time,app_application_init_time, andapp_first_frame_init_time. - Fixed data loss caused by missing RUM Views.
- Enhanced crash and ANR stack capabilities with all-thread information collection and support for setting the crash monitoring type via
FTRumConfig.crashMonitoring.
1.5.18 (2025/08/08)¶
- Added support for RUM View/Action collection filtering and custom View/Action names via
FTRumConfig.viewTrackingHandlerandFTRumConfig.actionTrackingHandler. - Added the
-updateViewLoadingTime:method to update the load time for the active RUM View. - Fixed the missing
sdk_namefield in Log data. - Fixed UserScripts conflicts in WebView data collection.
- Fixed thread safety issues in SDK shutdown.
- Fixed a crash caused by changing the main thread name during Long Task monitoring.
- Added
FTRumConfig.h/.mfiles, splittingFTRumConfigout ofFTMobileConfig.hinto separate files.
1.5.17 (2025/06/11)¶
-
Added
FTRUMConfig.enableTraceWebViewto configure whether WebView data is collected through the SDK;FTRUMConfig.allowWebViewHostcontrols the host addresses that need to be filtered. -
Added
FTRumConfig.sessionTaskErrorFilterto filter local network errors. -
Added
FTMobileConfig.remoteConfigurationto enable remote conditional configuration, andFTMobileConfig.remoteConfigMiniUpdateIntervalto set the minimum update interval after remote control is enabled.
1.5.16 (2025/05/16)¶
-
Added
FTMobileConfig.lineDataModifierandFTMobileConfig.dataModifierto support data replacement at write time and data masking. -
Added
FTRUMConfig.sessionErrorSampleRateto support error sampling. When data is not sampled bysampleRate, RUM data from 1 minute before an error can be sampled and collected when the error occurs. -
Logger now supports filtering custom log levels via
logLevelFilter. -
When navigating from a native page to a WebView page, fill
view_referrerwith the native page name.
1.5.15 (2025/04/14)¶
- Fixed Swift Package Manager compilation errors.
1.5.14 (2025/03/07)¶
-
Added RUM
Resourcedata fieldsresource_first_byte_time,resource_dns_time,resource_download_time,resource_connect_time,resource_ssl_time, andresource_redirect_timeto support enhanced Resource duration display on TrueWatch and time axis alignment in Application Performance Monitoring (APM) Flame Graphs. -
Enabled
FTMobileConfig.enableDataIntegerCompatibleby default. -
Added support for disabling URLSession Method Swizzling in the SDK via the
FT_DISABLE_SWIZZLING_RESOURCEmacro. -
Optimized data synchronization and added retry-on-failure logic.
1.5.13 (2025/02/27)¶
- Optimized page collection logic to prevent special views from causing missing RUM View collection.
1.5.12 (2025/02/10)¶
- Adjusted file storage path configuration and fixed database creation failures in tvOS.
- Updated the default
serviceand Logsourcefor tvOS todf_rum_tvosanddf_rum_tvos_log, respectively. - Fixed inaccurate
durationcalculation in RUM Action events.
1.5.11 (2025/02/05)¶
- Optimized RUM Resource collection to prevent SDK-internal requests from being collected when RUM Resource auto-collection is enabled.
- Fixed SkyWalking-type Distributed Tracing failures in Widget Extensions.
1.5.10 (2025/01/21)¶
- Added support for intercepting Requests to customize Trace via
FTTraceConfig.traceInterceptor, and for adding custom RUM Resource properties viaFTRumConfig.resourcePropertyProvider. - Fixed exceptions in the method for dynamically adding global properties under multithreaded access.
- Optimized data information passed from WebView.
1.5.9 (2025/01/08)¶
- Added support for intercepting
URLRequestvia theFTURLSessionDelegate.traceInterceptorblock for custom Distributed Tracing and for changingspanIdandtraceIdin the trace. - RUM Resource now supports collecting network requests initiated through the Swift async/await URLSession API.
- Fixed incorrect View association for LongTask and ANR.
1.5.8 (2024/12/23)¶
- Added tvOS support.
- Added support for limiting the maximum number of RUM cache entries via
FTRUMConfig.rumCacheLimitCount, and for setting the discard policy viaFTRUMConfig.rumDiscardType. - Added support for limiting the total cache size via
FTMobileConfig.enableLimitWithDbSize. Once enabled,FTLoggerConfig.logCacheLimitCountandFTRUMConfig.rumCacheLimitCountno longer take effect. The DB discard policy can be set viaFTMobileConfig.dbDiscardType, and the DB cache size limit can be set viaFTMobileConfig.dbCacheLimit.
1.5.7 (2024/12/04)¶
- Added support for setting the jank detection threshold via
FTRUMConfig.freezeDurationMs. - Optimized the SDK
shutDownmethod to avoid jank or WatchDog crashes caused by synchronous waiting on the main thread.
1.5.6 (2024/11/13)¶
- Added support for configuring deflate compression for synchronized data via
FTMobileConfig.compressIntakeRequests. - Added
addAction:actionType:propertyandstartAction:actionType:property:methods to RUM and optimized RUM Action collection logic. - Fixed crashes caused by deprecated
NSFileHandleAPIs.
1.5.5 (2024/11/06)¶
- Fixed a crash caused by an array out-of-bounds in
FTResourceMetricsModel.
1.5.4 (2024/10/18)¶
- Added dynamic configuration methods for global, Log, and RUM
globalContextproperties. - Added a data clearing method to delete all data not yet uploaded to the server.
- Adjusted the maximum supported sync interval to 5000 milliseconds.
1.5.3 (2024/10/09)¶
- Fixed memory access crashes during LongTask and ANR collection caused by incorrect property modifiers.
- Replaced method signature validation assertions in
FTSwizzlerwith internal warning logs. - Optimized decimal precision of collected data.
1.5.2 (2024/08/21)¶
- Fixed the missing
#include <arm/_mcontext.h>header issue when compiling with Xcode 16. - During RUM Resource auto-collection, filtered out Resources obtained directly from local cache or with an unknown fetch type to prevent duplicate collection.
- Fixed
loadingTimecalculation logic forUITabBarControllerchild views.
1.5.1 (2024/08/02)¶
- Fixed the line protocol data escaping algorithm to resolve data synchronization failures caused by newline characters.
- Optimized error messages with the
network_errorerror type to consistently use English descriptions for network request error codes. - Optimized data synchronization logic and fixed crashes caused by multithreaded access to a released
uploadDelayTimer. - Fixed crashes caused by incorrect encoding during Objective-C and C string conversion when collecting crash information.
1.5.0 (2024/06/03)¶
- Added remote IP address resolution for RUM Resource network requests.
- Added a line protocol Integer data compatibility mode to handle web data type conflicts.
- Added a custom status method for Logs.
- Optimized Log data writes and data synchronization.
- Formatted NSDictionary parameters passed to the SDK to prevent data loss caused by JSON conversion failures.
1.4.14 (2024/05/29)¶
- Fixed a memory access crash caused by accessing a deallocated Class object in
FTSwizzler. - Fixed data consistency and operation conflicts that could occur when NSDictionary parameters passed to the SDK are actually mutable objects.
1.4.13 (2024/05/15)¶
- Optimized RUM LongTask and ANR collection, fixed inaccurate LongTask stack information collection, and added support for collecting fatal jank.
- Fixed a crash in
FTSwizzlercaused by concurrent operations onNSMutableSetfrom multiple threads. - Fixed missing version information in the SDK Framework
Info.plistduring packaging. - Fixed Resource performance metric collection failures when a custom NSURLSession has no delegate set.
- Optimized converting internal SDK logs to files and added a method to specify the file path.
1.4.12 (2024/04/26)¶
- Fixed a memory leak caused when the SDK calls the shutdown method
shutDown. - Fixed crashes caused by conflicts with other libraries during RUM Resource collection.
- Fixed
UncaughtExceptionHandlernot being passed during crash collection. - Fixed data anomalies caused by initializing the SDK multiple times.
1.4.11 (2024/03/28)¶
- Added support for data synchronization parameter configuration: request entry count, sync interval, and Log cache entry count.
- Added a method to convert internal logs to files.
- Fixed incorrect retrieval of RUM data associated with Logs.
- Optimized time-consuming operations.
- Fixed crashes during WebView jsBridge and changed WebView references to weak references.