Skip to content

2.2.0

Compare
Choose a tag to compare
@nachoBonafonte nachoBonafonte released this 10 Jan 14:48
· 222 commits to main since this release

New Features

  • Intelligent Test Runner. In order to enable it you must enable Code coverage (for your targets at least). You must also set DD_APPLICATION_KEY environment variable in addition to DD_API_KEY in your project settings. You can create an Application key here. You may need also to enroll in the private beta.
  • Sanitizers errors are now reported with the same information shown in Xcode (some of them can also produce a crash in the test that reproduced them). These errors are reported at the module level.
  • Support to correlate the test with the Infrastructure of the machine running the tests. The machine must run the Datadog agent and the environment variable DD_CIVISIBILITY_REPORT_HOSTNAME must be set to true.

Bug fixes

  • Branch name could fail to be read from .git folder when CI environment variables are not set
  • Some libraries were not being symbolicated properly in the crash reports.
  • Fixes a memory leak in the stderr instrumentation
  • Newer iOS and tvOS test targets could get hung when loading.

Improvements

  • Improved error messages when running with debug settings (DD_TRACE_DEBUG = 1)
  • Reduce loading time for the library by initialising in parallel
  • Uses NSLog to print messages from the framework. That should help with some prettifiers silencing the Framework

Changes

  • It uses opentelemetry-swift 1.3.0 and is built with Xcode 14.2