Skip to content

fix(deps): update dependency org.apache.skywalking:apm-toolkit-trace to v9.8.0 - #77

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/org.apache.skywalking-apm-toolkit-trace-9.x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/org.apache.skywalking-apm-toolkit-trace-9.x

Conversation

@renovate

@renovate renovate Bot commented Dec 5, 2023 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
org.apache.skywalking:apm-toolkit-trace (source) 9.0.0 → 9.8.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

apache/skywalking-java (org.apache.skywalking:apm-toolkit-trace)

v9.8.0: 9.8.0

Changes by Version

Release Notes.

9.8.0

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

All issues and pull requests are here

v9.7.0: 9.7.0

Notice on 9.7.0. The 9.7.0 binary distribution, apache-skywalking-java-agent-9.7.0.tgz, was packaged on macOS
and carries AppleDouble ._* metadata files next to every jar, see
apache/skywalking#14080. The agent tries to load the ._*.jar
entries as plugins and activations, logs could not be resolved errors at startup, and the Logback activation can
fail to initialize, which breaks GRPCLogClientAppender log reporting. Traces and metrics still work, but the
distribution is not what was intended. 9.7.0 has therefore been removed from the downloads and documentation pages
on this site. Users on 9.7.0 should upgrade to 9.8.0, whose source and binary archives are built without these files.

Changes by Version

Release Notes.

9.7.0

  • Fix plugin.http.include_http_headers not working on Spring Boot 3.x / Jakarta EE (apache/skywalking#13938).
  • Support plugin.http.include_http_headers in the Tomcat plugin, collecting the configured request headers as the http.headers tag on Tomcat entry spans (e.g. RESTEasy on Tomcat), consistent with the Spring MVC plugin. Honors the shared plugin.http.http_headers_length_threshold.
  • Unify the Tomcat plugins into a single tomcat plugin (Tomcat 7 - 10) and the Jetty server plugins into a single jetty-server plugin (Jetty 9 - 11), each supporting both javax.servlet and jakarta.servlet. Breaking change: plugin names tomcat-7.x/8.x and tomcat-10.x are replaced by tomcat, and jetty-server-9.x and jetty-server-11.x by jetty-server; update plugin.exclude_plugins if you reference the old names.
  • Add a Jetty 12 server plugin (jetty-server-12.x). Jetty 12 removed the HttpChannel handle target and moved request handling to the async Server#handle(Request, Response, Callback) core API, so it needs a separate plugin from the merged jetty-server.
  • Add a Struts 7 plugin (struts2-7.x) for Jakarta Struts, whose DefaultActionInvocation moved to org.apache.struts2.
  • Added support for Lettuce reactive Redis commands.
  • Add tracing support for invokeAll and invokeAny in the JDK thread pool plugin (jdk-threadpool-plugin).
  • Add Spring AI 1.x plugin and GenAI layer.
  • Fix httpclient-5.x plugin injecting sw8 propagation headers into ClickHouse HTTP requests (port 8123), causing HTTP 400. Add PROPAGATION_EXCLUDE_PORTS config to skip tracing (including header injection) for specified ports in the classic client interceptor.
  • Add Spring RabbitMQ 2.x - 4.x plugin.
  • Extend MySQL plugin to support MySQL Connector/J 8.4.0 and 9.x (9.0 -> 9.6).
  • Extend MariaDB plugin to support MariaDB Connector/J 2.7.x.
  • Extend MongoDB 4.x plugin to support MongoDB Java Driver 4.2 -> 4.10. Fix db.bind_vars extraction for driver 4.9+ where InsertOperation/DeleteOperation/UpdateOperation classes were removed.
  • Fix MongoDB 4.x plugin for driver 4.11+ where Cluster.getDescription() was removed, use getCurrentDescription() instead.
  • Extend Feign plugin to support OpenFeign 10.x, 11.x, 12.1.
  • Add Feign 12.2+ PathVar support (BuildTemplateByResolvingArgs moved to RequestTemplateFactoryResolver).
  • Extend Undertow plugin to support Undertow 2.1.x, 2.2.x, 2.3.x.
  • Extend GraphQL plugin to support graphql-java 18 -> 24 (20+ requires JDK 17).
  • Extend Spring Kafka plugin to support Spring Kafka 2.4 -> 2.9 and 3.0 -> 3.3.
  • Enhance test/plugin/run.sh to support extra Maven properties per version in support-version.list (format: version,key=value).
  • Add MariaDB 3.x plugin (all classes renamed in 3.x).
  • Extend Jedis 4.x plugin to support Jedis 5.x (fix witness method for 5.x compatibility).
  • Add Elasticsearch Java client (co.elastic.clients:elasticsearch-java) plugin for 7.16.x-9.x.
  • Only publish apm-application-toolkit modules to Maven Central. Agent and plugins are distributed via download package and Docker images.
  • Add unified release script (tools/releasing/release.sh) with two-step flow: prepare-vote and vote-passed.
  • Fix an issue where JDBCPluginConfig.Plugin.JDBC.SQL_BODY_MAX_LENGTH was not honored by clickhouse-0.3.1 and clickhouse-0.3.2.x plugins.
  • Add tracing support for vector-store retrieval operations.
  • Fix agent lifecycle events: the Start event now carries the service instance name, and the Shutdown event is delivered on graceful JVM exit. ServiceManager prepares/starts higher-priority BootServices first and shuts them down last (matching BootService#priority()), and the shutdown event refreshes its gRPC deadline before sending.
  • Fix the SenderSendInterceptor in the nutz-plugins/http-1.x-plugin to avoid NPE caused by the Response status.

All issues and pull requests are here

v9.6.0: 9.6.0

What's Changed

New Contributors

Full Changelog: apache/skywalking-java@v9.5.0...v9.6.0

v9.5.0: 9.5.0

What's Changed

New Contributors

Full Changelog: apache/skywalking-java@v9.4.0...v9.5.0

v9.4.0

What's Changed

New Contributors

Full Changelog: apache/skywalking-java@v9.3.0...v9.4.0

v9.3.0: 9.3.0

What's Changed

New Contributors

Full Changelog: apache/skywalking-java@v9.2.0...v9.3.0

v9.2.0: 9.2.0

What's Changed

New Contributors

Full Changelog: apache/skywalking-java@v9.1.0...v9.2.0

v9.1.0: 9.1.0

Download

https://skywalking.apache.org/downloads/

Notice

Don't download source codes from this page.
Please follow build document, if you want to build source codes by yourself.

Features and Bug Fixes
  • Fix hbase onConstruct NPE in the file configuration scenario
  • Fix the issue of createSpan failure caused by invalid request URL in HttpClient 4.x/5.x plugin
  • Optimize ElasticSearch 6.x 7.x plugin compatibility
  • Fix an issue with the httpasyncclient component where the isError state is incorrect.
  • Support customization for the length limitation of string configurations
  • Add max length configurations in agent.config file for service_name and instance_name
  • Optimize spring-cloud-gateway 2.1.x, 3.x witness class.
  • Support report MongoDB instance info in Mongodb 4.x plugin.
  • To compatible upper and lower case Oracle TNS url parse.
  • Support collecting ZGC memory pool metrics. Require OAP 9.7.0 to support these new metrics.
  • Upgrade netty-codec-http2 to 4.1.100.Final
  • Add a netty-http 4.1.x plugin to trace HTTP requests.
  • Fix Impala Jdbc URL (including schema without properties) parsing exception.
  • Optimize byte-buddy type description performance.
  • Add eclipse-temurin:21-jre as another base image.
  • Bump byte-buddy to 1.14.9 for JDK21 support.
  • Add JDK21 plugin tests for Spring 6.
  • Bump Lombok to 1.18.30 to adopt JDK21 compiling.
  • Fix PostgreSQL Jdbc URL parsing exception.
  • Bump up grpc version.
  • Optimize plugin selector logic.
Documentation
  • Fix JDK requirement in the compiling docs.
  • Add JDK21 support in the compiling docs.

All issues and pull requests are here


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title fix(deps): update dependency org.apache.skywalking:apm-toolkit-trace to v9.1.0 fix(deps): update dependency org.apache.skywalking:apm-toolkit-trace to v9.2.0 Apr 3, 2024
@renovate
renovate Bot force-pushed the renovate/org.apache.skywalking-apm-toolkit-trace-9.x branch from fdf2490 to 98f65e5 Compare April 3, 2024 06:21
@renovate
renovate Bot force-pushed the renovate/org.apache.skywalking-apm-toolkit-trace-9.x branch from 98f65e5 to 504ce3b Compare July 29, 2024 02:02
@renovate renovate Bot changed the title fix(deps): update dependency org.apache.skywalking:apm-toolkit-trace to v9.2.0 fix(deps): update dependency org.apache.skywalking:apm-toolkit-trace to v9.3.0 Jul 29, 2024
@renovate
renovate Bot force-pushed the renovate/org.apache.skywalking-apm-toolkit-trace-9.x branch from 504ce3b to 94c6800 Compare March 3, 2025 15:38
@renovate renovate Bot changed the title fix(deps): update dependency org.apache.skywalking:apm-toolkit-trace to v9.3.0 fix(deps): update dependency org.apache.skywalking:apm-toolkit-trace to v9.4.0 Mar 3, 2025
@renovate
renovate Bot force-pushed the renovate/org.apache.skywalking-apm-toolkit-trace-9.x branch from 94c6800 to c4e57a2 Compare August 20, 2025 02:46
@renovate renovate Bot changed the title fix(deps): update dependency org.apache.skywalking:apm-toolkit-trace to v9.4.0 fix(deps): update dependency org.apache.skywalking:apm-toolkit-trace to v9.5.0 Aug 20, 2025
@renovate
renovate Bot force-pushed the renovate/org.apache.skywalking-apm-toolkit-trace-9.x branch from c4e57a2 to 0dbece0 Compare February 22, 2026 04:30
@renovate renovate Bot changed the title fix(deps): update dependency org.apache.skywalking:apm-toolkit-trace to v9.5.0 fix(deps): update dependency org.apache.skywalking:apm-toolkit-trace to v9.6.0 Feb 22, 2026
@renovate renovate Bot changed the title fix(deps): update dependency org.apache.skywalking:apm-toolkit-trace to v9.6.0 fix(deps): update dependency org.apache.skywalking:apm-toolkit-trace to v9.7.0 Aug 16, 2026
@renovate
renovate Bot force-pushed the renovate/org.apache.skywalking-apm-toolkit-trace-9.x branch from 0dbece0 to b336df4 Compare August 16, 2026 08:11
@renovate
renovate Bot force-pushed the renovate/org.apache.skywalking-apm-toolkit-trace-9.x branch from b336df4 to f391e15 Compare October 8, 2026 11:28
@renovate renovate Bot changed the title fix(deps): update dependency org.apache.skywalking:apm-toolkit-trace to v9.7.0 fix(deps): update dependency org.apache.skywalking:apm-toolkit-trace to v9.8.0 Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants