Skip to content

Releases: DataDog/dd-sdk-ios

1.4.1

19 Jan 08:05
Compare
Choose a tag to compare

Bug Fixes

  • Fixed app extension compilation issue for UIApplication.shared symbol (#374), solves #370 (thanks @SimpleApp).

1.5.0-alpha1

08 Jan 14:21
Compare
Choose a tag to compare
1.5.0-alpha1 Pre-release
Pre-release

IMPORTANT! This is an alpha version: public API is likely to change in the next versions

1.4.0

15 Dec 20:31
Compare
Choose a tag to compare

This release brings the Real User Monitoring for iOS apps.

Features

  • Added RUM monitoring feature: manual and auto instrumentation for tracking user sessions, interactions, visited UIViewControllers, network resources and errors.
  • Added support for GovCloud endpoints (#235).
  • Added single .set(endpoint:) API to configure all features at once (#322).
  • Added span.setActive() API for indirect referencing Spans (#187).
  • Added Global.sharedTracer.startRootSpan(...) API (#236).
  • Added support for extra user attributes in Datadog.setUserInfo(...) (#315).
  • Added option for logging custom Swift Errors with Logger (#303), solves #276 (thanks @sdejesusF)

Bug Fixes

  • Fixed compilation issue for Mac Catalyst (#277), solves #274 (thanks @Hengyu).
  • Fixed crash with serviceName containing space characters (#317), solves #316 (thanks @philtre).
  • Fixed issue with data being not uploaded when battery status was undefined (#320).

Improvements

  • Tracing auto instrumentation now supports URLSessionTasks created with no completion handler (#262).
  • Extended the allowed characters set for the environment setting (#246).
  • Improved data upload performance (#249).

More in iOS RUM Collection.

1.4.0-beta1

15 Oct 12:55
Compare
Choose a tag to compare
1.4.0-beta1 Pre-release
Pre-release

This beta release brings the Real User Monitoring for iOS apps.

Features

  • Added RUM monitoring feature: manual and auto instrumentation for tracking user sessions, interactions, visited UIViewControllers, network resources and errors.
  • Added support for GovCloud endpoints (#235).
  • Added span.setActive() API for indirect referencing Spans (#187).
  • Added Global.sharedTracer.startRootSpan(...) API (#236).

Bug Fixes

  • Fixed compilation issue for Mac Catalyst (#277), solves #274 (thanks @Hengyu).

Improvements

  • Tracing auto instrumentation now supports URLSessionTasks created with no completion handler (#262).
  • Extended the allowed characters set for the environment setting (#246).
  • Improved data upload performance (#249).

More in iOS RUM Collection guide.

1.3.1

1.3.0

03 Aug 13:12
Compare
Choose a tag to compare

This release brings Distributed Tracing for iOS 🚀.

Features

  • By using a new Tracer API, it is now possible to send traces to Datadog.
// register the Tracer:
Global.sharedTracer = Tracer.initialize(configuration: configuration)

// start the Span:
let span = Global.sharedTracer.startSpan(operationName: "something I measure")

// finish it when the measured operation is done:
span.finish()
  • If you use Datadog instrumentation on the backend, the trace can be propagated across the hosts.

Read more in iOS Trace Collection guide.

1.2.4

17 Jul 12:47
Compare
Choose a tag to compare

Bug Fixes

  • Fixed out-of-memory crash when doing extremely intensive logging (#185), solves #178 (@hyling 🍻)

1.2.3

15 Jul 12:39
fb59e41
Compare
Choose a tag to compare

Bug Fixes

  • Fixed memory leak in logs upload (#180), solves #178 (thanks @hyling)
  • Fixed App Store Connect validation issues for Objective-C SDK (#182), solves #177 (thanks again, @hyling 🚀)

1.3.0-beta3

08 Jul 17:15
2503d25
Compare
Choose a tag to compare
1.3.0-beta3 Pre-release
Pre-release

Features

• Auto-Instrumentation for Tracing 🤖
• Tracing for Objective-C 🧓


How to use auto-instrumentation:
Step 1: Set Datadog.Configuration.tracedHosts to your domains
Step 2: Set tracingEnabled
Step 3: Set Global.sharedTracer to a Datadog.Tracer instance
🚀 Your network requests are automatically traced now!

IMPORTANT!
Auto-tracing is disabled by default
If auto-tracing is NOT enabled swizzling does not happen
Enabling auto-tracing by following the steps above results in swizzling URLSession.dataTaskWithURL:completion: and URLSession.dataTaskWithRequest:completion: methods.
You can look at how we swizzle methods here and/or what the new implementations of those methods are here and here.

1.3.0-beta2

24 Jun 16:21
c93f968
Compare
Choose a tag to compare
1.3.0-beta2 Pre-release
Pre-release

This beta brings more to Distributed Tracing for iOS apps 🚀.

Features

  • The span.setBaggageItem(key:value:) is now available (#144). This enables attributes propagation from parent span to its children.

Bug Fixes

  • Fixed a set of NSFileHandle crashes on iOS 13.0 - 13.3 in -beta1 (#152) caused by Apple bug.

Upgrade From 1.3.0-beta1

  • Starting from -beta2, we embed the Open Tracing interfaces in Datadog module (#154). DDTracer is renamed to Tracer:
import Datadog

Global.sharedTracer = Tracer.initialize(...)
  • This (#154) also means less hassle in Podfile as now it only requires pod DatadogSDK.

More in iOS Trace Collection guide.