Releases: open-telemetry/opentelemetry-swift
1.4.1
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
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
- Fix a thread race condition in the adaptEvents method by @nachoBonafonte in #370
- Fix a thread race condition accessing totalRecordedEvents by @nachoBonafonte in #371
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
General
- Fix and automate testing on iOS by @lunij in #363
- Fix several build warnings by @emanuelschmoczer in #365
Logs
SDKResourceExtension
Examples
- Update Jaeger links to current version in Simple Exporter by @kevinearls in #367
New Contributors
- @lunij made their first contribution in #363
- @emanuelschmoczer made their first contribution in #365
- @kevinearls made their first contribution in #367
Full Changelog: 1.3.0...1.3.1
1.3.0
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
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
New Contributors
Full Changelog: 1.2.0...1.2.1
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
1.1.8
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.7
General
- Improves testability of EnvVarResource. by @BennettSmith in #324
Metrics
URLSessionInstrumentation
- Improve URLSessionInstrumentation loading time by @nachoBonafonte in #325
SDKResourceExtention
Full Changelog: 1.1.6...1.1.7
1.1.6
OpenTelemetryProtocol (OTLP) Exporter
- Updated proto to v0.18 by @trevor-dialpad in #322
- Export only metrics that have data (fixing an error in the OTLP collector) by @trevor-dialpad in #322
Full Changelog: 1.1.5...1.1.6
1.1.5
General
- Fixes compilation with swift 5.7 by @nachoBonafonte in #308
- Commented some flaky tests that failed randomly by @bryce-b in #317
Spans
- Fixes a thread race condition when exporting Span events by @nachoBonafonte in #319
OtlpTraceExporter
- Adds logger to OtlpTraceExporter init so GRPC calls can be logged. by @BennettSmith in #309
URLSessionInstrumentation
- Fixes a message about API misuse by @BennettSmith in #307
Full Changelog: 1.1.4...1.1.5