Skip to content

Commit 42586bf

Browse files
authored
Release 9.8.0 (#839)
1 parent b4686a6 commit 42586bf

250 files changed

Lines changed: 328 additions & 321 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎CHANGES.md‎

Lines changed: 2 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -2,79 +2,11 @@ Changes by Version
22
==================
33
Release Notes.
44

5-
9.8.0
5+
9.9.0
66
------------------
77

8-
* Fix the `spring-cloud-gateway-4.x` plugin propagating another request's context. Since Spring Cloud
9-
Gateway 4.1.2 the outbound chain is assembled in `NettyRoutingFilter#filter` but subscribed later, so the
10-
plugin parked the request's `ContextSnapshot` on the `HttpClient` returned by
11-
`NettyRoutingFilter#getHttpClient`, which is the single shared bean unless a connect timeout is configured.
12-
A concurrent request could overwrite it before the chain was subscribed, and the outbound `sw8` header then
13-
carried a context the downstream service joined by mistake. The snapshot is held by a client derived per
14-
request now (apache/skywalking#14095).
15-
* Fix the `httpclient-5.x-plugin` async client tracing (apache/skywalking#14097):
16-
* `FutureCallback` no longer stops a span. With `HttpAsyncClients.classic(...)` the callback runs on the caller
17-
thread, where it used to close the caller's own active span.
18-
* The HTTP exit span is now created in the caller's context when the request is sent, detached right away, and
19-
finished by reference when the response ends. Nothing is left on the I/O reactor thread's span stack any more,
20-
so overlapping requests on one reactor thread no longer nest into or close each other's spans.
21-
* The `httpasyncclient/local` span and its cross-thread segment are removed. The HTTP exit span now lives in the
22-
caller's own segment.
23-
* HttpClient 5.4+ async requests are traced now. Previously the plugin produced no spans for them, because
24-
`doExecute` received a `null` `HttpContext` and the request was not yet in the context when `IOSessionImpl#poll`
25-
ran.
26-
* A response that fails after its head, while the body is read or when the consumer builds the result at EOF,
27-
now ends the span as an error with the exception logged, instead of as a success or an error without a cause.
28-
* The destination is taken from the explicit target or the request authority, as the client routes it, so
29-
routable names that `java.net.URI` does not parse as a host (e.g. `service_name`) are traced and propagated.
30-
* The `url` tag keeps the path encoded as it was sent (e.g. `%2F` stays `%2F`).
31-
* The `httpclient-5.x-scenario` now tests one version per minor, 5.0 to 5.6.
32-
* Fix the `NullPointerException` thrown by the `spring-webflux-5.x-webclient` and
33-
`spring-webflux-6.x-webclient` plugins when `DefaultClientRequestBuilder$BodyInserterRequest#writeTo` runs
34-
before any exit span exists. Connectors such as `JdkClientHttpConnector` call `writeTo` eagerly at assembly
35-
time, while the exchange interceptor creates the exit span and its `ContextCarrier` only at subscription, so
36-
the interception failed and the `sw8` header was not propagated. The carrier injection is now null-guarded
37-
and, if the carrier is still absent, retried when the returned `Mono` is subscribed (apache/skywalking#13589).
38-
* Fix the `spring-ai-1.x-plugin` `ChatModelStreamInterceptor` leaking its async span when
39-
`ChatModel#stream(Prompt)` fails synchronously, which silently dropped the whole `TraceSegment`
40-
of the request (apache/skywalking#14098).
41-
* Fix `jedis-4.x-plugin`'s `AbstractConnectionInterceptor` double-stopping the span stack on any
42-
Redis-level exception (or a null dynamic field on a pooled/recycled `Connection`), which corrupted
43-
the parent trace for the rest of the request (apache/skywalking#14085).
44-
* Add Spring LDAP 3.3.x-4.x plugin.
45-
* Exclude macOS metadata files from source and binary release archives (apache/skywalking#14080).
46-
* Fix `NoSuchMethodError: org.apache.skywalking.apm.plugin.spring.webflux.v6.DispatcherHandlerHandleMethodInterceptor`
47-
on Spring Framework 7 (Spring Boot 4). `HttpHeaders` no longer implements `MultiValueMap`, so
48-
`List get(Object)` was removed; the entry span was never created and the service produced no
49-
traces. Affects `spring-webflux-6.x` and, through its shaded copy, `spring-cloud-gateway-4.x`
50-
(apache/skywalking#14047).
51-
* Extend `spring-webflux-6.x`, `spring-webflux-6.x-webclient`, `springmvc-annotation-6.x`,
52-
`spring-resttemplate-6.x` and `spring-cloud-gateway-4.x` plugins to support Spring Framework 7,
53-
Spring Boot 4 and Spring Cloud Gateway 5.x.
54-
* Add Spring version witnesses to the `spring-webflux-5.x` and `spring-webflux-6.x` plugins, so they
55-
no longer both match `DispatcherHandler#handle` on Reactor 3.4 (Spring Boot 2.4-2.7).
56-
* **Breaking:** rename `apm-toolkit-webflux` to `apm-toolkit-webflux-5.x` and move its package to
57-
`org.apache.skywalking.apm.toolkit.webflux.v5`; add `apm-toolkit-webflux-6.x`
58-
(`org.apache.skywalking.apm.toolkit.webflux.v6`) for Reactor 3.5+ / Spring Boot 3.x and 4.x, where
59-
`WebFluxSkyWalkingOperators#continueTracing` previously threw `NoSuchMethodError` because Reactor
60-
removed `Signal#getContext()` in 3.5.0. Existing `apm-toolkit-webflux` jars (9.7.0 and earlier)
61-
remain instrumented by the agent, so upgrading the agent alone does not force a change.
62-
* Fix the Log4j2 plugin descriptor (`Log4j2Plugins.dat`) missing from the `apm-toolkit-log4j-2.x` jar since 9.5.0, which broke `%traceId` and `%sw_ctx` resolution in Log4j2 `PatternLayout` (apache/skywalking#14006).
63-
* Deploy the root `java-agent` POM to Maven Central again. It is the parent of
64-
`apm-application-toolkit` and therefore of every published toolkit artifact, but 9.7.0 skipped it,
65-
so resolving any `org.apache.skywalking:apm-toolkit-*:9.7.0` failed with `Non-resolvable parent POM
66-
... Could not find artifact org.apache.skywalking:java-agent:pom:9.7.0` (apache/skywalking#13988).
67-
* Stop reporting datasource timeout configuration as metrics. The c3p0 `maxIdleTime`, DBCP `maxWaitMillis`
68-
and HikariCP `connectionTimeout`, `validationTimeout`, `idleTimeout` and `leakDetectionThreshold` gauges are no longer reported.
69-
* Support logback 1.6.x in `apm-toolkit-logback-1.x` (apache/skywalking#14120). `TraceIdPatternLogbackLayout` and
70-
`TraceIdMDCPatternLogbackLayout` failed with `NoSuchFieldError: defaultConverterMap`, because logback 1.6.0 removed
71-
`PatternLayout.defaultConverterMap`. The layouts now register their conversion words in the logging context's
72-
conversion rule registry when they start, which logback 1.2.x to 1.6.x all read, so the same toolkit artifact keeps
73-
working on older logback. Logback 1.5.13 is not supported because of an upstream regression fixed in 1.5.14
74-
(qos-ch/logback#885). The words are no longer registered for the whole JVM, so using `%tid` or `%sw_ctx` in
75-
other encoders, such as a plain `<encoder><pattern>`, requires declaring them as `<conversionRule>`s.
768

77-
All issues and pull requests are [here](https://github.com/apache/skywalking/milestone/263?closed=1)
9+
All issues and pull requests are [here](https://github.com/apache/skywalking/milestone/267?closed=1)
7810

7911
------------------
8012
Find change logs of all versions [here](changes).

‎apm-application-toolkit/apm-toolkit-kafka/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>apm-application-toolkit</artifactId>
2323
<groupId>org.apache.skywalking</groupId>
24-
<version>9.8.0-SNAPSHOT</version>
24+
<version>9.9.0-SNAPSHOT</version>
2525
</parent>
2626
<modelVersion>4.0.0</modelVersion>
2727

‎apm-application-toolkit/apm-toolkit-log4j-1.x/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>apm-application-toolkit</artifactId>
2323
<groupId>org.apache.skywalking</groupId>
24-
<version>9.8.0-SNAPSHOT</version>
24+
<version>9.9.0-SNAPSHOT</version>
2525
</parent>
2626
<modelVersion>4.0.0</modelVersion>
2727

‎apm-application-toolkit/apm-toolkit-log4j-2.x/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>apm-application-toolkit</artifactId>
2323
<groupId>org.apache.skywalking</groupId>
24-
<version>9.8.0-SNAPSHOT</version>
24+
<version>9.9.0-SNAPSHOT</version>
2525
</parent>
2626
<modelVersion>4.0.0</modelVersion>
2727

‎apm-application-toolkit/apm-toolkit-logback-1.x/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>apm-application-toolkit</artifactId>
2323
<groupId>org.apache.skywalking</groupId>
24-
<version>9.8.0-SNAPSHOT</version>
24+
<version>9.9.0-SNAPSHOT</version>
2525
</parent>
2626
<modelVersion>4.0.0</modelVersion>
2727

‎apm-application-toolkit/apm-toolkit-meter/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>apm-application-toolkit</artifactId>
2222
<groupId>org.apache.skywalking</groupId>
23-
<version>9.8.0-SNAPSHOT</version>
23+
<version>9.9.0-SNAPSHOT</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

‎apm-application-toolkit/apm-toolkit-micrometer-1.10/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>apm-application-toolkit</artifactId>
2222
<groupId>org.apache.skywalking</groupId>
23-
<version>9.8.0-SNAPSHOT</version>
23+
<version>9.9.0-SNAPSHOT</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

‎apm-application-toolkit/apm-toolkit-micrometer-registry/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>apm-application-toolkit</artifactId>
2222
<groupId>org.apache.skywalking</groupId>
23-
<version>9.8.0-SNAPSHOT</version>
23+
<version>9.9.0-SNAPSHOT</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

‎apm-application-toolkit/apm-toolkit-opentracing/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>apm-application-toolkit</artifactId>
2323
<groupId>org.apache.skywalking</groupId>
24-
<version>9.8.0-SNAPSHOT</version>
24+
<version>9.9.0-SNAPSHOT</version>
2525
</parent>
2626
<modelVersion>4.0.0</modelVersion>
2727

‎apm-application-toolkit/apm-toolkit-trace/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>apm-application-toolkit</artifactId>
2222
<groupId>org.apache.skywalking</groupId>
23-
<version>9.8.0-SNAPSHOT</version>
23+
<version>9.9.0-SNAPSHOT</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

0 commit comments

Comments
 (0)