github.com/open-telemetry/opentelemetry-swift breaking changes
github.com/open-telemetry/opentelemetry-swift 3.0.0 (November 26, 2026) is its newest release with breaking changes, 5 of them. The first: Some semantic convention attributes are renamed or removed in github.com/open-telemetry/opentelemetry-swift 3.0.0. Every breaking API change we have recorded in github.com/open-telemetry/opentelemetry-swift on Swift Package Index: 39 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.0.0, released November 26, 2026. Source repository
- From 2.0.0 to 3.0.0: 5 breaking changes in 1 version.
- From 0.5.0 to 3.0.0: 30 breaking changes in 4 versions.
github.com/open-telemetry/opentelemetry-swift 3.0.0 breaking changes
- Removed
Code that reads or sets the old semantic convention attribute names must switch to the new names. github.com - Removed
Code that uses the removed deprecated attributes will break and must stop using them. github.com - Behavior changed
When the same metadata key is set in both places, the per-call value now wins over the handler value. github.com - Default changed
Log handlers that relied on the previous default provider now send logs through the global logger provider unless configured otherwise. github.com - Configuration changed
Enable the matching package trait to keep using those integrations, following the migration instructions in the updated README. github.com
github.com/open-telemetry/opentelemetry-swift 2.0.0 breaking changes
- Removed
The old metrics implementation was removed and replaced by StableMetrics. Code using the old metrics must move to StableMetrics. github.com - Renamed
RecordEventsReadableSpan
RecordEventsReadableSpan was renamed to SpanSdk. Update references to the new name. github.com
github.com/open-telemetry/opentelemetry-swift 1.0.0 breaking changes
- Removed
Binary propagation was removed because it is not defined in the specification. github.com - Removed
NoopSpanProcessor
NoopSpanProcessor is no longer public and code referencing it will not compile. github.com - Removed
Scope
The Scope class and its functionality were removed. Code using Scope must move to OpenTelemetryContextProvider. github.com - Removed
SpanBuilderSDK
SpanBuilderSDK is no longer public. Use SpanBuilder instead. github.com - Removed
TracerSDK
The TracerSDK constructor is no longer public. Obtain tracers through TracerProvider.getTracer() instead. github.com - Removed
TracerSharedState
TracerSharedState is no longer public. Its functionality is set through TracerProvider instead. github.com - Renamed
Some libraries tagged as experimental were renamed. Update package imports that reference them. github.com - Renamed
DefaultSpan
DefaultSpan is no longer public and was renamed to PropagatedSpan. Update references to use the new name. github.com - Renamed
DefaultSpanBuilder
DefaultSpanBuilder is no longer public and was renamed to PropagatedSpanBuilder. Update references to use the new name. github.com - Renamed
MeterSdkProvider
MeterSdkProvider was renamed to MeterProviderSdk. Update references to the new name. github.com
And 5 more in this version. Sign up to see every change
github.com/open-telemetry/opentelemetry-swift 0.6.0 breaking changes
- Removed
TraceState
The mutating functions of TraceState are no longer public and should not be called from user code. github.com - Renamed
IdsGenerator
Use the IdGenerator protocol in place of IdsGenerator. github.com - Renamed
Probability
Use TraceIdRatioBased in place of the Probability sampler. github.com - Renamed
TraceConfig
Use SpanLimits in place of TraceConfig. github.com - Default changed
SpanLimit
SpanLimit attribute names were updated and default values changed, so code relying on the old names or defaults must be adjusted. github.com - Signature changed
The Metrics API was refactored, so existing metrics code may need to be updated to the new API. github.com - Signature changed
Sampler
Sampler is now provided through TracerSharedState rather than where it was previously accessed. github.com - Signature changed
Status
Status changed from its previous form to an enum carrying a description for errors, so code that constructs or matches Status must be updated. github.com
github.com/open-telemetry/opentelemetry-swift 0.5.0 breaking changes
- Removed
TimedEvent
TimedEvent is removed. Event now always carries the timestamp property, so use Event instead. github.com - Renamed
CorrelationContext
CorrelationContext is renamed to Baggage, and other baggage APIs were updated. Update references to the new name. github.com - Behavior changed
Span status values are reworked to ok, error and unset. Code that relies on the old status values must be updated. github.com - Behavior changed
The collector exporter now follows OpenTelemetry protocol spec 0.6.0, which may change exported data. github.com - Default changed
Span status logic follows the spec, and unset is now the default status for spans. github.com - Default changed
The default maximum number of attributes, events and links is increased. Code relying on the old limits may behave differently. github.com - Signature changed
All logic and APIs now use Date instead of nanoseconds. Update code that passes or reads nanosecond timestamps. github.com - Signature changed
SpanData
Events and Links are defined as part of SpanData in the SDK. Update code that reads them from elsewhere. github.com - Signature changed
SpanProcessor.onStart
SpanProcessor.onStart() takes the parent Context as an argument. Update custom span processors to accept it. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.