Features
- Expose
allocationKeyas a top-level property onFlagDetailsfor callers usinggetDetails(key:defaultValue:). See #2989 - Add wildcard host pattern support to WebView tracking via
WebViewTracking.enable(webView:hostPatterns:). See #2963 - Add wildcard host pattern matching to first-party hosts tracing. See #2981
Improvements
- DatadogTrace now leverages Swift 6 compile time checking against data races. Types like
DDSpanandOTSpanare now marked as Sendable and can be used safely across isolation barriers. External dependencyopentelemetry-swift-coreversion was updated to 2.5.0. See #2876
Fixes
- Fix
DatadogFlagsexposure deduplication so assignment changes for the same subject and flag emit new exposure events. See #2987 - Fix watchOS uploads blocked by NWPathMonitor always reporting no reachability. See #2975
- Fix several instances where misaligned memory could be loaded without proper checking. See #2995
- Prevent OOM in
URLSessionInstrumentation.enableDurationBreakdown: media response bodies are no longer buffered; all other bodies are capped at 512 KB. Thedataparameter ofresourceAttributesProviderreflects these constraints. See #3019
Full Changelog: 3.12.0...3.13.0