Skip to content

Commit c252fdf

Browse files
authored
Prepare release 1.20.0 (#4931)
* Add changelog for 1.20.0 * Add missing since annotations
1 parent 362bc0a commit c252fdf

File tree

3 files changed

+88
-0
lines changed

3 files changed

+88
-0
lines changed

CHANGELOG.md

+85
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,91 @@
22

33
## Unreleased
44

5+
### API
6+
7+
- Fix bug in `W3CBaggagePropagator` that caused `+` characters to be decoded as whitespace ` `.
8+
[(#4898)](https://github.com/open-telemetry/opentelemetry-java/pull/4898)
9+
10+
#### API Extensions
11+
12+
* DEPRECATION: the `opentelemetry-extension-aws` module containing
13+
various `AwsXrayPropagator` implementations has been deprecated for removal in next major version.
14+
A copy of the code will instead be maintained
15+
in [opentelemetry-java-contrib/aws-xray-propagator](https://github.com/open-telemetry/opentelemetry-java-contrib/tree/main/aws-xray-propagator)
16+
and published under
17+
coordinates `io.opentelemetry.contrib:opentelemetry-aws-xray-propagator:{version}`.
18+
[(#4862)](https://github.com/open-telemetry/opentelemetry-java/pull/4862)
19+
20+
### SDK
21+
22+
#### Traces
23+
24+
* Add graal hints for shaded dependencies, allowing `JcTools` queue to be used in graal environment.
25+
[(#4832)](https://github.com/open-telemetry/opentelemetry-java/pull/4832)
26+
* `Sampler#getDescription()` implementations are now locale independent.
27+
[(#4877)](https://github.com/open-telemetry/opentelemetry-java/pull/4887)
28+
* Allow SDK to run in environments prohibiting use of `sun.misc.Unsafe`.
29+
[(#4902)](https://github.com/open-telemetry/opentelemetry-java/pull/4902)
30+
31+
#### Metrics
32+
33+
* Add `toString` to `AbstractInstrument`.
34+
[(#4833)](https://github.com/open-telemetry/opentelemetry-java/pull/4883)
35+
* Add zero bucket boundary to default explicit bucket histogram aggregation.
36+
[(#4819)](https://github.com/open-telemetry/opentelemetry-java/pull/4819)
37+
38+
#### Logs
39+
40+
* Optimize log hot path, reducing allocations significantly.
41+
[(#4913)](https://github.com/open-telemetry/opentelemetry-java/pull/4913)
42+
* BREAKING: Add `Context` argument to `LogRecordProcessor#onEmit`.
43+
[(#4889)](https://github.com/open-telemetry/opentelemetry-java/pull/4889)
44+
45+
#### Exporter
46+
47+
* `OtlpLogging{Signal}Exporter`s encode enums as numbers.
48+
[(#4783)](https://github.com/open-telemetry/opentelemetry-java/pull/4783)
49+
* Add `User-Agent` header of `OTel OTLP Exporter Java/{version}` to OTLP export requests.
50+
[(#4784)](https://github.com/open-telemetry/opentelemetry-java/pull/4784)
51+
52+
#### SDK Extensions
53+
54+
* WARNING: `opentelemetry-sdk-extension-aws` has been removed following its relocation
55+
to [opentelemetry-java-contrib/instrumentation-aws-xray](https://github.com/open-telemetry/opentelemetry-java-contrib/tree/main/aws-xray),
56+
which is published under
57+
coordinates `io.opentelemetry.contrib:opentelemetry-aws-resources:{version}`.
58+
We will push security patches to `1.19.x` as needed. The latest `opentelemetry-bom` will point
59+
to the latest published version, currently `1.19.0`.
60+
[(#4830)](https://github.com/open-telemetry/opentelemetry-java/pull/4830)
61+
* WARNING: `opentelemetry-sdk-extension-resources` has been removed following its relocation
62+
to [opentelemetry-java-instrumentation/instrumentation/resources/library](https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/resources/library),
63+
which is published under
64+
coordinates `io.opentelemetry.instrumentation:opentelemetry-resources:{version}`.
65+
We will push security patches to `1.19.x` as needed. The latest `opentelemetry-bom` will point
66+
to the latest published version, currently `1.19.0`.
67+
[(#4828)](https://github.com/open-telemetry/opentelemetry-java/pull/4828)
68+
* Add autoconfigure support for `BatchLogRecordProcessor`.
69+
[(#4811)](https://github.com/open-telemetry/opentelemetry-java/pull/4811)
70+
* Autoconfigure performs percent decoding on `otel.resource.attributes` values.
71+
[(#4653)](https://github.com/open-telemetry/opentelemetry-java/issues/4653)
72+
* Unify compression configuration for exporters including
73+
[(#4775)](https://github.com/open-telemetry/opentelemetry-java/issues/4775):
74+
* Fix handling of `none` in OTLP exporters.
75+
* Add `JaegerGrpcSpanExporterBuilder#setCompression(String)`.
76+
* Add `ZipkinSpanExporterBuilder#setCompression(String)`.
77+
78+
### Semantic Conventions
79+
80+
* Add migration notes to deprecated attributes
81+
[(#4840)](https://github.com/open-telemetry/opentelemetry-java/pull/4840)
82+
83+
### OpenTracing Shim
84+
85+
* Use `opentracing-shim` as instrumentation scope name.
86+
[(#4890)](https://github.com/open-telemetry/opentelemetry-java/pull/4890)
87+
* Add full support for multiple parents.
88+
[(#4916)](https://github.com/open-telemetry/opentelemetry-java/pull/4916)
89+
590
## Version 1.19.0 (2022-10-07)
691

792
This release contains a large number of changes to the log signal following a series of significant

exporters/jaeger/src/main/java/io/opentelemetry/exporter/jaeger/JaegerGrpcSpanExporterBuilder.java

+2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ public JaegerGrpcSpanExporterBuilder setEndpoint(String endpoint) {
6969
/**
7070
* Sets the method used to compress payloads. If unset, compression is disabled. Currently
7171
* supported compression methods include "gzip" and "none".
72+
*
73+
* @since 1.20.0
7274
*/
7375
public JaegerGrpcSpanExporterBuilder setCompression(String compressionMethod) {
7476
requireNonNull(compressionMethod, "compressionMethod");

exporters/zipkin/src/main/java/io/opentelemetry/exporter/zipkin/ZipkinSpanExporterBuilder.java

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ public ZipkinSpanExporterBuilder setEndpoint(String endpoint) {
101101
* @param compressionMethod The compression method, ex. "gzip".
102102
* @return this.
103103
* @see OkHttpSender
104+
* @since 1.20.0
104105
*/
105106
public ZipkinSpanExporterBuilder setCompression(String compressionMethod) {
106107
requireNonNull(compressionMethod, "compressionMethod");

0 commit comments

Comments
 (0)