Releases: open-telemetry/opentelemetry-swift
1.11.0
General
- Fix: Exposes OpenTelemetryConcurrency target by @NeedleInAJayStack in #592
- Fix: Added missing os version gates for Concurrency by @ypopovych in #584
- Bumps the swiftenv version to 5.10 by @NeedleInAJayStack in #606
- Created
OpenTelemetryApi
andOpenTelemetrySdk
podspecs by @ArielDemarco in #591
Tracing
- Fix: Make arguments of SpanBase's '==' of type Self by @clackary in #614
- Fix
SpanExceptionTests
on Linux by @brunnoferreira in #604 - Add
recordException
by @brunnoferreira in #599 - Avoid instrumenting background async tasks by @nachoBonafonte in #597
Metrics
- deprecated root interfaces for old metrics by @bryce-b in #619
- Fix: aggregation comparison by @brunnoferreira in #602
- Fix: Export max and min in Metric exporter for HistogramDataPoint by @nachoBonafonte in #601
New Contributors
- @NeedleInAJayStack made their first contribution in #592
- @brunnoferreira made their first contribution in #602
- @ArielDemarco made their first contribution in #591
- @clackary made their first contribution in #614
Full Changelog: 1.10.1...1.11.0
1.10.1
Tracing
- Fix putHttpStatusCode(statusCode: Int, reasonPhrase: String) by @HannesSteiner in #579
Metrics
- Set headers for request in HTTP Metric exporter by @redryerye in #533
- Set timeout for HTTP request in StableOtlpHttpMetricExporter by @redryerye in #534
- Fix thread race condition in SynchronousMetricStorage by @nachoBonafonte in #540
- Fixed concurrency crash by @mamunto in #554
URLSessionInstrumentation
- Updates URLSessionInstrumentation to check task.state before setting FakeDelegate by @atreat in #539
Exporters
- Allow Prometheus exporter to be used without HTTP server by @CallumTodd7 in #551
Instrumentation
- Added Swiftlog bridge by @khushijain21 in #558
- make public OTelLogHandler struct by @Code-Hex in #581
- Add Linux support via a TaskLocalContextManager by @semicoleon in #546
Other
- Adds StdoutLogExporter to match (renamed) StdoutSpanExporter by @atreat in #559
- fixed build for older Apple OS versions by @ypopovych in #580
New Contributors
- @alolita made their first contribution in #576
- @Code-Hex made their first contribution in #581
- @ypopovych made their first contribution in #580
- @HannesSteiner made their first contribution in #579
- @redryerye made their first contribution in #533
- @atreat made their first contribution in #539
- @CallumTodd7 made their first contribution in #551
- @mamunto made their first contribution in #554
- @semicoleon made their first contribution in #546
- @khushijain21 made their first contribution in #558
- @AkhigbeEromo made their first contribution in #558
Full Changelog: 1.9.2...1.10.1
1.10.0
Metrics
- Set headers for request in HTTP Metric exporter by @redryerye in #533
- Set timeout for HTTP request in StableOtlpHttpMetricExporter by @redryerye in #534
- Fix thread race condition in SynchronousMetricStorage by @nachoBonafonte in #540
- Fixed concurrency crash by @mamunto in #554
URLSessionInstrumentation
- Updates URLSessionInstrumentation to check task.state before setting FakeDelegate by @atreat in #539
Exporters
- Allow Prometheus exporter to be used without HTTP server by @CallumTodd7 in #551
Instrumentation
- Added Swiftlog bridge by @khushijain21 in #558
- Add Linux support via a TaskLocalContextManager by @semicoleon in #546
Other
New Contributors
- @redryerye made their first contribution in #533
- @atreat made their first contribution in #539
- @CallumTodd7 made their first contribution in #551
- @mamunto made their first contribution in #554
- @semicoleon made their first contribution in #546
- @khushijain21 made their first contribution in #558
- @AkhigbeEromo made their first contribution in #558
Full Changelog: 1.9.2...1.10.0
1.9.2
General
- Fix Typos and and Minor Code Adjustments by @aldoKelvianto in #515
- Updating root README.md with slack contacts by @crsantos in #520
Metrics
- Update attribute processor for stable metrics by @yangjian in #524
- Implement Exponential Histogram metrics by @jhoongo in #525
Logs
URLSessionInstrumentation
- Fix crash caused by automated URLSessionInstrumentation when used in combination with GoogleMaps SDK by @batuhansk in #523
OtlpHttpLogExporter
- Fix Headers were not being properly sent in OtlpHttpLogExporter by @nachoBonafonte in #513
New Contributors
- @itsniper made their first contribution in #504
- @aldoKelvianto made their first contribution in #515
- @crsantos made their first contribution in #520
- @yangjian made their first contribution in #524
Full Changelog: 1.9.1...1.9.2
1.9.1
1.9.0
Network instrumentation
- Fix instrumenting async-await network calls when running in certain system versions by @nachoBonafonte in #488
- updated network status attributes to match the semconv by @bryce-b in #501
Exporters
Context propogation
- Fixed removeContextValue function and added a Test testRemoveContextValuesFromSpan for it by @vvydier in #498
Logging
Other
- fixed the hard coding of sdk version by @vvydier in #485
- changed CFBundleShortVersionString to use sdk's version number by @vvydier in #491
Full Changelog: 1.8.0...1.9.0
1.8.0
Network instrumentation
- Include response length by default in the network spans by @nachoBonafonte in #464
- Library evolution support by @bryce-b in #482
Exporter
- Upgrade swift-nio-extras version to fix security issue. by @hunguyenaxon in #466
- StableOtlpHTTPExporter implementation by @jhoongo in #476
- Changing access control level for few methods in SpanAdapter by @vj4iosdev in #480
Stable metrics
- Allow the DoubleHistogramInstrument to record value by @hunguyenaxon in #473
- Fix the order of initialization between DoubleHistogram and LongHistogram by @hunguyenaxon in #474
- Allow async instrument to close via observable by @hunguyenaxon in #472
- Use the correct instrument type while creating aysnchronous instruments by @hunguyenaxon in #475
New Contributors
- @hunguyenaxon made their first contribution in #466
- @jhoongo made their first contribution in #476
Full Changelog: 1.7.0...1.8.0
1.7.0
Breaking Changes
- Bump minimum supported watchOS version by @sebastian-qm in #445
exporter
- Expanded exporter APIs to support explicit timeout. by @bryce-b in #460
- Fix: OTLP grpc call options were not using a timeout. by @bryce-b in #459
Network instrumentation
- Fix: fixed crash when auto instrumenting AVAsset download task by @nachoBonafonte in #452
- Avoid processing undesired network tasks by @nachoBonafonte in #458
New Contributors
- @sebastian-qm made their first contribution in #445
Full Changelog: 1.6.0...1.7.0
1.6.0
Breaking Changes
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)
New Contributors
- @andraskadar made their first contribution in #425
- @batuhansk made their first contribution in #443
- @mattxw made their first contribution in #446
Full Changelog: 1.5.1...1.6.0
1.5.1
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
- Fix support for Apple's swift-metrics version >= 2.4.0 by @nachoBonafonte in #419
Logs
- Add option to set the timestamp in LogRecordBuilder by @emanuelschmoczer in #411
Persistence
Full Changelog: 1.5.0...1.5.1