OpenTelemetry - CNCF/opentelemetry-dotnet: Release core-1.5.1
Name: opentelemetry-dotnet
Owner: OpenTelemetry - CNCF
Release: 1.5.1
Released: 2023-06-26
License: Apache-2.0
Release Assets:
OpenTelemetry
Fixed a breaking change causing
LogRecord.State
to benull
where it was previously set to a valid value whenOpenTelemetryLoggerOptions.ParseStateValues
isfalse
and states implementIReadOnlyList
orIEnumerable
ofKeyValuePair<string, object>
s. (#4609)Breaking Change Removed the support for parsing
TState
types passed to theILogger.Log<TState>
API whenParseStateValues
is true andTState
does not implement eitherIReadOnlyList<KeyValuePair<string, object>>
orIEnumerable<KeyValuePair<string, object>>
. This feature was first introduced in the1.5.0
stable release with #4334 and has been removed because it makes the OpenTelemetry .NET SDK incompatible with native AOT. (#4614)