Skip to content

3.23.0

Latest

Choose a tag to compare

@gonzalezreal gonzalezreal released this 24 Nov 10:44
2b005c1

What's Changed

Features

  • Add the anonymous user ID to Trace spans as meta.usr.anonymous_id. See #3480
  • Flags: Add subject authorization for protected flag environments. When authorization fails, prevent a subject from using flag assignments retained for another subject. Adds FlagsError.assignmentAuthorizationFailed and FlagEvaluationError.general; exhaustive switches need the new cases. See #3445

Improvements

  • Add stack trace support to RUM monitor stopResourceWithError API. See #3422
  • Add stopResourceWithErrorWithResourceKey:message:type:stack:response:attributes: to DDRUMMonitor to report a resource error's type and stack trace from Objective-C. See #3457
  • Flags: Protect evaluation telemetry by default. Targeting keys are hashed and the evaluation context is omitted unless the flags configuration enables full evaluation data. Only stable error codes are reported. See #3340
  • Add DDProfiling and DDProfilingConfiguration to configure and enable native profiling from Objective-C integrations. See #3465
  • Add addErrorWithMessage:type:stack:source:attributes: to DDRUMMonitor to report an error type from Objective-C. See #3458
  • RUM: Allow cross-platform SDKs to report the first frame used for Time to Initial Display (TTID). See #3462
  • Flags: Send the SDK's service in the dd-service header on flag requests, the same service RUM reports, so Usage Attribution can split Feature Flags usage by service. See #3469
  • Send full RUM view events less often when view updates are enabled: every 10th view update instead of every 6th. This reduces view payload size. See #3491

Fixes

  • Flags: getIntegerValue, getDoubleValue and their details variants now return the flag value when it converts between Int and Double without loss. Before, some of these reads returned the default value with .typeMismatch. See #3399
  • Fix rounded corners in Session Replay composition tree recordings. See #3464
  • Preserve rounded borders on transparent layers in composition tree recordings. See #3466
  • Fix a crash when the app launch vitals (TTID/TTFD) were written after the RUM session that received them was deallocated. See #3479
  • Fix Liquid Glass slider and switch thumb rendering during interactions in Session Replay composition tree recordings. See #3482
  • Fix an unrecognized selector crash for typeDescription when tapping SwiftUI views with RUM action tracking, in Debug builds that link DatadogRUM statically. See #3489
  • Fix Liquid Glass tab bar rendering in Session Replay composition tree recordings, including tab selections, tab accessory backgrounds, and missing tab icons. See #3492
  • Fix possible crashes and lost updates when user info, account info or tracking consent APIs are called concurrently from multiple threads. See #3463