Releases: DataDog/dd-sdk-ios
3.4.0
Features
- Add support for configuring a custom version parameter in
DatadogConfiguration. (#2585) (Thanks @blimmer!) - Add support for SwiftUI vector image assets in Session Replay. (#2599)
Fixes
- Provide XCFramework without arm64e slice for Xcode 26+ compatibility. (#2576)
- Refactor public extensions on common types in
DatadogInternalto use the.ddnamespace pattern, preventing namespace collisions with customer code. (#2587) - Add
serviceandsdk_versiontags to log requests. (#2598)
Full Changelog: 3.3.0...3.4.0
3.3.0
Features
- Support errors for GraphQL requests. (#2552)
Fixes
- Fix tracing header injection for sampled out requests. (#2473)
- Remove GraphQL headers from request after processing it. (#2566)
Full Changelog: 3.2.0...3.3.0
3.2.0
This release introduces Datadog Feature Flags — a new SDK enabling remote feature management and experimentation on iOS and tvOS. It integrates with DatadogCore, supports multiple FlagsClient instances, and provides local, typed flag evaluation with automatic exposure tracking and RUM correlation.
📘 Public documentation: iOS and tvOS Feature Flags
Features
- Add
DatadogFlagsmodule for feature flag evaluation and management (#2532) - Send data for GraphQL requests in RUM Resource events (#2501)
Bug Fixes
- Fix Logger race condition (#2514), solves #2507 (thanks @msrutek-paylocity)
- Fix OTel parent spans with multiple sequential child spans (#2530) (thanks @jbluntz)
- Fix typos in internal accessibility implementation (#2538) (thanks @tdr-alays)
Full Changelog: 3.1.0...3.2.0
2.30.2
3.1.0
2.30.1
3.0.0
This major release of the Datadog iOS SDK focuses on streamlining modules, refining defaults, and improving reliability across product features. Objective-C APIs have been migrated into their respective modules, and the legacy DatadogObjc module has been removed. Tracing now defaults to deterministic, session-based sampling, while RUM provides more consistent attribute propagation. Logs no longer report fatal errors by default, and several APIs have been simplified or removed to reduce legacy dependencies.
⚠️ Breaking Change: We optimized internals of the SDK that control session definition and tracking of application states, to improve how inactivity and background activity are accounted for on iOS. Depending on your app’s use of background modes, push notifications, or OS prewarming, updating to 3.x may result in fewer sessions being reported.
Refer to the Migration Guide for instructions on upgrading from 2.x.
Improvements
- Update Session Replay batch maximum age to 5hrs. See (#2455)
- Update the default tracing sampling rate to 100%. See (#2253)
- Update the default TraceContextInjection to
.sampled. See (#2253) - Enforce head-based sampling on Trace by default. See (#2288)
- Sample traces according to
session.id. See (#2364) - Migrate all Obj-c interfaces to corresponding modules. See (#2286) (#2295)
- Remove
DatadogObjcmodule. See (#2298) - Remove Alamofire extension. See (#2309)
- Improve Memory vital collected using
phys_footprint. See (#2310) - Align attribute propagation mechanism. See (#2291) (#2305)
- Stop reporting App hangs and Watchdog terminations for iOS widgets. See (#2326)
- Align
osanddeviceattributes across all product features. See (#2322) - Remove fatal errors from Logs. See (#2359)
- Introduce new category for network errors. See (#2341)
- Add opt-out API to disable tracking memory warnings as RUM Errors. See (#2355)
Fixes
- Fix
DDLogEvent.accountInfoproperty initialization in case of missing account info. See (#2442)
2.30.0
Features
- Add SwiftUI support for Session Replay privacy overrides. See (#2333)
- Add Clear User Info API. See (#2369)
- Collect battery and locale attributes. See (#2351) (#2327)
Improvements
- Add
accountInfoproperty toDDLogEvent. See (#2360) - Improve Time To Network Settled calculation when
URLSessionTaskMetricsis available. See (#2405) - Expand Action Tracking to other UI components (#2348)
- Improve backtrace collection and error messages (#2395)
- Fix SwiftUI Auto-tracking ObjC APIs (#2344)
- Improve support of Session Replay on iOS 26 for apps built with Xcode 26 (#2354) (#2370) (#2355)
Full Changelog: 2.29.0...2.30.0
2.29.0
Features
- Adds SwiftUI auto-tracking for views and actions. (#2237) (#2315)
- Adds support for AP2 Datacenter. You can configure it setting
DatadogSite.ap2onDatadog.Configuration.site. (#2343) - Adds account information configuration. The account information propagates to Logs, RUM, Traces, Crash and Error Reporting. (#2225)
Full Changelog: 2.28.1...2.29.0