Debian Codegraph @

CHANGELOG-API.md

raw
1 <!-- This file is autogenerated. See CONTRIBUTING.md for instructions to add an entry. -->
2
3 # Go API Changelog
4
5 This changelog includes only developer-facing changes.
6 If you are looking for user-facing changes, check out [CHANGELOG.md](./CHANGELOG.md).
7
8 <!-- next version -->
9
10 ## v1.47.0/v0.141.0
11
12 ### 🛑 Breaking changes 🛑
13
14 - `pkg/config/configgrpc`: Replace `component.Host` parameter of ToServer/ToClientConn by map of extensions (#13640)
15 Components must now pass the map obtained from the host's `GetExtensions` method
16 instead of the host itself.
17
18 Nil may be used in tests where no middleware or authentication extensions are used.
19
20 - `pkg/config/confighttp`: Replace `component.Host` parameter of ToServer/ToClient by map of extensions (#13640)
21 Components must now pass the map obtained from the host's `GetExtensions` method
22 instead of the host itself.
23
24 Nil may be used in tests where no middleware or authentication extensions are used.
25
26
27 ### 🚩 Deprecations 🚩
28
29 - `pkg/pdata`: Deprecate profile.Duration() and profile.SetDuration() (#14188)
30
31 ### 💡 Enhancements 💡
32
33 - `pdata/pprofile`: Introduce `MergeTo` method (#14091)
34 - `pkg/pdata`: Add profile.DurationNano() and profile.SetDurationNano() (#14188)
35
36 <!-- previous-version -->
37
38 ## v1.46.0/v0.140.0
39
40 ### 🛑 Breaking changes 🛑
41
42 - `pdata/pprofile`: Upgrade the OTLP protobuf definitions to version 1.9.0 (#14128)
43 * Drop field `CommentStrindices` in `Profile`.
44 * Rename `Sample` to `Samples` in `Profile`.
45 * Rename `Line` to `Lines` in `Location`.
46 * Remove `AggregationTemporality` field in `ValueType`.
47
48 See https://github.com/open-telemetry/opentelemetry-proto/releases/tag/v1.9.0
49
50 - `pkg/otelcol`: The `otelcol.Factories.Telemetry` field is now required (#14003)
51 Previously if this field was not set, then it would default to an otelconftelemetry factory.
52 Callers of the otelcol package must now set the field explicitly.
53
54
55 ### 💡 Enhancements 💡
56
57 - `pkg/pdata`: Upgrade the OTLP protobuf definitions to version 1.9.0 (#14128)
58
59 <!-- previous-version -->
60
61 ## v1.45.0/v0.139.0
62
63 ### 🛑 Breaking changes 🛑
64
65 - `all`: Change type of `configgrpc.ClientConfig.Headers`, `confighttp.ClientConfig.Headers`, and `confighttp.ServerConfig.ResponseHeaders` (#13930)
66 `configopaque.MapList` is a new alternative to `map[string]configopaque.String` which can unmarshal
67 both maps and lists of name/value pairs.
68
69 For example, if `headers` is a field of type `configopaque.MapList`,
70 then the following YAML configs will unmarshal to the same thing:
71 ```yaml
72 headers:
73 "foo": "bar"
74
75 headers:
76 - name: "foo"
77 value: "bar"
78 ```
79
80 - `pdata/pprofile`: Update `SetFunction` to return the function's ID rather than update the Line (#14016, #14032)
81 - `pdata/pprofile`: Update `SetLink` to return the link's ID rather than update the Sample (#14016, #14031)
82 - `pdata/pprofile`: Update `SetMapping` to return the mapping's ID rather than update the Location (#14016, #14030)
83 - `pkg/otelcol`: Require a telemetry factory to be injected through otelcol.Factories (#4970)
84 otelcol.Factories now has a required Telemetry field,
85 which contains the telemetry factory to be used by the service.
86 Set it to otelconftelemetry.NewFactory() for the existing behavior.
87
88 - `pkg/pdata`: Remove unused generated code from pprofile (#14073)
89 Experimental package, ok to break since not used.
90
91 ### 💡 Enhancements 💡
92
93 - `pdata/pprofile`: Introduce `SetStack` method (#14007)
94 - `pdata/xpdata`: Add high-level Entity API for managing entities attached to resources (#14042)
95 Introduces `Entity`, `EntitySlice`, and `EntityAttributeMap` types that provide a user-friendly interface
96 for working with resource entities. The new API ensures consistency between entity and resource attributes
97 by sharing the underlying attribute map, and prevents attribute conflicts between entities. This API may
98 eventually replace the generated protobuf-based API for better usability.
99
100
101 ### 🧰 Bug fixes 🧰
102
103 - `cmd/mdatagen`: Fix mdatagen generated_metrics for connectors (#12402)
104
105 <!-- previous-version -->
106
107 ## v1.44.0/v0.138.0
108
109 ### 🛑 Breaking changes 🛑
110
111 - `pkg/xexporterhelper`: Remove definition of Sizer from public API and ability to configure. (#14001)
112 Now that Request has both Items/Bytes sizes no need to allow custom sizers.
113
114 - `pkg/service`: The `service.Settings` type now requires a `telemetry.Factory` to be provided (#4970)
115
116 ### 🚩 Deprecations 🚩
117
118 - `pdata/pprofile`: Deprecated `PutAttribute` helper method (#14016, #14041)
119 - `pdata/pprofile`: Deprecated `PutLocation` helper method (#14019)
120
121 ### 💡 Enhancements 💡
122
123 - `all`: Add `keep_alives_enabled` option to ServerConfig to control HTTP keep-alives for all components that create an HTTP server. (#13783)
124 - `pkg/pdata`: Add pcommon.Map helper to add a key to the map if does not exists (#14023)
125 - `pdata/pprofile`: Introduce `Equal` method on the `KeyValueAndUnit` type (#14041)
126 - `pkg/pdata`: Add `RemoveIf` method to primitive slice types (StringSlice, Int64Slice, UInt64Slice, Float64Slice, Int32Slice, ByteSlice) (#14027)
127 - `pdata/pprofile`: Introduce `SetAttribute` helper method (#14016, #14041)
128 - `pdata/pprofile`: Introduce `SetLocation` helper method (#14019)
129 - `pdata/pprofile`: Introduce `Equal` method on the `Stack` type (#13952)
130
131 <!-- previous-version -->
132
133 ## v1.43.0/v0.137.0
134
135 ### 🛑 Breaking changes 🛑
136
137 - `pkg/exporterhelper`: Remove all experimental symbols in exporterhelper (#11143)
138 They have all been moved to xexporterhelper
139
140
141 ### 🚩 Deprecations 🚩
142
143 - `all`: service/telemetry.TracesConfig is deprecated (#13904)
144 This type alias has been added to otelconftelemetry.TracesConfig,
145 where the otelconf-based telemetry implementation now lives.
146
147
148 ### 💡 Enhancements 💡
149
150 - `all`: Mark configoptional as stable (#13403)
151 - `all`: Mark configauth module as 1.0 (#9476)
152 - `pkg/pdata`: Mark featuregate pdata.useCustomProtoEncoding as stable (#13883)
153
154 <!-- previous-version -->
155
156 ## v1.42.0/v0.136.0
157
158 ### 🛑 Breaking changes 🛑
159
160 - `exporterhelper`: Remove deprecated function NewRequestsSizer (#13803)
161 - `pdata/pprofile`: Upgrade the OTLP protobuf definitions to version 1.8.0 (#13758, #13825, #13839)
162 - `pdata/pprofile`: Remove deprecated ProfilesDictionary method (#13858)
163
164 ### 🚩 Deprecations 🚩
165
166 - `exporterhelper`: Deprecate all experimental symbols in exporterhelper and move them to xexporterhelper (#11143)
167
168 ### 💡 Enhancements 💡
169
170 - `configoptional`: Add `GetOrInsertDefault` method to `configoptional.Optional` (#13856)
171 This method inserts a default or zero value into a `None`/`Default` `Optional` before `Get`ting its inner value.
172
173 - `exporter`: Stabilize exporter module. (#12978)
174 This does not stabilize the exporterhelper module or configuration
175 - `pdata`: Upgrade the OTLP protobuf definitions to version 1.8.0 (#13758)
176
177 <!-- previous-version -->
178
179 ## v1.41.0/v0.135.0
180
181 ### 🛑 Breaking changes 🛑
182
183 - `pdata/pprofile`: Remove deprecated AddAttribute method (#13764)
184
185 ### 💡 Enhancements 💡
186
187 - `configmiddleware`: Stabilize `configmiddleware` module (#13422)
188 This only stabilizes the configuration interface but does not stabilize the middlewares themselves or the way of implementing them.
189 - `xpdata`: Add experimental MapBuilder struct to optimize pcommon.Map construction (#13617)
190
191 <!-- previous-version -->
192
193 ## v1.40.0/v0.134.0
194
195 ### 💡 Enhancements 💡
196
197 - `exporterhelper`: Split exporterhelper into a separate module (#12985)
198
199 <!-- previous-version -->
200
201 ## v1.39.0/v0.133.0
202
203 ### 🛑 Breaking changes 🛑
204
205 - `configgrpc`: Set `tcp` as the default transport type (#13657)
206 gRPC is generally used with HTTP/2, so this will simplify usage for most components.
207
208 ### 🚩 Deprecations 🚩
209
210 - `pdata/pprofile`: Deprecate Profiles.ProfilesDictionary in favor of Profiles.Dictionary. (#13644)
211
212 ### 💡 Enhancements 💡
213
214 - `pdata`: Add support for local memory pooling for data objects. (#13678)
215 This is still an early experimental (alpha) feature. Do not recommended to be used production. To enable use "--featuregate=+pdata.useProtoPooling"
216
217 ### 🧰 Bug fixes 🧰
218
219 - `configoptional`: Allow validating nested types (#13579)
220 `configoptional.Optional` now implements `xconfmap.Validator`
221
222 <!-- previous-version -->
223
224 ## v1.38.0/v0.132.0
225
226 ### 🛑 Breaking changes 🛑
227
228 - `componenttest`: Remove `GetFactory` from the host returned by `NewNopHost` (#13577)
229 This method is no longer part of the `component.Host` interface.
230
231 ### 💡 Enhancements 💡
232
233 - `exporterhelper`: Provide an interface `queue_batch.Setting.MergeCtx` so users can control how context values are preserved or combined (#13320)
234 By supplying a custom mergeCtx function, users can control how context values are preserved or combined.
235 The default behavior is to preserve no context values.
236
237 - `pdata`: Generate Logs/Traces/Metrics/Profiles and p[log|trace|metric|profile]ExportResponse with pdatagen. (#13597)
238 This change brings consistency on how these structs are written and remove JSON marshaling/unmarshaling hand written logic.
239 - `pdata`: Avoid unnecessary buffer copy when JSON marshal fails. (#13598)
240 - `pipeline`: Mark module as stable (#12831)
241
242 <!-- previous-version -->
243
244 ## v1.37.0/v0.131.0
245
246 ### 🛑 Breaking changes 🛑
247
248 - `configgrpc`: Update optional fields to use `configoptional.Optional` field for optional values. (#13252, #13364)
249 Specifically, the following fields have been updated to `configoptional`:
250 - `KeepaliveServerConfig.ServerParameters` (`KeepaliveServerParameters` type)
251 - `KeepaliveServerConfig.EnforcementPolicy` (`KeepaliveEnforcementPolicy` type)
252
253 - `xexporterhelper`: Remove deprecated NewProfilesExporter function from xexporterhelper package (#13391)
254
255 ### 💡 Enhancements 💡
256
257 - `consumererror`: Add new "Downstream" error marker (#13234)
258 This new error wrapper type indicates that the error returned by a component's
259 `Consume` method is not an internal failure of the component, but instead
260 was passed through from another component further downstream.
261 This is used internally by the new pipeline instrumentation feature to
262 determine the `outcome` of a component call. This wrapper is not intended to
263 be used by components directly.
264
265 - `pdata/pprofile`: Introduce `Equal` method on the `Function` type (#13222)
266 - `pdata/pprofile`: Introduce `Equal` method on the `Link` type (#13223)
267 - `pdata/pprofile`: Add new helper method `SetFunction` to set a new function on a line. (#13222)
268 - `pdata/pprofile`: Add new helper method `SetLink` to set a new link on a sample. (#13223)
269 - `pdata/pprofile`: Add new helper method `SetString` to set or retrieve the index of a value in the StringTable. (#13225)
270
271 <!-- previous-version -->
272
273 ## v1.36.1/v0.130.1
274
275 <!-- previous-version -->
276
277 No API-only changes in this release.
278
279 ## v1.36.0/v0.130.0
280
281 ### 🛑 Breaking changes 🛑
282
283 - `exporterhelper`: Use configoptional for sending_queue::batch field (#13345)
284 - `configgrpc`: Update optional fields to use `configoptional.Optional` field for optional values. (#13250, #13252)
285 Components using `configgrpc` package may need to update config values.
286 - `confighttp`: Use configoptional.Optional in confighttp (#9478)
287 - `exporterhelper`: Remove sizer map in favor of items/bytes sizers. Request based is automatically supported. (#13262)
288 - `pdata/pprofile`: Remove field Profile.StartTime from pdata/pprofile (#13315)
289 Remove Profile.StartTime from OTel Profiling signal.
290 - `exporterhelper`: Remove deprecated old batcher config (#13003)
291 - `exporter/otlp`: Remove deprecated batcher config from OTLP, use queuebatch (#13339)
292
293 ### 🚩 Deprecations 🚩
294
295 - `exporterhelper`: Deprecate NewRequestsSizer always supported. (#13262)
296 - `xexporterhelper`: Introduce NewProfiles method and deprecate NewProfilesExporter (#13372)
297
298 ### 💡 Enhancements 💡
299
300 - `consumererror`: Add `Error` type (#7047)
301 This type can contain information about errors that allow components (e.g. exporters)
302 to communicate error information back up the pipeline.
303
304 - `pdata`: Document that changing pcommon.Map (Remove/removeIf/Put*) invalidates Value references obtained via Get. (#13073)
305 - `cmd/mdatagen`: Add support for optional attribute (#12571)
306 - `exporterhelper`: Add support to configure a different Sizer for the batcher than the queue (#13313)
307 - `pdata`: Add support for the new resource-entity reference API as part of the experimental xpdata package. (#13264)
308
309 <!-- previous-version -->
310
311 ## v1.35.0/v0.129.0
312
313 ### 🛑 Breaking changes 🛑
314
315 - `semconv`: Removing deprecated semconv package (#13071)
316 - `configgrpc,confighttp`: Unify return type of `NewDefault*Config` functions to return a struct instead of a pointer. (#13169)
317 - `exporterhelper`: QueueBatchEncoding interface is changed to support marshaling and unmarshaling of request context. (#13188)
318
319 ### 💡 Enhancements 💡
320
321 - `pdata/pprofile`: Introduce `Equal` method on the `Mapping` type (#13197)
322 - `configoptional`: Make unmarshaling into `None[T]` work the same as unmarshaling into `(*T)(nil)`. (#13168)
323 - `configoptional`: Add a confmap.Marshaler implementation for configoptional.Optional (#13196)
324 - `pdata/pprofile`: Introduce `Equal` methods on the `Line` and `Location` types (#13150)
325 - `pdata/pprofile`: Add new helper method `SetMapping` to set a new mapping on a location. (#13197)
326
327 ### 🧰 Bug fixes 🧰
328
329 - `confmap`: Distinguish between empty and nil values when marshaling `confmap.Conf` structs. (#13196)
330
331 <!-- previous-version -->
332
333 ## v1.34.0/v0.128.0
334
335 ### 🛑 Breaking changes 🛑
336
337 - `exporterhelper`: Remove deprecated NewProfilesRequestExporter function from xexporterhelper package (#13157)
338 - `confighttp`: Remove pointer to field `cookies` in confighttp.ClientConfig (#13116)
339 - `otlpreceiver`: Use `configoptional.Optional` to define optional configuration sections in the OTLP receiver. Remove `Unmarshal` method. (#13119)
340 - `confighttp,configgrpc`: Rename `ClientConfig.TLSSetting` and `ServerConfig.TLSSetting` to `ClientConfig.TLS` and `ServerConfig.TLS`. (#13115)
341 - `pdata/pprofile`: Upgrade the OTLP protobuf definitions to version 1.7.0 (#13075)
342 Note that the batcher is temporarily a noop.
343 - `pipeline`: Remove deprecated MustNewID[WithName] (#13139)
344
345 ### 🚀 New components 🚀
346
347 - `configoptional`: Add a new configoptional module to support optional configuration fields. (#12981)
348
349 ### 💡 Enhancements 💡
350
351 - `pdata`: Introduce `MoveAndAppendTo` methods to the generated primitive slices (#13074)
352 - `pdata`: Upgrade the OTLP protobuf definitions to version 1.7.0 (#13075)
353
354 ### 🧰 Bug fixes 🧰
355
356 - `confmap`: Correctly distinguish between `nil` and empty map values on the `ToStringMap` method (#13161)
357 This means that `ToStringMap()` method can now return a nil map if the original value was `nil`.
358 If you were not doing so already, make sure to check for `nil` before writing to the map to avoid panics.
359
360 - `confighttp`: Make the `NewDefaultServerConfig` function return a nil TLS config by default. (#13129)
361 - The previous default was a TLS config with no certificates, which would fail at runtime.
362
363
364 <!-- previous-version -->
365
366 ## v1.33.0/v0.127.0
367
368 ### 🛑 Breaking changes 🛑
369
370 - `mdatagen`: Add context parameter for recording event to set traceID and spanID (#12571)
371 - `otlpreceiver`: Use wrapper type for URL paths (#13046)
372
373 ### 🚩 Deprecations 🚩
374
375 - `pipeline`: Deprecate MustNewID and MustNewIDWithName (#12831)
376 - `pdata/profile`: Replace AddAttribute with the PutAttribute helper method to modify the content of attributable records. (#12798)
377
378 ### 💡 Enhancements 💡
379
380 - `consumer/consumertest`: Add context to sinks (#13039)
381 - `cmd/mdatagen`: Add events in generated documentation (#12571)
382 - `confmap`: Add a `Conf.Delete` method to remove a path from the configuration map. (#13064)
383 - `confmap`: Support running Unmarshal hooks on nil values. (#12981)
384
385 <!-- previous-version -->
386
387 ## v1.32.0/v0.126.0
388
389 ### 🚩 Deprecations 🚩
390
391 - `configauth`: Deprecate `configauth.Authentication` in favor of `configauth.Config`. (#12875)
392
393 ### 💡 Enhancements 💡
394
395 - `cmd/mdatagen`: Add type definition for events in mdatagen (#12571)
396 - `cmd/mdatagen`: Add functions for processing structured events in mdatagen (#12571)
397
398 <!-- previous-version -->
399
400 ## v1.31.0/v0.125.0
401
402 ### 🚩 Deprecations 🚩
403
404 - `extensionauthtest`: Deprecate NewErrorClient in favor of NewErrClient. (#12874)
405
406 ### 💡 Enhancements 💡
407
408 - `xextension/storage`: ErrStorageFull error added to xextension/storage contract (#12925)
409 - `pdata`: Add MoveTo to pcommon.Value, only type missing this (#12877)
410
411 ### 🧰 Bug fixes 🧰
412
413 - `pdata`: Fix MoveTo when moving to the same destination (#12887)
414
415 <!-- previous-version -->
416
417 ## v1.30.0/v0.124.0
418
419 ### 🛑 Breaking changes 🛑
420
421 - `exporterbatcher`: Remove deprecated package exporterbatcher (#12780)
422 - `exporterqueue`: Remove deprecated package exporterqueue (#12779)
423
424 ### 💡 Enhancements 💡
425
426 - `mdatagen`: Add variable for metric name in mdatagen (#12459)
427 Access metric name via `metadata.MetricsInfo.<metric-variable>.Name`
428 - `client`: Add support for iterating over client metadata keys (#12804)
429 - `service`: Adds the GetFactory interface to the hostcapabilities package (#12789)
430 - `cmd/mdatagen`: Add the foundational changes necessary for supporting logs data in `mdatagen` (#12571)
431
432 <!-- previous-version -->
433
434 ## v1.29.0/v0.123.0
435
436 ### 🛑 Breaking changes 🛑
437
438 - `otlpreceiver/otlpexporter/otlphttpexporter`: Avoid using go embedded messages in Config (#12718)
439 - `exporterqueue`: Move Queue interface to internal, disallow alternative implementations (#12680)
440 - `extensionauth, configauth`: Remove deprecated types and functions from `extensionauth` and `configauth` packages. (#12672)
441 This includes:
442 - `extensionauth.NewClient`,
443 - `extensionauth.ClientOption` and all its implementations,
444 - `extensionauth.NewServer`,
445 - `extensionauth.ServerOption` and all its implementations and
446 - `configauth.Authenticator.GetClientAuthenticator`.
447
448 - `exporterhelper`: Remove deprecated converter types from exporterhelper (#12686)
449 - `exporterbatch`: Remove deprecated fields `min_size_items` and `max_size_items` from batch config. (#12684)
450
451 ### 🚩 Deprecations 🚩
452
453 - `exporterhelper`: Deprecate BatcherConfig, SizeConfig and WithBatcher in favor of the new QueueBatchConfig. (#12748)
454 - `exporterbatcher`: Deprecated Config, SizeConfig, SizerType, SizerType[Requests|Items|Bytes], NewDefaultConfig. Use alias from exporterhelper. (#12707)
455 - `exporterqueue`: Deprecated Config, NewDefaultConfig, Encoding, ErrQueueFull. Use alias from exporterhelper. (#12706)
456 - `exporterhelper`: Deprecate exporterhelper WithRequestQueue in favor of WithQueueBatch (#12679)
457 - `exporterhelper`: Deprecate `QueueConfig` in favor of `QueueBatchConfig`. (#12746)
458
459 ### 💡 Enhancements 💡
460
461 - `extensionauth`: Mark module as stable (#11006)
462 - `processor`: Mark module as stable. (#12677)
463 - `processorhelper`: Split processorhelper into a separate module. (#12678)
464
465 <!-- previous-version -->
466
467 ## v1.28.1/v0.122.1
468
469 <!-- previous-version -->
470
471 ## v1.28.0/v0.122.0
472
473 ### 🛑 Breaking changes 🛑
474
475 - `auth, authtest`: Remove deprecated modules extension/auth and extension/auth/authtest (#12543)
476 Use extension/extensionauth and extension/extensionauth/extensionauthtest instead.
477
478 - `extensionauth`: Remove deprecated methods from the `Func` types. (#12547)
479 - `extensiontest, connectortest, processortest, receivertest, scrapertest, exportertest`: Remove deprecated `NewNopSettingsWithType` functions, use `NewNopSettings` instead. (#12221)
480 - `extensionauthtest`: Remove the `extensionauthtest.MockClient` struct. (#12567)
481 - Use `extensionauthtest.NewNopClient` to create a client with a noop implementation.
482 - Use `extensionauthtest.NewErrorClient` to create a client that always returns an error.
483 - Implement the `extensionauth` interfaces for custom mock client implementations.
484
485 - `component/componenttest`: Remove the deprecated componenttest.TestTelemetry in favor of componenttest.Telemetry (#12419)
486 - `exporterhelper`: Remove the Request.Export function in favor of an equivalent request consume func in the New[Traces|Metrics|Logs|Profiles]Request (#12637)
487
488 ### 🚩 Deprecations 🚩
489
490 - `exporterhelper`: Deprecate per signal converter in favor of generic version (#12631)
491 - `extensionauth`: Deprecate `extensionauth.NewClient` and `extensionauth.NewServer`. (#12574)
492 - Manually implement the interfaces instead.
493
494 - `configauth`: Deprecate `configauth.Authenticator.GetClientAuthenticator`. (#12574)
495 - Use the per-protocol methods instead.
496
497
498 ### 🚀 New components 🚀
499
500 - `receiverhelper`: Split `receiverhelper` into a separate module (#28328)
501
502 ### 💡 Enhancements 💡
503
504 - `cmd/mdatagen`: Add `supportsSignal` func for `Metadata` type in `mdatagen`. (#12640)
505 - `receiver`: Mark module as stable (#12513)
506 - `pdata/pcommon`: Introduce `Equal()` method for comparison equality to `Value`, `ByteSlice`, `Float64Slice`, `Int32Slice`, `Int64Slice`, `StringSlice`, `Uint64Slice`, `Map` and `Slice` (#12594)
507 - `pdata`: Add iterator All method to pdata slices and map types. (#11982)
508 - `pdata/pprofile`: Introduce AddAttribute helper method to modify the content of attributable records (#12206)
509
510 <!-- previous-version -->
511
512 ## v1.27.0/v0.121.0
513
514 ### 🛑 Breaking changes 🛑
515
516 - `exporterqueue`: Remove exporterqueue.Factory in favor of the NewQueue function, and merge configs for memory and persistent. (#12509)
517 As a side effect of this change, no alternative implementation of the queue are supported and the Queue interface will be hidden.
518 - `exporterhelper`: Update MergeSplit function signature to use the new SizeConfig (#12486)
519 - `extension, connector, processor, receiver, exporter, scraper`: Remove deprecated `Create*` methods from `Create*Func` types. (#12305)
520 The `xconnector.CreateMetricsToProfilesFunc.CreateMetricsToProfiles` method has been removed without a deprecation.
521
522 - `component`: Remove deprecated function and interface `ConfigValidator` and `ValidateConfig`. (#11524)
523 - Use `xconfmap.Validator` and `xconfmap.Validate` instead.
524
525 - `receiver, scraper, processor, exporter, extension`: Remove deprecated MakeFactoryMap functions in favor of generic implementation (#12222)
526 - `exporterhelper`: Change the signature of the exporterhelper.WithQueueRequest to accept Encoding instead of the Factory. (#12509)
527 - `component/componenttest`: Removing the deprecated `CheckReceiverMetrics` and `CheckReceiverTraces` functions. (#12185)
528
529 ### 🚩 Deprecations 🚩
530
531 - `componenttest`: Deprecated componenttest.TestTelemetry in favor of componenttest.Telemetry (#12419)
532 - `connector, exporter, extension, processor, receiver, scraper`: Add type parameter to `NewNopSettings` and deprecate `NewNopSettingsWithType` (#12305)
533 - `exporterhelper`: Deprecate MinSizeConfig and MaxSizeItems. (#12486)
534 - `extension/extensionauth`: Deprecate methods on `*Func` types. (#12480)
535 - `extension/auth, extension/auth/authtest`: Deprecate extension/auth and the related test module in favor of extension/extensionauth (#12478)
536
537 ### 🚀 New components 🚀
538
539 - `service/hostcapabilities`: create `service/hostcapabilities` module (#12296, #12375)
540 Removes getExporters interface in service/internal/graph.
541 Removes getModuleInfos interface in service/internal/graph.
542 Creates interface ExposeExporters in service/hostcapabilities to expose GetExporters function.
543 Creates interface ModuleInfo in service/hostcapabilities to expose GetModuleInfos function.
544
545
546 ### 💡 Enhancements 💡
547
548 - `exporterhelper`: Adds the config API to support serialized bytes based batching (#3262)
549 - `configauth`: Add the `omitempty` mapstructure tag to struct fields (#12191)
550 This results in unset fields not being rendered when marshaling.
551 - `confighttp`: Add the `omitempty` mapstructure tag to struct fields (#12191)
552 This results in unset fields not being rendered when marshaling.
553 - `otelcol`: Converters are now available in the `components` command. (#11900, #12385)
554 - `extension`: Mark module as stable (#11005)
555 - `pcommon.Map`: preallocate go map in Map.AsRaw() (#12406)
556 - `exporterhelper`: Stabilize exporter.UsePullingBasedExporterQueueBatcher and remove old batch sender (#12425)
557 - `service`: Add the `omitempty` mapstructure tag to struct fields (#12191)
558 This results in unset fields not being rendered when marshaling.
559
560 ### 🧰 Bug fixes 🧰
561
562 - `mdatagen`: Fix broken imports in the generated files. (#12298)
563 - `processor, connector, exporter, receiver`: Explicitly error out at component creation time if there is a type mismatch. (#12305)
564
565 ## v1.26.0/v0.120.0
566
567 ### 🛑 Breaking changes 🛑
568
569 - `configauth`: Remove NewDefaultAuthentication (#12223)
570 The value returned by this function will always cause an error on startup.
571 In `configgrpc.Client/ServerConfig.Auth`, `nil` should be used instead to disable authentication.
572
573 - `otelcol`: Make the `ConfigProvider` interface a struct (#12297)
574 Calls to `NewConfigProvider` will now return `*ConfigProvider`,
575 but will otherwise work the same as before.
576
577 - `extension`: Remove `extension.Settings.ModuleInfo` (#12296)
578 - The functionality is now available as an optional, hidden interface on `service`'s implementation of the `Host`
579
580 - `component`: Remove deprecated field `component.TelemetrySettings.MetricsLevel`. (#11061)
581 - `confighttp`: Add `ToClientOption` type and add it to signature of `ToClient` method. (#12353)
582 - This has no use for now, it may be used in the future.
583
584 - `mdatagen`: Remove unused not_component config for mdatagen (#12237)
585
586 ### 🚩 Deprecations 🚩
587
588 - `component/componenttest`: Deprecate CheckReceiverMetrics in componenttest (#12185)
589 Use the `metadatatest.AssertEqualMetric` series of functions instead of `obsreporttest.CheckReceiverMetrics`
590 - `component/componenttest`: Deprecate CheckReceiverTraces in componenttest (#12185)
591 Use the `metadatatest.AssertEqualMetric` series of functions instead of `obsreporttest.CheckReceiverTraces`
592 - `component`: Deprecate `ConfigValidator` and `ValidateConfig` (#11524)
593 Please use `Validator` and `Validate` respectively from `xconfmap`.
594 - `receiver, scraper, processor, exporter, extension`: Deprecate existing MakeFactoryMap functions in favor of generic implementation (#12222)
595 - `extension, connector, processor, receiver, exporter, scraper`: Deprecate `Create*` methods from `Create*Func` types. (#12305)
596 - `extensiontest, connectortest, processortest, receivertest, exportertest, scrapertest`: Deprecate `*test.NewNopSettings` in favor of `*test.NewNopSettingsWithType` (#12305)
597
598 ### 🚀 New components 🚀
599
600 - `xconfmap`: Create the xconfmap module and add the `Validator` interface and `Validate` function to facilitate config validation (#11524)
601
602 ### 💡 Enhancements 💡
603
604 - `configgrpc`: Add the `omitempty` mapstructure tag to struct fields (#12191)
605 This results in unset fields not being rendered when marshaling.
606 - `confignet`: Add the `omitempty` mapstructure tag to struct fields (#12191)
607 This results in unset fields not being rendered when marshaling.
608 - `configtls`: Add the `omitempty` mapstructure tag to struct fields (#12191)
609 This results in unset fields not being rendered when marshaling.
610 - `consumer`: Clarify that data cannot be accessed after Consume* func is called. (#12284)
611 - `pdata/pprofile`: Introduce aggregation temporality constants (#12253)
612
613 ### 🧰 Bug fixes 🧰
614
615 - `configgrpc`: Apply configured Headers automatically (#12307)
616 configgrpc now calls metadata.AppendToOutgoingContext automatically in an interceptor.
617 Components that were manually using metadata.NewOutgoingContext as a workaround no longer need to
618 do so, unless they are overwriting or adding header keys.
619
620 - `configgrpc`: Set Auth to nil in NewDefaultClientConfig/NewDefaultServerConfig (#12223)
621 The value that was used previously would always cause an error on startup.
622
623 - `exporterqueue`: Fix async queue to propagate cancellation all they way to the queue (#12282)
624 - `otlpreceiver`: Fix OTLP http receiver to correctly set Retry-After (#12367)
625 - `extension`: Explicitly error out at extension creation time if there is a type mismatch. (#12305)
626
627 ## v1.25.0/v0.119.0
628
629 ### 🛑 Breaking changes 🛑
630
631 - `exporterhelper`: Change queue to embed the async consumers. (#12242)
632 - `exporterqueue`: Change Queue interface to return a callback instead of an index (#8122)
633 - `cmd/mdatagen`: Allow passing OTel Metric SDK options to the generated `SetupTelemetry` function. (#12166)
634 - `exporterhelper`: Rename exporter span signal specific attributes (e.g. "sent_spans" / "send_failed_span") to "items.sent" / "items.failed". (#12165)
635 - `component`: Change underlying type for `component.Kind` to be a struct. (#12214)
636 - `extension`: Change `extension.Extension` to be an interface that embeds `component.Component` instead of an alias (#11443)
637 - `component/componenttest`: Remove deprecated `CheckScraperMetrics` functions (#12183)
638 - `scraperhelper`: Remove deprecated ScrapperControllerOption and NewScraperControllerMetrics from scraperhelper. (#12147)
639
640 ### 🚩 Deprecations 🚩
641
642 - `metadatatest`: Deprecate metadatatest.Telemetry in favor of componenttest.Telemetry (#12218)
643 metadatatest.Telemetry -> componenttest.Telemetry |
644 metadatatest.SetupTelemetry -> componenttest.NewTelemetry |
645 metadatatest.Telemetry.NewSettings -> metadatatest.NewSettings |
646 metadatatest.Telemetry.AssertMetrics -> metadatatest.AssertEqual* |
647
648 - `component/componenttest`: Deprecate `CheckExporterEnqueue*` functions in componenttest (#12185)
649 Use the `metadatatest.AssertEqualMetric` series of functions instead of `obsreporttest.CheckExporterEnqueue*` functions.
650 - `component/componenttest`: Deprecate CheckExporterLogs in componenttest (#12185)
651 Use the `metadatatest.AssertEqualMetric` series of functions instead of `obsreporttest.CheckExporterLogs`
652 - `component/componenttest`: Deprecate CheckExporterMetricGauge in componenttest (#12185)
653 Use the `metadatatest.AssertEqualMetric` series of functions instead of `obsreporttest.CheckReceiverMetricGauge`
654 - `component/componenttest`: Deprecate CheckExporterMetrics in componenttest (#12185)
655 Use the `metadatatest.AssertEqualMetric` series of functions instead of `obsreporttest.CheckExporterMetrics`
656 - `component/componenttest`: Deprecate CheckExporterTraces in componenttest (#12185)
657 Use the `metadatatest.AssertEqualMetric` series of functions instead of `obsreporttest.CheckExporterTraces`
658 - `component/componenttest`: Deprecate CheckReceiverLogs in componenttest (#12185)
659 Use the `metadatatest.AssertEqualMetric` series of functions instead of `obsreporttest.CheckReceiverLogs`
660 - `mdatagen`: Make registration of callback for async metric always optional. (#12204)
661 Deprecate `metadata.TelemetryBuilder.Init*` and `metadata.With*Callback` in favor of `metadata.TelemetryBuilder.Register*Callback`
662 - `component`: Deprecate `component.TelemetrySettings.MetricsLevel` in favor of using views and 'Enabled' method. (#12159)
663 - Components will temporarily need the service to support using views.
664
665
666 ### 💡 Enhancements 💡
667
668 - `componenttest`: Add helper to get a metric for componenttest.Telemetry (#12215)
669 - `componenttest`: Extract componenttest.Telemetry as generic struct for telemetry testing (#12151)
670 - `mdatagen`: Generate assert function for each metric in mdatagen (#12179)
671 - `metadatatest`: Generate NewSettings that accepts componenttest.Telemetry (#12216)
672 - `pdata/pprofile`: Add new helper method `FromAttributeIndices` to build a `pcommon.Map` out of `AttributeIndices`. (#12176)
673 - `scraper`: Support logs scraper (#12116)
674 - `component`: Allow `component.ValidateConfig` to recurse through all fields in a config object (#11524)
675 - `component`: Show path to invalid config in errors returned from `component.ValidateConfig` (#12108)
676
677 ### 🧰 Bug fixes 🧰
678
679 - `mdatagen`: All register callbacks to async instruments can now be unregistered by calling `metadata.TelemetryBuilder.Shutdown()` (#12204)
680 - `mdatagen`: Fix bug where Histograms were marked as not supporting temporal aggregation (#12168)
681
682 ## v1.24.0/v0.118.0
683
684 ### 🛑 Breaking changes 🛑
685
686 - `exporterqueue`: Change Queue Size and Capacity to return explicit int64. (#12076)
687 - `receiver/scraperhelper`: Removing the deprecated receiver/scraperhelper package (#12054)
688 - `processortest`: Revert the nop_processor.NewNopSettings change, as it is no longer needed (#11433)
689 - `experimental/storage`: Remove deprecated package/module experimental/storage (#12109)
690 - `mdatagen`: Remove deprecated generated_component_telemetry_test file from being generated and delete it. (#12068)
691 - `receivertest`: Remove deprecated receivertest.NewNopFactoryForType (#12110)
692
693 ### 🚩 Deprecations 🚩
694
695 - `componenttest`: Deprecate CheckScraperMetrics in componenttest (#12105)
696 Use `metadatatest.AssertMetrics` instead of `obsreporttest.CheckScraperMetrics`
697 - `scraperhelper`: Deprecate `scraperhelper.NewScraperControllerReceiver` and `scraperhelper.ScraperControllerOption`. (#12103)
698 Use `scraperhelper.NewMetricsController` instead of `scraperhelper.NewScraperControllerReceiver` | Use `scraperhelper.ScraperControllerOption` instead of `scraperhelper.ControllerOption`
699
700 ### 💡 Enhancements 💡
701
702 - `exporterhelper`: Add capability for memory and persistent queue to block when add items (#12074)
703 - `scraper/scraperhelper`: Add obs_logs for scraper/scraperhelper (#12036)
704 This change adds obs for logs in scraper/scraperhelper, also introduced new metrics for scraping logs.
705 - `mdatagen`: Add scraper component type support to mdatagen (#12092)
706 - `mdatagen`: Add tracing support in metadatatest (#12106)
707 - `exporterhelper`: Change persistent queue to not use sized channel, improve memory usage and simplify sized_channel. (#12060)
708 - `confighttp`: Added support for configuring compression levels. (#10467)
709 A new configuration option called CompressionParams has been added to confighttp. | This allows users to configure the compression levels for the confighttp client.
710
711 ## v1.23.0/v0.117.0
712
713 ### 🛑 Breaking changes 🛑
714
715 - `pdata/pprofile`: Remove duplicate Attributes field from profile (#11932)
716 - `connector`: Remove deprecated connectorprofiles module, use xconnector instead. (#11778)
717 - `consumererror`: Remove deprecated consumererrorprofiles module, use xconsumererror instead. (#11778)
718 - `consumer`: Remove deprecated consumerprofiles module, use xconsumer instead. (#11778)
719 - `exporterhelper`: Remove deprecated exporterhelperprofiles module, use xexporterhelper instead. (#11778)
720 - `exporter`: Remove deprecated exporterprofiles module, use xexporter instead. (#11778)
721 - `pipeline`: Remove deprecated pipelineprofiles module, use xpipeline instead. (#11778)
722 - `processorhelper`: Remove deprecated processorhelperprofiles module, use xprocessorhelper instead. (#11778)
723 - `processor`: Remove deprecated processorprofiles module, use xprocessor instead. (#11778)
724 - `receiver`: Remove deprecated receiverprofiles module, use xreceiver instead. (#11778)
725 - `exporterhelper`: Remove Merge function from experimental Request interface (#12012)
726
727 ### 🚩 Deprecations 🚩
728
729 - `mdatagen`: Deprecate component_test in favor of metadatatest (#11812)
730 - `receivertest`: Deprecate receivertest.NewNopFactoryForType (#11993)
731 - `extension/experimental`: Deprecate extension/experimental in favor of extension/xextension (#12010)
732 - `scraperhelper`: Move scraperhelper under scraper and in a separate module. (#11003)
733
734 ### 💡 Enhancements 💡
735
736 - `scrapertest`: Add scrapertest package in a separate module (#11988)
737 - `pdata`: Upgrade pdata to opentelemetry-proto v1.5.0 (#11932)
738
739 ## v1.22.0/v0.116.0
740
741 ### 🛑 Breaking changes 🛑
742
743 - `component`: Remove deprecated TelemetrySettings.LeveledMeterProvider (#11811)
744 - `scraperhelper`: Remove deprecated scraperhelper.Scraper and helpers (#11803)
745
746 ### 🚩 Deprecations 🚩
747
748 - `connector`: Deprecate connectorprofiles module in favor of xconnector to allow adding more experimental data types. (#11778)
749 - `consumererror`: Deprecate consumererrorprofiles module in favor of xconsumererror to allow adding more experimental data types. (#11778)
750 - `consumer`: Deprecate consumerprofiles module in favor of xconsumer to allow adding more experimental data types. (#11778)
751 - `exporterhelper`: Deprecate exporterhelperprofiles module in favor of xexporterhelper to allow adding more experimental data types. (#11778)
752 - `exporter`: Deprecate exporterprofiles module in favor of xexporter to allow adding more experimental data types. (#11778)
753 - `pipeline`: Deprecate pipelineprofiles module in favor of xpipeline to allow adding more experimental data types. (#11778)
754 - `processorhelper`: Deprecate processorhelperprofiles module in favor of xprocessorhelper to allow adding more experimental data types. (#11778)
755 - `processor`: Deprecate processorprofiles module in favor of xprocessor to allow adding more experimental data types. (#11778)
756 - `receiver`: Deprecate receiverprofiles module in favor of xreceiver to allow adding more experimental data types. (#11778)
757 - `receiver/scrapererror`: Remove the receiver/scrapererror alias. (#11003)
758
759 ### 💡 Enhancements 💡
760
761 - `receiver/scraperhelper`: Add scraper for logs (#11238)
762
763 ## v1.21.0/v0.115.0
764
765 ### 🛑 Breaking changes 🛑
766
767 - `extension/auth/authtest`: `authtest` is now its own module (#11465, #11705)
768 - `pdata/pprofile`: AttributeTable is now a slice rather than a map (#11706)
769 - `scraperhelper`: Remove deprecated scraperhelper funcs Scraper.ID, NewScraper, AddScraper. (#11710)
770 - `mdatagen`: Remove deprecated LeveledMeter from the generated code (#11696)
771
772 ### 🚩 Deprecations 🚩
773
774 - `component`: Mark `TelemetrySettings.LeveledMeterProvider` as deprecated (#11697)
775 - `receiver/scraper`: Move receiver/scrapererror package to scraper/scrapererror and deprecate original receiver/scrapererror package. (#11003)
776 - `scraperhelper`: Make Scraper compatible with the new scraper.Metrics (#11682)
777 Deprecate scraperhelper.Scraper in favor of scraper.Metrics
778
779 ## v1.20.0/v0.114.0
780
781 ### 🛑 Breaking changes 🛑
782
783 - `extensiontest`: Make extensiontest into its own module (#11463)
784 - `component`: Make componenttest into its own module (#11464)
785 - `expandconverter`: Remove deprecated expandvar converter (#11672)
786 - `exporter`: Remove deprecated funcs Create[*]Exporter and [*]ExporterStability (#11662)
787 - `exporterhelper`: Remove deprecated NewLogs[Request]Exporter funcs (#11661)
788 - `extension`: Remove deprecated funcs CreateExtension and ExtensionStability (#11663)
789 - `processortest`: Remove deprecated func NewUnhealthyProcessorCreateSettings (#11665)
790
791 ### 🚩 Deprecations 🚩
792
793 - `component`: Deprecate `TelemetrySettings.LeveledMeterProvider` and undo deprecation of `TelemetrySettings.MeterProvider` (#11061)
794 - `scraperhelper`: Deprecate Scraper.ID func, pass type when register Scraper (#11238)
795
796 ## v1.19.0/v0.113.0
797
798 ### 🛑 Breaking changes 🛑
799
800 - `builder`: Remove deprecated flags from Builder (#11576)
801 Here is the list of flags | --name, --description, --version, --otelcol-version, --go, --module
802
803 ### 🚀 New components 🚀
804
805 - `processorhelperprofiles`: Add processorhelperprofiles to support profiles signal (#11556)
806
807 ### 💡 Enhancements 💡
808
809 - `mdatagen`: Add newTelemetrySettings to be generated all the time even for pkg class (#11535)
810 - `debugexporter`: Add profiles support to debug exporter (#11155)
811 - `component`: Add UnmarshalText for StabilityLevel (#11520)
812
813 ## v1.18.0/v0.112.0
814
815 ### 🛑 Breaking changes 🛑
816
817 - `service`: Change Host to not implement GetExportersWithSignal (#11444)
818 Use Host.GetExporters if still needed.
819 - `componentstatus`: Remove deprecated `NewInstanceIDWithPipelineIDs`, `AllPipelineIDsWithPipelineIDs`, and `WithPipelineIDs`. Use `NewInstanceID`, `AllPipelineIDs` and `WithPipelines` instead. (#11363)
820 - `configgrpc`: Removed deprecated `ClientConfig.ToClientConnWithOptions`/`ServerConfig.ToServerWithOptions`. (#11359, #9480)
821 These methods were renamed to `ClientConfig.ToClientConn`/`ServerConfig.ToServer` in v0.111.0.
822 - `connector`: Put connectortest in its own module (#11216)
823 - `exporter`: Disables setting batch option to batch sender directly. (#10368)
824 Removed WithRequestBatchFuncs(BatcherOption) in favor of WithBatchFuncs(Option), where | BatcherOption is a function that operates on batch sender and Option is one that operates | on BaseExporter
825 - `exporter`: Made mergeFunc and mergeSplitFunc required method of exporter.Request (#10368)
826 mergeFunc and mergeSplitFunc used to be part of the configuration pass to the exporter. Now it is changed | to be a method function of request.
827 - `componentprofiles`: Move componentprofiles to pipelineprofiles (#11421)
828 - `processor`: Put processortest in its own module (#11218)
829 - `receivertest`: Removed deprecated `NewNopFactoryForTypeWithSignal`. Use `NewNopFactoryForType` instead. (#11362)
830 - `processor`: Remove deprecated funcs from processor package (#11368)
831 - `receiver`: Remove deprecated funcs from receiver package (#11367)
832 - `processorhelper`: Remove deprecated funcs/types from processorhelper & componenttest (#11302)
833 - `service`: Remove deprecated `pipelines.ConfigWithPipelineID` and `Config.PipelinesWithPipelineID`. Use `pipelines.Config` and `Config.Pipelines` instead. (#11361)
834
835 ### 🚩 Deprecations 🚩
836
837 - `extension`: Deprecate funcs that repeat extension in name (#11413)
838 Factory.CreateExtension -> Factory.Create |
839 Factory.ExtensionStability -> Factory.Stability
840
841 - `exporter`: Deprecate funcs that repeat exporter in name (#11370)
842 Factory.Create[Traces|Metrics|Logs|Profiles]Exporter -> Factory.Create[Traces|Metrics|Logs|Profiles] |
843 Factory.[Traces|Metrics|Logs|Profiles]ExporterStability -> Factory.[Traces|Metrics|Logs|Profiles]Stability
844
845
846 ### 🚀 New components 🚀
847
848 - `consumererrorprofiles`: Add new module consumererrorprofiles for consumer error profiles. (#11131)
849
850 ### 💡 Enhancements 💡
851
852 - `configcompression`: Add support for lz4 compression (#9128)
853 - `otlpexporter`: Add profiles support to OTLP exporter (#11435)
854 - `otlphttpexporter`: Add profiles support to OTLP HTTP exporter (#11450)
855
856 ## v1.17.0/v0.111.0
857
858 ### 🛑 Breaking changes 🛑
859
860 - `service/telemetry`: Change default metrics address to "localhost:8888" instead of ":8888" (#11251)
861 This behavior can be disabled by disabling the feature gate 'telemetry.UseLocalHostAsDefaultMetricsAddress'.
862 - `componentprofiles`: Removed deprecated `DataTypeProfiles`. Use `SignalProfiles` instead. (#11312)
863 - `configgrpc`: Replace ToClientConn and ToServer with ToClientConnWithOptions and ToServerWithOptions. (#11271, #9480)
864 `ClientConfig.ToClientConn` and `ServerConfig.ToServer` were deprecated in v0.110.0 in favor of
865 `ClientConfig.ToClientConnWithOptions` and `ServerConfig.ToServerWithOptions` which use a more
866 flexible option type. The original functions are now removed, and the new ones are renamed to the
867 old names. The `WithOptions` names are kept as deprecated aliases for now.
868
869 - `exporterhelper`: Removed deprecated `QueueTimeout`/`TimeoutSettings` aliases in favor of `QueueConfig`/`TimeoutConfig`. (#11264, #6767)
870 `NewDefaultQueueSettings` and `NewDefaultTimeoutSettings` have been similarly renamed.
871 - `exporterqueue`: Remove deprecated `Settings.DataType`. Use `Settings.Signal` instead. (#11305)
872 - `exportertest`: Remove deprecated `CheckConsumeContractParams.DataType`. Use `CheckConsumeContractParams.Signal` instead. (#11305)
873 - `component`: Removed deprecated `ErrDataTypeIsNotSupported`, `DataType`, `DataTypeTraces`, `DataTypeMetrics`, and `DataTypeLogs`. Use `pipeline.ErrSignalNotSupported`, `pipeline.Signal`, `pipeline.SignalTraces`, `pipeline.SignalMetrics`, and `pipeline.SignalLogs` instead. (#11253)
874 - `pdata/pprofile`: Replace slices of values to slices of pointers for the `Mapping`, `Location`, `Line`, `Function`, `AttributeUnit`, `Link`, `Value`, `Sample` and `Labels` attributes. (#11339)
875 - `receivertest`: Remove deprecated `CheckConsumeContractParams.DataType`. Use `CheckConsumeContractParams.Signal` instead. (#11304)
876 - `scraperhelper`: Remove deprecated function `NewScraperWithComponentType`. (#11294)
877 - `processorhelper`: Remove deprecated funcs form processorhelper.ObsReport (#11289)
878 The "otelcol_processor_dropped_log_records", "otelcol_processor_dropped_log_records" | and "otelcol_processor_dropped_spans" metrics are complete removed, before they were always record with 0 values.
879
880 ### 🚩 Deprecations 🚩
881
882 - `componentstatus`: Deprecated `NewInstanceIDWithPipelineIDs`, `AllPipelineIDsWithPipelineIDs`, and `WithPipelineIDs`. Use `NewInstanceID`, `AllPipelineIDs`, and `WithPipelines` instead. (#11313)
883 - `processorhelper`: Deprecate unused and empty struct processorhelper.ObsReport (#11293)
884 - `processor`: Deprecate funcs that repeat "processor" in name (#11310)
885 Factory.Create[Traces|Metrics|Logs|Profiles]Processor -> Factory.Create[Traces|Metrics|Logs|Profiles]
886 Factory.[Traces|Metrics|Logs|Profiles]ProcessorStability -> Factory.[Traces|Metrics|Logs|Profiles]Stability
887
888 - `receiver`: Deprecate funcs that repeat "receiver" in name (#11287)
889 Factory.Create[Traces|Metrics|Logs|Profiles]Receiver -> Factory.Create[Traces|Metrics|Logs|Profiles]
890 Factory.[Traces|Metrics|Logs|Profiles]ReceiverStability -> Factory.[Traces|Metrics|Logs|Profiles]Stability
891
892 - `receivertest`: Deprecated `NewNopFactoryForTypeWithSignal`. Use `NewNopFactoryForType` instead. (#11304)
893 - `service`: Deprecates `Config.PipelinesWithPipelineID`, `pipelines.ConfigWithPipelineID` and `GetExportersWithSignal` interface implementation. Use `Config.Pipelines`, `pipelines.Config`, and `GetExporters` interface implementation instead. (#11303)
894
895 ## v1.16.0/v0.110.0
896
897 ### 🛑 Breaking changes 🛑
898
899 - `otlpexporter`: The `TimeoutSettings` field in `otlpexporter.Config` was renamed to `TimeoutConfig`. (#11132)
900 - `connector`: Change `TracesRouterAndConsumer`, `NewTracesRouter`, `MetricsRouterAndConsumer`, `NewMetricsRouter`, `LogsRouterAndConsumer`, and `NewLogsRouter` to use `pipeline.ID` instead of `component.ID`. (#11204)
901 - `extension`: Remove deprecated extension interfaces. (#11043)
902 They are now available in the `extensioncapabilities` module.
903
904
905 ### 🚩 Deprecations 🚩
906
907 - `exporterhelper`: Deprecate TimeoutSettings/QueueSettings in favor of TimeoutConfig/QueueConfig. (#6767)
908 - `configgrpc`: Deprecate `ClientConfig.ToClientConn`/`ServerConfig.ToServer` in favor of `ToClientConnWithOptions`/`ToServerWithOptions` (#9480)
909 Users providing a grpc.DialOption/grpc.ServerOption should now wrap them into
910 a generic option with `WithGrpcDialOption`/`WithGrpcServerOption`.
911
912 - `componentprofiles`: Deprecates `DataTypeProfiles`. Use `SignalProfiles` instead. (#11204)
913 - `componentstatus`: Deprecates `NewInstanceID`, `AllPipelineIDs`, and `WithPipelines`. Use `NewInstanceIDWithPipelineIDs`, `AllPipelineIDsWithPipelineIDs`, and `WithPipelineIDs` instead. (#11204)
914 - `exporterqueue`: Deprecates `Settings.DataType`. Use `Settings.Signal` instead. (#11204)
915 - `service`: Deprecates `pipelines.Config`. Use `pipelines.ConfigWithPipelineID` instead. (#11204)
916 - `component`: Deprecates `DataType`, `DataTypeTraces`, `DataTypeMetrics`, and `DataTypeLogs`. Use `pipeline.Signal`, `SignalTraces`, `SignalMetrics`, and `SignalLogs` instead. (#11204)
917 - `service`: Deprecates service's implementation of `GetExporters` interface. Use `GetExportersWithSignal` instead. (#11249)
918 - `scraperhelper`: Deprecate NewScraperWithComponentType, should use NewScraper (#11159)
919
920 ### 🚀 New components 🚀
921
922 - `pipeline`: Adds new `pipeline` module to house the concept of pipeline ID and Signal. (#11209)
923
924 ### 💡 Enhancements 💡
925
926 - `pdata`: Add support to MoveTo for Map, allow avoiding copies (#11175)
927 - `options`: Avoid using private types in public APIs and also protect options to be implemented outside this module. (#11054)
928 - `mdatagen`: Avoid using private types in public APIs and also protect options to be implemented outside this module. (#11040)
929 - `consumertest`: Introduce SampleCount method in ProfilesSink struct. (#11225)
930 - `otlpreceiver`: Support profiles in the OTLP receiver (#11071)
931
932 ## v1.15.0/v0.109.0
933
934 ### 🛑 Breaking changes 🛑
935
936 - `Remove `extensiontest` StatusWatcher helpers`: They were unused. They may be added back on a different module or after `componentstatus` is marked 1.0
937 (#11044)
938 - `pprofile`: Change Profile ID field from a byte array to a custom data type (#11048)
939 - `connector`: Remove deprecated connector builder (#11019)
940 - `exporter`: Remove deprecated exporter builder (#11019)
941 - `extension`: Remove deprecated extension builder (#11019)
942 - `processor`: Remove deprecated processor builder (#11019)
943 - `receiver`: Remove deprecated receiver builder (#11019)
944
945 ### 🚩 Deprecations 🚩
946
947 - `configtelemetry`: Deprecating `TelemetrySettings.MeterProvider` in favour of `TelemetrySettings.LeveledMeterProvider` (#10912)
948 - `extension`: Deprecate `extension.ConfigWatcher`, `extension.PipelineWatcher` and `extension.Dependent` in favor of equivalents in the `extensioncapabilities` module. (#11000)
949 - `scraperhelper`: deprecate NewScraper, should use NewScraperWithComponentType (#11082)
950
951 ### 🚀 New components 🚀
952
953 - `extensioncapabilities`: Create a new module for optional extension capabilities. (#11000)
954
955 ### 💡 Enhancements 💡
956
957 - `connectorprofiles`: Add ProfilesRouterAndConsumer interface, and NewProfilesRouter method. (#11023)
958 - `pprofileotlp`: Introduce grpc service implementation of pprofileotlp (#11048)
959 - `pprofile`: Introduce marshalling and unmarshalling of pprofile data (#11048)
960 - `service`: Support profiles in the service package (#11024)
961
962 ## v1.14.1/v0.108.1
963
964 ## v1.14.0/v0.108.0
965
966 ### 🛑 Breaking changes 🛑
967
968 - `extensions`: Remove `StatusWatcher` interface. Use `componentstatus.Watcher` instead. (#10777)
969 - `component`: Removed Status related types and functions. Use `componentstatus` instead. (#10777)
970 - `component`: Remove `ReportStatus` from `TelemetrySettings`. Use `componentstatus.ReportStatus` instead. (#10777)
971 - `componentstatus`: Make componentstatus.InstanceID immutable. (#10494)
972
973 ### 🚩 Deprecations 🚩
974
975 - `scraperhelper`: deprecate NewObsReport, ObsReport, ObsReportSettings, scrapers should use NewScraperControllerReceiver (#10959)
976 - `mdatagen`: Deprecating generated `Meter` func in favour of `LeveledMeter` (#10939)
977 - `connector`: Deprecate connector.Builder, and move it into an internal package of the service module (#10784)
978 - `exporter`: Deprecate exporter.Builder, and move it into an internal package of the service module (#10783)
979 - `extension`: Deprecate extension.Builder, and move it into an internal package of the service module (#10785)
980 - `processor`: Deprecate processor.Builder, and move it into an internal package of the service module (#10782)
981 - `receiver`: Deprecate receiver.Builder, and move it into an internal package of the service module (#10781)
982
983 ## v1.13.0/v0.107.0
984
985 ### 🛑 Breaking changes 🛑
986
987 - `otelcol`: Delete deprecated NewCommandMustSetProvider (#10778)
988 - `component`: Removes the deprecated `Host.GetFactory` method. (#10771)
989 - `otelcoltest`: The `otelcol.LoadConfig` method no longer sets the `expandconverter`. (#10510)
990 - `ocb`: Collectors built with OCB will no longer include the `expandconverter` (#10510)
991 - `exporterhelper`: Delete deprecated `exporterhelper.ObsReport` and `exporterhelper.NewObsReport` (#10779, #10592)
992
993 ### 🚩 Deprecations 🚩
994
995 - `expandconverter`: Deprecate `expandconverter`. (#10510)
996
997 ### 🚀 New components 🚀
998
999 - `componentstatus`: Adds new componentstatus module that will soon replace status content in component. (#10730)
1000 - `connector/connectorprofiles`: Allow handling profiles in connector. (#10703)
1001 - `exporter/exporterprofiles`: Allow handling profiles in exporter. (#10702)
1002 - `processor/processorprofiles`: Allow handling profiles in processor. (#10691)
1003 - `receiver/receiverprofiles`: Allow handling profiles in receiver. (#10690)
1004
1005 ### 💡 Enhancements 💡
1006
1007 - `confmap`: Check that providers have a correct scheme when building a confmap.Resolver. (#10786)
1008 - `confighttp`: Add `NewDefaultCORSConfig` function to initialize the default `confighttp.CORSConfig` (#9655)
1009
1010 ## v0.106.0
1011
1012 ### 🛑 Breaking changes 🛑
1013
1014 - `configauth`: removing deprecated methods GetServerAuthenticatorContext and GetClientAuthenticatorContext (#9808)
1015 - `connector,exporter,receiver,extension,processor`: Remove deprecated funcs/structs (#10423)
1016 Remove the following funcs & structs:
1017 - connector.CreateSettings -> connector.Settings
1018 - connectortest.NewNopCreateSettings -> connectortest.NewNopSettings
1019 - exporter.CreateSettings -> exporter.Settings
1020 - exportertest.NewNopCreateSettings -> exportertest.NewNopSettings
1021 - extension.CreateSettings -> extension.Settings
1022 - extensiontest.NewNopCreateSettings -> extensiontest.NewNopSettings
1023 - processor.CreateSettings -> processor.Settings
1024 - processortest.NewNopCreateSettings -> processortest.NewNopSettings
1025 - receiver.CreateSettings -> receiver.Settings
1026 - receivertest.NewNopCreateSettings -> receivertest.NewNopSettings
1027
1028 - `component/componenttest`: Add optional ...attribute.KeyValue argument to TestTelemetry.CheckExporterMetricGauge. (#10593)
1029 - `confighttp`: Auth data type signature has changed (#4806)
1030 As part of the linked PR, the `auth` attribute was moved from `configauth.Authentication`
1031 to a new `AuthConfig`, which contains a `configauth.Authentication`. For end-users, this
1032 is a non-breaking change. For users of the API, create a new AuthConfig using the
1033 `configauth.Authentication` instance that was being used before.
1034
1035 - `mdatagen`: Remove WithAttributes option from the telemetry builder constructor. (#10608)
1036 Attribute sets for async instruments now can be set as options to callback setters and async instruments initializers.
1037 This allows each async instrument to have its own attribute set.
1038
1039 - `service/extensions`: Adds `Options` to `extensions.New`. (#10728)
1040 This is only a breaking change if you are depending on `extensions.New`'s signature. Calls to `extensions.New` are not broken.
1041
1042 ### 🚩 Deprecations 🚩
1043
1044 - `component`: Deprecates Host.GetFactory. (#10709)
1045
1046 ### 🚀 New components 🚀
1047
1048 - `component/componentprofiles`: Add componentprofiles module. (#10525)
1049
1050 ### 💡 Enhancements 💡
1051
1052 - `exporter, processor, receiver`: Document factory functions. (#9323)
1053 - `component`: Document status enums and New constructors (#9822)
1054 - `confighttp, configgrpc`: Remove the experimental comment on `IncludeMetadata` in confighttp and configgrpc (#9381)
1055 - `confighttp`: Add `confighttp.NewDefaultServerConfig()` to instantiate the default HTTP server configuration (#9655)
1056 - `consumer/consumertest`: Allow testing profiles with consumertest. (#10692)
1057
1058 ### 🧰 Bug fixes 🧰
1059
1060 - `confmap`: Fix wrong expansion of environment variables escaped with `$$`, e.g. `$${ENV_VAR}` and `$$ENV_VAR`. (#10713)
1061 This change fixes the issue where environment variables escaped with $$ were expanded.
1062 The collector now converts `$${ENV_VAR}` to `${ENV_VAR}` and `$$ENV_VAR` to `$ENV_VAR` without further expansion.
1063
1064
1065 ## v1.12.0/v0.105.0
1066
1067 ### 🛑 Breaking changes 🛑
1068
1069 - `otelcol`: Obtain the Collector's effective config from otelcol.Config (#10139)
1070 `otelcol.Collector` will now marshal `confmap.Conf` objects from `otelcol.Config` itself.
1071 - `otelcoltest`: Remove deprecated methods `LoadConfigWithSettings` and `LoadConfigAndValidateWithSettings` (#10512)
1072
1073 ### 🚩 Deprecations 🚩
1074
1075 - `configauth`: Deprecated `Authentication.GetClientAuthenticatorContext` and `Authentication.GetServerAuthenticatorContext` (#10578)
1076 - `otelcol`: Deprecate `otelcol.ConfmapProvider` (#10139)
1077 `otelcol.Collector` will now marshal `confmap.Conf` objects from `otelcol.Config` itself.
1078 - `otelcol`: Deprecate `(*otelcol.ConfigProvider).GetConfmap` (#10139)
1079 Call `(*confmap.Conf).Marshal(*otelcol.Config)` to get the Collector's configuration.
1080 - `exporterhelper`: Deprecate the obsreport API in the exporterhelper package. (#10592)
1081
1082 ### 🚀 New components 🚀
1083
1084 - `consumer/consumerprofiles`: Allow handling profiles in consumer. (#10464)
1085
1086 ## v1.11.0/v0.104.0
1087
1088 ### 🛑 Breaking changes 🛑
1089
1090 - `otelcol`: The `otelcol.NewCommand` now requires at least one provider be set. (#10436)
1091 - `component/componenttest`: Added additional "inserted" count to `TestTelemetry.CheckProcessor*` methods. (#10353)
1092
1093 ### 🚩 Deprecations 🚩
1094
1095 - `otelcoltest`: Deprecates `LoadConfigWithSettings` and `LoadConfigAndValidateWithSettings`. Use `LoadConfig` and `LoadConfigAndValidate` instead. (#10417)
1096 - `otelcol`: The `otelcol.NewCommandMustSetProvider` is deprecated. Use `otelcol.NewCommand` instead. (#10436)
1097
1098 ### 🚀 New components 🚀
1099
1100 - `otelcoltest`: Split off go.opentelemetry.io/collector/otelcol/otelcoltest into its own module (#10417)
1101
1102 ### 💡 Enhancements 💡
1103
1104 - `pdata/pprofile`: Add pprofile wrapper to convert proto into pprofile. (#10401)
1105 - `pdata/testdata`: Add pdata testdata for profiles. (#10401)
1106
1107 ## v1.10.0/v0.103.0
1108
1109 ### 🛑 Breaking changes 🛑
1110
1111 - `component`: Remove deprecated `component.UnmarshalConfig` (#7102)
1112 - `confighttp`: Use `confighttp.ServerConfig` as part of zpagesextension.Config. Previously the extension used `confignet.TCPAddrConfig` (#9368)
1113
1114 ### 🚩 Deprecations 🚩
1115
1116 - `connector`: Deprecate CreateSettings and NewNopCreateSettings (#9428)
1117 The following methods are being renamed:
1118 - connector.CreateSettings -> connector.Settings
1119 - connector.NewNopCreateSettings -> connector.NewNopSettings
1120
1121 - `exporter`: Deprecate CreateSettings and NewNopCreateSettings (#9428)
1122 The following methods are being renamed:
1123 - exporter.CreateSettings -> exporter.Settings
1124 - exporter.NewNopCreateSettings -> exporter.NewNopSettings
1125
1126 - `extension`: Deprecate CreateSettings and NewNopCreateSettings (#9428)
1127 The following methods are being renamed:
1128 - extension.CreateSettings -> extension.Settings
1129 - extension.NewNopCreateSettings -> extension.NewNopSettings
1130
1131 - `processor`: Deprecate CreateSettings and NewNopCreateSettings (#9428)
1132 The following methods are being renamed:
1133 - processor.CreateSettings -> processor.Settings
1134 - processor.NewNopCreateSettings -> processor.NewNopSettings
1135
1136 - `receiver`: Deprecate CreateSettings and NewNopCreateSettings (#9428)
1137 The following methods are being renamed:
1138 - receiver.CreateSettings -> receiver.Settings
1139 - receiver.NewNopCreateSettings -> receiver.NewNopSettings
1140
1141 - `configauth`: Deprecate `GetClientAuthenticator` and `GetServerAuthenticator`, use `GetClientAuthenticatorContext` and `GetServerAuthenticatorContext` instead. (#9808)
1142 - `confighttp`: Deprecate `ClientConfig.CustomRoundTripper` (#8627)
1143 Set the `Transport` field on the `*http.Client` object returned from `(ClientConfig).ToClient` instead.
1144 - `filter`: Deprecate the `filter.CombinedFilter` struct (#10348)
1145 - `otelcol`: Deprecate `otelcol.NewCommand`. Use `otelcol.NewCommandMustProviderSettings` instead. (#10359)
1146 - `otelcoltest`: Deprecate `LoadConfig` and `LoadConfigAndValidate`. Use `LoadConfigWithSettings` and `LoadConfigAndValidateWithSettings` instead (#10359)
1147
1148 ### 💡 Enhancements 💡
1149
1150 - `confmap`: Adds `confmap.Retrieved.AsString` method that returns the configuration value as a string (#9532)
1151 - `confmap`: Adds `confmap.NewRetrievedFromYAML` helper to create `confmap.Retrieved` values from YAML bytes (#9532)
1152
1153 ## v0.102.1
1154
1155 No API-only changes on this release. **This release addresses [GHSA-c74f-6mfw-mm4v](https://github.com/open-telemetry/opentelemetry-collector/security/advisories/GHSA-c74f-6mfw-mm4v) for `configgrpc`.**
1156
1157 ## v1.9.0/v0.102.0
1158
1159 **This release addresses [GHSA-c74f-6mfw-mm4v](https://github.com/open-telemetry/opentelemetry-collector/security/advisories/GHSA-c74f-6mfw-mm4v) for `confighttp`.**
1160
1161 ### 🛑 Breaking changes 🛑
1162
1163 - `otelcol`: Remove deprecated `ConfigProvider` field from `CollectorSettings` (#10281)
1164 - `exporterhelper`: remove deprecated RequestMarshaler & RequestUnmarshaler types (#10283)
1165 - `service`: remove deprecated Telemetry struct and New func (#10285)
1166 - `configtls`: remove deprecated LoadTLSConfigContext funcs (#10283)
1167
1168 ### 🚩 Deprecations 🚩
1169
1170 - `component`: Deprecate `component.UnmarshalConfig`, use `(*confmap.Conf).Unmarshal(&intoCfg)` instead. (#7102)
1171 - `service/telemetry`: Deprecate telemetry.New in favor of telemetry.NewFactory (#4970)
1172
1173 ### 💡 Enhancements 💡
1174
1175 - `confmap`: Allow setting a default Provider on a Resolver to use when `${}` syntax is used without a scheme (#10182)
1176 - `pdata`: Introduce string and int64 slices to pcommon (#10148)
1177 - `pdata`: Introduce generated experimental pdata for profiling signal. (#10195)
1178 - `confmap`: Remove top level condition when considering struct as Unmarshalers (#7101)
1179
1180 ### 🧰 Bug fixes 🧰
1181
1182 - `otelcol`: Update validate command to use the new configuration options (#10203)
1183
1184 ## v1.8.0/v0.101.0
1185
1186 ### 🛑 Breaking changes 🛑
1187
1188 - `confighttp`: Removes deprecated functions `ToClientContext`, `ToListenerContext`, and `ToServerContext`. (#10138)
1189 - `confmap`: Deprecate `NewWithSettings` for all Providers and `New` for all Converters (#10134)
1190 Use `NewFactory` instead for all affected modules.
1191 - `confmap`: Remove deprecated `Providers` and `Converters` from `confmap.ResolverSettings` (#10173)
1192 Use `ProviderSettings` and `ConverterSettings` instead.
1193
1194 ### 🧰 Bug fixes 🧰
1195
1196 - `otelcol`: Add explicit mapstructure tags to main configuration struct (#10152)
1197 - `confmap`: Support string-like types as map keys when marshaling (#10137)
1198
1199 ## v1.7.0/v0.100.0
1200
1201 ### 💡 Enhancements 💡
1202
1203 - `configgrpc`: Adds `NewDefault*` functions for all the config structs. (#9654)
1204 - `exporterqueue`: Expose ErrQueueIsFull so upstream components can retry or apply backpressure. (#10070)
1205
1206 ### 🧰 Bug fixes 🧰
1207
1208 - `mdatagen`: Call connectors with routers to be the same as the service graph (#10079)
1209
1210 ## v1.6.0/v0.99.0
1211
1212 ### 🛑 Breaking changes 🛑
1213
1214 - `component`: Removed deprecated function `GetExporters` from `component.Host` interface (#9987)
1215
1216 ### 🚩 Deprecations 🚩
1217
1218 - `confighttp`: deprecate ToClientContext, ToServerContext, ToListenerContext, replaced by ToClient, ToServer, ToListener (#9807)
1219 - `configtls`: Deprecates `ClientConfig.LoadTLSConfigContext` and `ServerConfig.LoadTLSConfigContext`, use `ClientConfig.LoadTLSConfig` and `ServerConfig.LoadTLSConfig` instead. (#9945)
1220 - `confmap`: Deprecate the `Providers` and `Converters` fields in `confmap.ResolverSettings` (#9516)
1221 Use the `ProviderFactories` and `ConverterFactories` fields instead.
1222
1223 ### 💡 Enhancements 💡
1224
1225 - `configauth`: Adds `NewDefault*` functions for all the config structs. (#9821)
1226 - `configtls`: Adds `NewDefault*` functions for all the config structs. (#9658)
1227 - `pmetric`: Support metric.metadata in pdata/pmetric (#10006)
1228
1229 ## v1.5.0/v0.98.0
1230
1231 ### 🛑 Breaking changes 🛑
1232
1233 - `component`: Restricts maximum length for `component.Type` to 63 characters. (#9872)
1234 - `configgrpc`: Remove deprecated `ToServerContext`, use `ToServer` instead. (#9836)
1235 - `configgrpc`: Remove deprecated `SanitizedEndpoint`. (#9836)
1236 - `configtls`: Remove Deprecated `TLSSetting`, `TLSClientSetting`, and `TLSServerSetting`. (#9786)
1237 - `configtls`: Rename `TLSSetting` to `Config` on `ClientConfig` and `ServerConfig`. (#9786)
1238
1239 ### 🚩 Deprecations 🚩
1240
1241 - `confighttp`: Deprecate `ToClient`,`ToListener`and `ToServer` use `ToClientContext`,`ToListenerContext` and `ToServerContext`instead. (#9807)
1242 - `configtls`: Deprecate `ClientConfig.LoadTLSConfig` and `ServerConfig.LoadTLSConfig`, use `ClientConfig.LoadTLSConfigContext` and `ServerConfig.LoadTLSConfigContext` instead. (#9811)
1243
1244 ### 💡 Enhancements 💡
1245
1246 - Introduce new module for generating pdata: pdata/testdata (#9886)
1247 - `exporterhelper`: Make the `WithBatcher` option available for regular exporter helpers based on OTLP data type. (#8122)
1248 Now, `WithBatcher` can be used with both regular exporter helper (e.g. NewTracesExporter) and the request-based exporter
1249 helper (e.g. NewTracesRequestExporter). The request-based exporter helpers require `WithRequestBatchFuncs` option
1250 providing batching functions.
1251
1252 - `confmap`: Creates a logger in the confmap.ProviderSettings and uses it to log when there is a missing or blank environment variable referenced in config. For now the noop logger is used everywhere except tests. (#5615)
1253
1254 ## v1.4.0/v0.97.0
1255
1256 ### 🛑 Breaking changes 🛑
1257
1258 - `configgrpc`: Remove deprecated `ToServer` function. (#9787)
1259 - `confignet`: Change `Transport` field from `string` to `TransportType` (#9385)
1260 - `component`: Change underlying type of `component.Type` to an opaque struct. (#9208)
1261 - `obsreport`: Remove deprecated obsreport/obsreporttest package. (#9724)
1262 - `component`: Remove deprecated error `ErrNilNextConsumer` (#9322)
1263 - `connector`: Remove `LogsRouter`, `MetricsRouter` and `TracesRouter`. Use `LogsRouterAndConsumer`, `MetricsRouterAndConsumer`, `TracesRouterAndConsumer` respectively instead. (#9095)
1264 - `receiver`: Remove deprecated struct `ScraperControllerSettings` and function `NewDefaultScraperControllerSettings` (#6767)
1265 - `confmap`: Remove deprecated `provider.New` methods, use `NewWithSettings` moving forward. (#9443)
1266
1267 ### 🚩 Deprecations 🚩
1268
1269 - `configgrpc`: Deprecated `ToServerContext`, use `ToServer` instead. (#9787)
1270 - `configgrpc`: Deprecate `SanitizedEndpoint` (#9788)
1271
1272 ### 💡 Enhancements 💡
1273
1274 - `exporterhelper`: Add experimental batching capabilities to the exporter helper (#8122)
1275 - `confignet`: Adds `NewDefault*` functions for all the config structs. (#9656)
1276 - `configtls`: Validates TLS min_version and max_version (#9475)
1277 Introduces `Validate()` method in TLSSetting.
1278 - `exporterhelper`: Invalid exporterhelper options now make the exporter creation error out instead of panicking. (#9717)
1279 - `components`: Give NoOp components a unique name (#9637)
1280
1281 ## v1.3.0/v0.96.0
1282
1283 ### 🚩 Deprecations 🚩
1284
1285 - `configgrpc`: Deprecates `ToServer`. Use `ToServerContext` instead. (#9624)
1286 - `component`: deprecate component.ErrNilNextConsumer (#9526)
1287 - `configtls`: Rename TLSClientSetting, TLSServerSetting, and TLSSetting based on the naming convention used in other config packages. (#9474)
1288
1289 ### 💡 Enhancements 💡
1290
1291 - `receivertest`: add support for metrics in contract checker (#9551)
1292
1293 ## v1.2.0/v0.95.0
1294
1295 ### 🛑 Breaking changes 🛑
1296
1297 - `all`: Bump minimum go version to go 1.21 (#9507)
1298 - `service/telemetry`: Delete generated_config types, use go.opentelemetry.io/contrib/config types instead (#9546)
1299 - `configcompression`: Remove deprecated `configcompression` types, constants and methods. (#9388)
1300 - `component`: Remove `host.ReportFatalError` (#6344)
1301 - `configgrpc`: Remove deprecated `configgrpc.ServerConfig.ToListener` (#9481)
1302 - `confmap`: Remove deprecated `confmap.WithErrorUnused` (#9484)
1303
1304 ### 🚩 Deprecations 🚩
1305
1306 - `confignet`: Deprecate `confignet.NetAddr` and `confignet.TCPAddr` in favor of `confignet.AddrConfig` and `confignet.TCPAddrConfig`. (#9509)
1307 - `config/configgrpc`: Deprecate `configgrpc.ClientConfig.SanitizedEndpoint`, `configgrpc.ServerConfig.ToListener` and `configgrpc.ServerConfig.ToListenerContext` (#9481, #9482)
1308 - `scraperhelper`: Deprecate ScraperControllerSettings, use ControllerConfig instead (#6767)
1309
1310 ## v1.1.0/v0.94.0
1311
1312 ### 🛑 Breaking changes 🛑
1313
1314 - `confignet`: Remove deprecated `DialContext` and `ListenContext` functions (#9363)
1315 - `confmap/converter/expandconverter`: Add `confmap.ConverterSettings` argument to experimental `expandconverter.New` function. (#5615, #9162)
1316 - The `confmap.ConverterSettings` struct currently has no fields. It will be used to pass a logger.
1317
1318 - `component`: Remove deprecated funcs and types (#9283)
1319 - `otlpexporter`: Config struct is moving from embedding the deprecated GRPCClientSettings struct to using ClientConfig instead. (#6767)
1320 - `otlphttpexporter`: otlphttpexporter.Config embeds the struct confighttp.ClientConfig instead of confighttp.HTTPClientSettings (#6767)
1321 - `otlpreceiver`: HTTPConfig struct is moving from embedding the deprecated ServerSettings struct to using HTTPServerConfig instead. (#6767)
1322 - `component`: Validate component.Type at creation and unmarshaling time. (#9208)
1323 - A component.Type must start with an ASCII alphabetic character and can only contain ASCII alphanumeric characters and '_'.
1324
1325
1326 ### 🚩 Deprecations 🚩
1327
1328 - `configcompressions`: Deprecate `IsCompressed`. Use `CompressionType.IsCompressed instead` instead. (#9435)
1329 - `configcompression`: Deprecate `CompressionType`, use `Type` instead. (#9416)
1330 - `confighttp`: Deprecate CORSSettings, use CORSConfig instead (#6767)
1331 - `configgrpc`: Deprecate `ToListener` function in favor of `ToListenerContext` (#9389)
1332 - `configgrpc`: Deprecate GRPCServerSettings, use ServerConfig instead (#6767)
1333 - `confighttp`: Deprecate HTTPClientSettings, use ClientConfig instead (#6767)
1334 - `confighttp`: Deprecate HTTPServerSettings, use ServerConfig instead (#6767)
1335 - `confmap/provider`: Deprecate <provider>.New in favor of <provider>.NewWithSettings for all core providers (#5615, #9162)
1336 - NewWithSettings now takes an empty confmap.ProviderSettings struct. This will be used to pass a logger in the future.
1337
1338
1339 ### 💡 Enhancements 💡
1340
1341 - `exporter/exporterhelper`: Add API for enabling queue in the new exporter helpers. (#7874)
1342 The following experimental API is introduced in exporter package:
1343 - `exporterhelper.WithRequestQueue`: a new exporter helper option for using a queue.
1344 - `exporterqueue.Queue`: an interface for queue implementations.
1345 - `exporterqueue.Factory`: a queue factory interface, implementations of this interface are intended to be used with WithRequestQueue option.
1346 - `exporterqueue.Settings`: queue factory settings.
1347 - `exporterqueue.Config`: common configuration for queue implementations.
1348 - `exporterqueue.NewDefaultConfig`: a function for creating a default queue configuration.
1349 - `exporterqueue.NewMemoryQueueFactory`: a new factory for creating a memory queue.
1350 - `exporterqueue.NewPersistentQueueFactory: a factory for creating a persistent queue.
1351
1352 - `featuregate`: Add the `featuregate.ErrAlreadyRegistered` error, which is returned by `featuregate.Registry`'s `Register` when adding a feature gate that is already registered. (#8622)
1353 Use `errors.Is` to check for this error.
1354
1355
1356 ## v0.93.0
1357
1358 ### 🛑 Breaking changes 🛑
1359
1360 - `bug_fix`: Implement `encoding.BinaryMarshaler` interface to prevent `configopaque` -> `[]byte` -> `string` conversions from leaking the value (#9279)
1361 - `configopaque`: configopaque.String implements `fmt.Stringer` and `fmt.GoStringer`, outputting [REDACTED] when formatted with the %s, %q or %#v verbs` (#9213)
1362 This may break applications that rely on the previous behavior of opaque strings with `fmt.Sprintf` to e.g. build URLs or headers.
1363 Explicitly cast the opaque string to a string before using it in `fmt.Sprintf` to restore the previous behavior.
1364
1365 - `all`: Remove obsolete "// +build" directives (#9304)
1366 - `connectortest`: Remove deprecated connectortest router helpers. (#9278)
1367
1368 ### 🚩 Deprecations 🚩
1369
1370 - `obsreporttest`: deprecate test funcs/structs (#8492)
1371 The following methods/structs have been moved from obsreporttest to componenttest:
1372 - obsreporttest.TestTelemetry -> componenttest.TestTelemetry
1373 - obsreporttest.SetupTelemetry -> componenttest.SetupTelemetry
1374 - obsreporttest.CheckScraperMetrics -> TestTelemetry.CheckScraperMetrics
1375 - obsreporttest.TestTelemetry.TelemetrySettings -> componenttest.TestTelemetry.TelemetrySettings()
1376
1377 - `confignet`: Deprecates `DialContext` and `ListenContext` functions. Use `Dial` and `Listen` instead. (#9258)
1378 Unlike the previous `Dial` and `Listen` functions, the new `Dial` and `Listen` functions take a `context.Context` like `DialContext` and `ListenContext`.
1379
1380 ## v1.0.1/v0.92.0
1381
1382 ### 🛑 Breaking changes 🛑
1383
1384 - `otlpexporter`: Change Config members names to use Config suffix. (#9091)
1385 - `component`: Remove deprecated unused TelemetrySettingsBase (#9145)
1386
1387 ### 🚩 Deprecations 🚩
1388
1389 - `confignet`: Deprecates the `Dial` and `Listen` functions in favor of `DialContext` and `ListenContext`. (#9163)
1390 - `component`: Deprecate unnecessary type StatusFunc (#9146)
1391
1392 ## v0.91.0
1393
1394 ## v1.0.0/v0.90.0
1395
1396 ### 🛑 Breaking changes 🛑
1397
1398 - `exporterhelper`: Replace converter interface with function in the new experimental exporter helper. (#8122)
1399 - `featuregate`: Remove deprecate function `featuregate.NewFlag` (#8727)
1400 Use `featuregate.Registry`'s `RegisterFlags` method instead.
1401
1402 ### 🚩 Deprecations 🚩
1403
1404 - `telemetry`: deprecate jsonschema generated types (#15009)
1405
1406 ### 💡 Enhancements 💡
1407
1408 - `pdata`: Add ZeroThreshold field to exponentialHistogramDataPoint in pmetric package. (#8802)
1409
1410 ## v1.0.0-rcv0018/v0.89.0
1411
1412 ### 🛑 Breaking changes 🛑
1413
1414 - `otelcol`: CollectorSettings.Factories now expects: `func() (Factories, error)` (#8478)
1415 - `exporter/exporterhelper`: The experimental Request API is updated. (#7874)
1416 - `Request` interface now includes ItemsCount() method.
1417 - `RequestItemsCounter` is removed.
1418 - The following interfaces are added:
1419 - Added an optional interface for handling errors that occur during request processing `RequestErrorHandler`.
1420 - Added a function to unmarshal bytes into a Request `RequestUnmarshaler`.
1421 - Added a function to marshal a Request into bytes `RequestMarshaler`
1422
1423
1424 ### 🚩 Deprecations 🚩
1425
1426 - `featuregate`: Deprecate `featuregate.NewFlag` in favor of `featuregate.Registry`'s `RegisterFlags` method (#8727)
1427
1428 ### 💡 Enhancements 💡
1429
1430 - `featuregate`: Add validation for feature gates ID, URL and versions. (#8766)
1431 Feature gates IDs are now explicitly restricted to ASCII alphanumerics and dots.
1432
1433
1434 ## v1.0.0-rcv0017/v0.88.0
1435
1436 ### 💡 Enhancements 💡
1437
1438 - `pdata`: Add IsReadOnly() method to p[metrics|logs|traces].[Metrics|Logs|Spans] pdata structs allowing to check if the struct is read-only. (#6794)
1439
1440 ## v1.0.0-rcv0016/v0.87.0
1441
1442 ### 💡 Enhancements 💡
1443
1444 - `pdata`: Introduce API to control pdata mutability (#6794)
1445 This change introduces new API pdata methods to control the mutability:
1446 - p[metric|trace|log].[Metrics|Traces|Logs].MarkReadOnly() - marks the pdata as read-only. Any subsequent
1447 mutations will result in a panic.
1448 - p[metric|trace|log].[Metrics|Traces|Logs].IsReadOnly() - returns true if the pdata is marked as read-only.
1449 Currently, all the data is kept mutable. This API will be used by fanout consumer in the following releases.
1450
1451 ### 🛑 Breaking changes 🛑
1452
1453 - `obsreport`: remove methods/structs deprecated in previous release. (#8492)
1454 - `extension`: remove deprecated Configs and Factories (#8631)
1455
1456 ## v1.0.0-rcv0015/v0.86.0
1457
1458 ### 🛑 Breaking changes 🛑
1459
1460 - `service`: remove deprecated service.PipelineConfig (#8485)
1461
1462 ### 🚩 Deprecations 🚩
1463
1464 - `obsreporttest`: deprecate To*CreateSettings funcs in obsreporttest (#8492)
1465 The following TestTelemetry methods have been deprecated. Use structs instead:
1466 - ToExporterCreateSettings -> exporter.CreateSettings
1467 - ToProcessorCreateSettings -> processor.CreateSettings
1468 - ToReceiverCreateSettings -> receiver.CreateSettings
1469
1470 - `obsreport`: Deprecating `obsreport.Exporter`, `obsreport.ExporterSettings`, `obsreport.NewExporter` (#8492)
1471 These deprecated methods/structs have been moved to exporterhelper:
1472 - `obsreport.Exporter` -> `exporterhelper.ObsReport`
1473 - `obsreport.ExporterSettings` -> `exporterhelper.ObsReportSettings`
1474 - `obsreport.NewExporter` -> `exporterhelper.NewObsReport`
1475
1476 - `obsreport`: Deprecating `obsreport.BuildProcessorCustomMetricName`, `obsreport.Processor`, `obsreport.ProcessorSettings`, `obsreport.NewProcessor` (#8492)
1477 These deprecated methods/structs have been moved to processorhelper:
1478 - `obsreport.BuildProcessorCustomMetricName` -> `processorhelper.BuildCustomMetricName`
1479 - `obsreport.Processor` -> `processorhelper.ObsReport`
1480 - `obsreport.ProcessorSettings` -> `processorhelper.ObsReportSettings`
1481 - `obsreport.NewProcessor` -> `processorhelper.NewObsReport`
1482
1483 - `obsreport`: Deprecating obsreport scraper and receiver API (#8492)
1484 These deprecated methods/structs have been moved to receiverhelper and scraperhelper:
1485 - `obsreport.Receiver` -> `receiverhelper.ObsReport`
1486 - `obsreport.ReceiverSettings` -> `receiverhelper.ObsReportSettings`
1487 - `obsreport.NewReceiver` -> `receiverhelper.NewObsReport`
1488 - `obsreport.Scraper` -> `scraperhelper.ObsReport`
1489 - `obsreport.ScraperSettings` -> `scraperhelper.ObsReportSettings`
1490 - `obsreport.NewScraper` -> `scraperhelper.NewObsReport`
1491
1492
1493 ### 💡 Enhancements 💡
1494
1495 - `otelcol`: Splitting otelcol into its own module. (#7924)
1496 - `service`: Split service into its own module (#7923)
1497
1498 ## v0.85.0
1499
1500 ## v0.84.0
1501
1502 ### 💡 Enhancements 💡
1503
1504 - `exporter/exporterhelper`: Introduce a new exporter helper that operates over client-provided requests instead of pdata (#7874)
1505 The following experimental API is introduced in exporter/exporterhelper package:
1506 - `NewLogsRequestExporter`: a new exporter helper for logs.
1507 - `NewMetricsRequestExporter`: a new exporter helper for metrics.
1508 - `NewTracesRequestExporter`: a new exporter helper for traces.
1509 - `Request`: an interface for client-defined requests.
1510 - `RequestItemsCounter`: an optional interface for counting the number of items in a Request.
1511 - `LogsConverter`: an interface for converting plog.Logs to Request.
1512 - `MetricsConverter`: an interface for converting pmetric.Metrics to Request.
1513 - `TracesConverter`: an interface for converting ptrace.Traces to Request.
1514 All the new APIs are intended to be used by exporters that need to operate over client-provided requests instead of pdata.
1515
1516 - `otlpreceiver`: Export HTTPConfig as part of the API for creating the otlpreceiver configuration. (#8175)
1517 Changes signature of receiver/otlpreceiver/config.go type httpServerSettings to HTTPConfig.
1518
1519 ## v0.83.0
1520
1521 ### 🛑 Breaking changes 🛑
1522
1523 - `all`: Remove go 1.19 support, bump minimum to go 1.20 and add testing for 1.21 (#8207)
1524
1525 ### 💡 Enhancements 💡
1526
1527 - `changelog`: Generate separate changelogs for end users and package consumers (#8153)