v0.60.0 Beta
🛑 Breaking changes 🛑
- Replace deprecated
*DataPoint.Flags()
with*DataPoint.[Set]FlagsImmutable()
. (#6017) - Remove deprecated
MetricDataPointFlagsStruct
struct andNewMetricDataPointFlagsStruct
func. (#6017) - Replace deprecated
MetricDataPointFlags
withMetricDataPointFlagsImmutable
. (#6017) - Replace deprecated
LogRecord.[Set]Flags()
withLogRecord.[Set]FlagsStruct()
. (#6007) - Remove deprecated components helpers funcs (#6006)
exporterhelper.New[Traces|Metrics|Logs]ExporterWithContext
processorhelper.New[Traces|Metrics|Logs]ProcessorWithCreateSettings
component.NewExtensionFactoryWithStabilityLevel
- Remove deprecated
pcommon.InvalidTraceID
andpcommon.InvalidSpanID
funcs (#6008) - Remove deprecated
pcommon.Map
methods:Update
,Upsert
,InsertNull
(#6019)
🚩 Deprecations 🚩
- Deprecate pmetric.Metric.SetDataType, in favor of empty setters for each type. (#5979)
- Deprecate
p[metric|log|trace].MarshalerSizer
in favor ofp[metric|log|trace].MarshalSizer
. (#6033) - Deprecate
pcommon.Map.Update+
in favor ofpcommon.Map.Get
+pcommon.Value.Set+
(#6013) - Deprecate
pcommon.Empty[Trace|Span]ID
in favor ofpcommon.New[Trace|Span]IDEmpty
(#6008) - Deprecate
pcommon.[Trace|Span]ID.Bytes
in favor direct conversion. (#6008) - Deprecate
pcommon.New[Trace|Span]ID
in favor direct conversion. (#6008) - Deprecate
MetricDataPointFlagsImmutable
type. (#6017) - Deprecate
*DataPoint.[Set]FlagsImmutable()
funcs in favor of*DataPoint.[Set]Flags()
. (#6017) - Deprecate
LogRecord.FlagsStruct()
andLogRecord.SetFlagsStruct()
in favor ofLogRecord.Flags()
andLogRecord.SetFlags()
. (#6007) - Deprecate
config.Unmarshallable
in favor ofconfmap.Unmarshaler
. (#6031) - Primitive slice wrapper are now mutable (#5971):
pcommon.ImmutableByteSlice
is deprecated in favor ofpcommon.ByteSlice
pcommon.ImmutableFloat64Slice
is deprecated in favor ofpcommon.Float64Slice
pcommon.ImmutableUInt64Slice
is deprecated in favor ofpcommon.UInt64Slice
- Temporarily deprecate
pcommon.NewValueBytes
that will be replaced withpcommon.NewValueBytesEmpty
in 0.60.0 - Deprecate
pcommon.Map.UpsertBytes
in favor ofpcommon.Map.PutEmptyBytes
(#6064) - Deprecate
pcommon.Value.SetBytesVal
in favor ofpcommon.Value.SetEmptyBytesVal
- Deprecate
pcommon.New[Slice|Map]FromRaw
functions in favor ofNew[Slice|Map]().FromRaw
(#6045)
- Deprecate
pcommon.Map.Insert*
methods (#6051) - Deprecate
pcommon.Map.Upsert*
methods in favor ofpcommon.Map.Put*
(#6064)
💡 Enhancements 💡
- Add
skip-get-modules
builder flag to support isolated environment executions (#6009)- Skip unnecessary Go binary path validation when the builder is used with
skip-compilation
andskip-get-modules
flags (#6026)
- Skip unnecessary Go binary path validation when the builder is used with
- Make the otlpreceiver support to use jsoniter to unmarshal JSON payloads. (#6040)
- Add mapstructure hook function for confmap.Unmarshaler interface (#6029)
- Add CopyTo and MoveTo methods to primitive slices (#6044)
- Add support to unmarshalls bytes into plogs.Logs with
jsoniter
in jsonUnmarshaler (#6021) - Instead of exiting,
ocb
now generates a default Collector when no build configuration is supplied (#5752)