Skip to content

Releases: open-telemetry/opentelemetry-swift

1.6.0

10 Aug 17:33
869dc5a
Compare
Choose a tag to compare

Breaking Changes

  • updated protobufs to v0.20.0, requiring OpenTelemetry Collector version v0.80.0 by @bryce-b in #433

Stable Metrics

Network Instrumentation

  • Fix: Access requestMap only on the protected queue by @andraskadar in #425
  • Add support to inject baggage propagator headers to the instrumented request by @batuhansk in #443

Logs

Tracing

  • ActivityContextManager: Release lock after context value has been removed by @mattxw in #446
  • Fix active context is removed incorrectly by @nachoBonafonte in #448

OpenTelemetry Protocol Exporter (OTLP)

  • Changed protobuf version as exporter user-agent version by @bryce-b in #444

New Contributors

Full Changelog: 1.5.1...1.6.0

1.5.1

05 Jun 09:33
37b52e2
Compare
Choose a tag to compare

General
It includes an alpha/beta quality release of OpenTelemetry metrics specification. The previous metric implementation is old and out-of-spec. While Stable Metrics is in an experimental phase it will maintain the "stable" prefix, and can be expected to be present on overlapping constructs in the implementation.
Expected time line will be as follows:

  • Phase 1:
    Provide access to Stable Metrics along side existing Metrics. Once Stable Metrics are considered stable we will move onto phase 2.
  • Phase 2:
    Mark all existing Metric APIs as deprecated. This will maintained for a period TBD
  • Phase 3:
    Remove/rename deprecated metrics api and remove Stable prefix from Stable metrics.

Metrics

SwiftMetricsShim

Logs

Persistence

  • Added persistent store decorator for log records by @bryce-b in #412

Full Changelog: 1.5.0...1.5.1

1.5.0

05 May 08:26
e585c48
Compare
Choose a tag to compare

General

Tracing

  • fix: avoid ending spans multiple times by @seemk in #400

OpenTelemetry Protocol Exporter (OTLP)

  • Breaking change OTLP HTTP and GRPC Exporters are now two different libraries to reduce dependencies by @Sherlouk in #399
  • Add user agent on OTLP requests by @kevinearls in #397

Network Instrumentation

  • Fix URLSession instrumentation when using async/await versions in iOS 16 by @nachoBonafonte in #398

Full Changelog: 1.4.1...1.5.0

1.4.1

22 Mar 13:47
720a028
Compare
Choose a tag to compare

General

  • Added support for watchOS, needs swift 5.6, by @lunij in #377
  • Store version of the spec supported in the library in OpenTelemetry.version, by @nachoBonafonte in #387

Tracing

  • Fix a thread race condition when ending a Span from various threads concurrently, by @nachoBonafonte in #379
  • Fix total attribute count was wrong in RecordEventsReadableSpan after removing attributes, by @nachoBonafonte in #385

Metrics

  • Fix potential thread race conditions if creating new metrics while reporting, by @nachoBonafonte in #388

Network Instrumentation

  • Add the option to configure the URLSession delegate classes, it avoids searching for them and improves efficiency on loading, by @nachoBonafonte in #381

OpenTelemetry Protocol Exporter (OTLP)

  • Add an OTLP via HTTP exporter(experimental use only) by @kevinearls in #376

Full Changelog: 1.4.0...1.4.1

1.4.0

31 Jan 15:24
fd99c03
Compare
Choose a tag to compare

General

  • Breaking Change Remove OpenTelemetrySDK instance, it could be the source of duplicity at runtime. The library should be initialised as explained in the manual. Examples are also updated. by @nachoBonafonte in #375

Tracing

Network Instrumentation

  • Fix dependance in OpenTelemetrySDK.instance, could make the initialisation fail by @nachoBonafonte in #375
  • Updated URLSession instrumentation notes, explaining it must be initialised after the Tracer Provider by @bryce-b in #374

Examples

  • Updated Examples to register the tracer properly (as explained in the documentation)

Full Changelog: 1.3.1...1.4.0

1.3.1

13 Jan 17:39
c26efdc
Compare
Choose a tag to compare

General

Logs

  • ReadableLogRecord member-wise init is now public by @bryce-b in #368

SDKResourceExtension

  • Fix DeviceDataSource could fail to report information by @bryce-b in #369

Examples

  • Update Jaeger links to current version in Simple Exporter by @kevinearls in #367

New Contributors

Full Changelog: 1.3.0...1.3.1

1.3.0

16 Dec 11:22
6fc9920
Compare
Choose a tag to compare

General

  • Added Logs support. Both API and SDK are feature complete. By @bryce-b in #347
  • Allow OTEL_RESOURCE_ATTRIBUTES values to be read from the main bundle Info.plist file in addition to only from environment variables by @nachoBonafonte in #362

OpenTelemetryProtocol (OTLP) Exporter

Full Changelog: 1.2.1...1.3.0

1.2.1

18 Nov 15:23
444d981
Compare
Choose a tag to compare

General

  • Created official documentation for the library, it is located in the OpenTelemetry official documentation @bryce-b
  • Fix ActivityContextManager was retaining memory and was not being freed properly @nachoBonafonte in #349

URLSessionInstrumentation

  • Add Callback to Set Parent in URLSessionInstrumention by @gjeltep in #340

New Contributors

Full Changelog: 1.2.0...1.2.1

1.2.0

21 Oct 13:41
32845f6
Compare
Choose a tag to compare

General

  • Remove use of swift-atomics library, it made imposible to generate an xcframework with OpenTelemetrySdk. by @nachoBonafonte in #335

OpenTelemetryProtocol (OTLP) Exporter

  • Updated proto to v0.19, it should fix incompatibilities with previous collector versions by @vvydier in #336
  • (source code breaking change) Updated InstrumentationLibrary to InstrumentationScope by @vvydier and @bryce-b in #336

URLSessionInstrumentation

  • Fix memory leak reserved during initialization by @nachoBonafonte in #327
  • Updated net.peer and status code to be of Int type, following the spec by @bryce-b in #329

Full Changelog: 1.1.7...1.1.8

1.1.8

21 Oct 08:13
32845f6
Compare
Choose a tag to compare
1.1.8 Pre-release
Pre-release

⚠️ THIS VERSION INCLUDES A SOURCE CODE BREAKING CHANGE IT HAS BEEN RELABELED AS 1.2.0 ⚠️

General

  • Remove use of swift-atomics library, it made imposible to generate an xcframework with OpenTelemetrySdk. by @nachoBonafonte in #335

OpenTelemetryProtocol (OTLP) Exporter

  • Updated proto to v0.19, it should fix incompatibilities with previous collector versions by @vvydier in #336
  • (source code breaking change) Updated InstrumentationLibrary to InstrumentationScope by @vvydier and @bryce-b in #336

URLSessionInstrumentation

  • Fix memory leak reserved during initialization by @nachoBonafonte in #327
  • Updated net.peer and status code to be of Int type, following the spec by @bryce-b in #329

Full Changelog: 1.1.7...1.1.8