Skip to content

Commit da79bc2

Browse files
authored
Bump graphql-java to 25.2 and graphql-java-tools to 14.0.1 (#14262)
1 parent baa0537 commit da79bc2

4 files changed

Lines changed: 21 additions & 16 deletions

File tree

‎.licenserc.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ dependency:
124124
version: 18.1
125125
license: MIT
126126
- name: com.graphql-java:graphql-java
127-
version: 21.0
127+
version: 25.2
128128
license: MIT
129129
- name: com.github.luben:zstd-jni
130130
version: 1.4.3-1

‎dist-material/release-docs/LICENSE‎

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ The text of each license is the standard Apache 2.0 license.
206206
https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-guava/2.18.12 Apache-2.0
207207
https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.18.12 Apache-2.0
208208
https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jsr310/2.20.1 Apache-2.0
209-
https://mvnrepository.com/artifact/com.fasterxml.jackson.module/jackson-module-kotlin/2.13.4 Apache-2.0
210-
https://mvnrepository.com/artifact/com.fasterxml/classmate/1.5.1 Apache-2.0
209+
https://mvnrepository.com/artifact/com.fasterxml.jackson.module/jackson-module-kotlin/2.18.12 Apache-2.0
210+
https://mvnrepository.com/artifact/com.fasterxml/classmate/1.7.0 Apache-2.0
211211
https://mvnrepository.com/artifact/com.google.api.grpc/proto-google-common-protos/2.63.2 Apache-2.0
212212
https://mvnrepository.com/artifact/com.google.auto.service/auto-service-annotations/1.0.1 Apache-2.0
213213
https://mvnrepository.com/artifact/com.google.code.findbugs/jsr305/3.0.2 Apache-2.0
@@ -218,7 +218,7 @@ The text of each license is the standard Apache 2.0 license.
218218
https://mvnrepository.com/artifact/com.google.guava/guava/33.7.2-jre Apache-2.0
219219
https://mvnrepository.com/artifact/com.google.guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava Apache-2.0
220220
https://mvnrepository.com/artifact/com.google.inject/guice/4.1.0 Apache-2.0
221-
https://mvnrepository.com/artifact/com.graphql-java/java-dataloader/3.2.1 Apache-2.0
221+
https://mvnrepository.com/artifact/com.graphql-java/java-dataloader/6.0.0 Apache-2.0
222222
https://mvnrepository.com/artifact/com.linecorp.armeria/armeria/1.34.2 Apache-2.0
223223
https://mvnrepository.com/artifact/com.linecorp.armeria/armeria-graphql/1.34.2 Apache-2.0
224224
https://mvnrepository.com/artifact/com.linecorp.armeria/armeria-graphql-protocol/1.34.2 Apache-2.0
@@ -338,16 +338,14 @@ The text of each license is the standard Apache 2.0 license.
338338
https://mvnrepository.com/artifact/org.apache.zookeeper/zookeeper/3.9.5 Apache-2.0
339339
https://mvnrepository.com/artifact/org.apache.zookeeper/zookeeper-jute/3.9.5 Apache-2.0
340340
https://mvnrepository.com/artifact/org.freemarker/freemarker/2.3.35 Apache-2.0
341-
https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-reflect/1.7.10 Apache-2.0
342-
https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib/1.7.10 Apache-2.0
343-
https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib-common/1.7.10 Apache-2.0
341+
https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-reflect/2.1.20 Apache-2.0
342+
https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib/2.1.20 Apache-2.0
343+
https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib-common/1.9.10 Apache-2.0
344344
https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.8.21 Apache-2.0
345345
https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.8.21 Apache-2.0
346-
https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.6.4 Apache-2.0
347-
https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-jvm/1.6.4 Apache-2.0
348-
https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-jdk8/1.6.4 Apache-2.0
349-
https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-reactive/1.6.4 Apache-2.0
350-
https://mvnrepository.com/artifact/org.jetbrains/annotations/13.0 Apache-2.0
346+
https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-jvm/1.10.2 Apache-2.0
347+
https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-reactive/1.10.2 Apache-2.0
348+
https://mvnrepository.com/artifact/org.jetbrains/annotations/23.0.0 Apache-2.0
351349
https://mvnrepository.com/artifact/org.jspecify/jspecify/1.0.1 Apache-2.0
352350
https://mvnrepository.com/artifact/org.kiwiproject/consul-client/0.9.0 Apache-2.0
353351
https://mvnrepository.com/artifact/org.slf4j/jcl-over-slf4j/1.7.30 Apache-2.0
@@ -398,8 +396,8 @@ MIT licenses
398396
The following components are provided under the MIT License. See project link for details.
399397
The text of each license is also included in licenses/LICENSE-[project].txt.
400398

401-
https://mvnrepository.com/artifact/com.graphql-java-kickstart/graphql-java-tools/13.0.1 MIT
402-
https://mvnrepository.com/artifact/com.graphql-java/graphql-java/21.5 MIT
399+
https://mvnrepository.com/artifact/com.graphql-java-kickstart/graphql-java-tools/14.0.1 MIT
400+
https://mvnrepository.com/artifact/com.graphql-java/graphql-java/25.2 MIT
403401
https://mvnrepository.com/artifact/com.graphql-java/graphql-java-extended-scalars/18.1 MIT
404402
https://mvnrepository.com/artifact/org.checkerframework/checker-qual/3.36.0 MIT
405403
https://mvnrepository.com/artifact/org.codehaus.mojo/animal-sniffer-annotations/1.26 MIT

‎docs/en/changes/changes.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* Test every request the Elasticsearch client sends for OAP on a server of each request format it picks by version: Elasticsearch 6.8.23, 7.7.1 (legacy index templates), 7.8.0 and 7.17.29 (composable index templates), 8.19.25 and 9.3.0, and OpenSearch 1.3.20, 2.8.0 and 3.0.0. Elasticsearch 7.4.2, 7.15.0 and 8.9.0 and OpenSearch 2.4.0 leave the client IT, whose formats the versions above cover. Each server starts once for all its tests, so the job takes about 3 minutes instead of 20.
1212
* Run every e2e case that stores in Elasticsearch on Elasticsearch 8.18.8 and 9.3.0; only the storage case ran on 9.3.0 before. The OTLP native trace case also keeps Elasticsearch 7.15.0. Outside the CI matrix, these cases default to 8.18.8.
1313
* Fix the mini-program e2e log check failing about 1 run in 4: a log whose content held a `'` broke the YAML of the expected log.
14+
* Bump graphql-java `21.5` → `25.2` and graphql-java-tools `13.0.1` → `14.0.1`. graphql-java shades its own copy of guava into its jar, and `21.5` carries guava `32.1.2-jre`, which scanners report as vulnerable even though the OAP manages its standalone guava to a newer version; `25.2` shades guava `33.8.0-jre`. graphql-java-tools `13.0.1` calls a graphql-java parser method that `24.0` removed, so it moves to `14.0.1`, which pulls in Kotlin `2.1.20`; its jackson-module-kotlin is pinned to the managed jackson version. `25.x` is also the graphql-java line armeria-graphql `1.34.2` is built against.
1415

1516
#### OAP Server
1617
* Fix the Cilium fetcher dropping or double-reading Cilium nodes. The Peer notify stream, the cluster watcher and the 10-second refresh timer rebuilt the shared node list without a lock, which could open two flow streams for one node or keep a closed node as in use. A node closed when this OAP's share of nodes moved away was reused, still closed, when the share moved back (e.g. after scaling the OAP cluster out and back in), so that node went unread while the assignment lasted. A `Receiver`-role OAP on a ZooKeeper, Consul, Nacos or etcd coordinator never finds itself in the cluster list and, when Cilium nodes and other OAPs were listed, threw on every refresh; it now skips Cilium fetching quietly, as the `Mixed` and `Aggregator` OAPs share all Cilium nodes among themselves.

‎oap-server-bom/pom.xml‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
<slf4j.version>1.7.30</slf4j.version>
3232
<log4j.version>2.25.5</log4j.version>
3333
<google.error_prone_annotations>2.11.0</google.error_prone_annotations>
34-
<graphql-java-tools.version>13.0.1</graphql-java-tools.version>
35-
<graphql-java.version>21.5</graphql-java.version>
34+
<graphql-java-tools.version>14.0.1</graphql-java-tools.version>
35+
<graphql-java.version>25.2</graphql-java.version>
3636
<graphql-java-extended-scalars.version>18.1</graphql-java-extended-scalars.version>
3737
<okhttp.version>4.12.0</okhttp.version>
3838
<httpclient.version>4.5.13</httpclient.version>
@@ -366,6 +366,12 @@
366366
<artifactId>jackson-datatype-guava</artifactId>
367367
<version>${jackson.version}</version>
368368
</dependency>
369+
<!-- graphql-java-tools pulls jackson-module-kotlin newer than the managed jackson; keep it on the managed version. -->
370+
<dependency>
371+
<groupId>com.fasterxml.jackson.module</groupId>
372+
<artifactId>jackson-module-kotlin</artifactId>
373+
<version>${jackson.version}</version>
374+
</dependency>
369375
<dependency>
370376
<groupId>commons-codec</groupId>
371377
<artifactId>commons-codec</artifactId>

0 commit comments

Comments
 (0)