Skip to content

Commit b8d23a3

Browse files
authored
netty:Upgrade Netty from 4.1.79 to 4.1.87, tcnative from 2.0.54 to 2.0.56 (#9784)
* Upgrade Netty from 4.1.79 to 4.1.87 and tcnative from 2.0.54 to 2.0.56
1 parent 5983be1 commit b8d23a3

File tree

6 files changed

+23
-21
lines changed

6 files changed

+23
-21
lines changed

SECURITY.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ If you are running in a runtime environment that also uses Netty (e.g., Hadoop,
387387
Below are known to work version combinations:
388388

389389
grpc-netty version | netty-handler version | netty-tcnative-boringssl-static version
390-
------------------ | --------------------- | ---------------------------------------
390+
------------------ |-----------------------| ---------------------------------------
391391
1.0.0-1.0.1 | 4.1.3.Final | 1.1.33.Fork19
392392
1.0.2-1.0.3 | 4.1.6.Final | 1.1.33.Fork23
393393
1.1.x-1.3.x | 4.1.8.Final | 1.1.33.Fork26
@@ -412,7 +412,8 @@ grpc-netty version | netty-handler version | netty-tcnative-boringssl-static ver
412412
1.42.x-1.43.x | 4.1.63.Final | 2.0.38.Final
413413
1.44.x-1.47.x | 4.1.72.Final | 2.0.46.Final
414414
1.48.x-1.49.x | 4.1.77.Final | 2.0.53.Final
415-
1.50.x- | 4.1.79.Final | 2.0.54.Final
415+
1.50.x-1.53.x | 4.1.79.Final | 2.0.54.Final
416+
1.54.x- | 4.1.87.Final | 2.0.56.Final
416417

417418
_(grpc-netty-shaded avoids issues with keeping these versions in sync.)_
418419

examples/example-tls/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1515
<grpc.version>1.54.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
1616
<protoc.version>3.21.7</protoc.version>
17-
<netty.tcnative.version>2.0.54.Final</netty.tcnative.version>
17+
<netty.tcnative.version>2.0.56.Final</netty.tcnative.version>
1818
<!-- required for jdk9 -->
1919
<maven.compiler.source>1.7</maven.compiler.source>
2020
<maven.compiler.target>1.7</maven.compiler.target>

examples/example-xds/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ targetCompatibility = 1.8
2323
// Feel free to delete the comment at the next line. It is just for safely
2424
// updating the version in our release process.
2525
def grpcVersion = '1.54.0-SNAPSHOT' // CURRENT_GRPC_VERSION
26-
def nettyTcNativeVersion = '2.0.31.Final'
26+
def nettyTcNativeVersion = '2.0.56.Final'
2727
def protocVersion = '3.21.7'
2828

2929
dependencies {

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ autovalue = "1.9"
55
checkstyle = "8.28"
66
googleauth = "1.4.0"
77
guava = "31.1-android"
8-
netty = '4.1.79.Final'
9-
nettytcnative = '2.0.54.Final'
8+
netty = '4.1.87.Final'
9+
nettytcnative = '2.0.56.Final'
1010
opencensus = "0.31.0"
1111
protobuf = "3.21.7"
1212

netty/shaded/src/testShadow/java/io/grpc/netty/shaded/ShadingTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ public void noNormalNetty() throws Exception {
7878
public void nettyResourcesUpdated() throws IOException {
7979
InputStream inputStream = NettyChannelBuilder.class.getClassLoader()
8080
.getResourceAsStream(
81-
"META-INF/native-image/io.grpc.netty.shaded.io.netty/transport/reflection-config.json");
81+
"META-INF/native-image/io.grpc.netty.shaded.io.netty/netty-transport/"
82+
+ "reflection-config.json");
8283
assertThat(inputStream).isNotNull();
8384

8485
Scanner s = new Scanner(inputStream, StandardCharsets.UTF_8.name()).useDelimiter("\\A");

repositories.bzl

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,20 @@ IO_GRPC_GRPC_JAVA_ARTIFACTS = [
2626
"com.google.truth:truth:1.0.1",
2727
"com.squareup.okhttp:okhttp:2.7.5",
2828
"com.squareup.okio:okio:1.17.5",
29-
"io.netty:netty-buffer:4.1.79.Final",
30-
"io.netty:netty-codec-http2:4.1.79.Final",
31-
"io.netty:netty-codec-http:4.1.79.Final",
32-
"io.netty:netty-codec-socks:4.1.79.Final",
33-
"io.netty:netty-codec:4.1.79.Final",
34-
"io.netty:netty-common:4.1.79.Final",
35-
"io.netty:netty-handler-proxy:4.1.79.Final",
36-
"io.netty:netty-handler:4.1.79.Final",
37-
"io.netty:netty-resolver:4.1.79.Final",
38-
"io.netty:netty-tcnative-boringssl-static:2.0.54.Final",
39-
"io.netty:netty-tcnative-classes:2.0.54.Final",
40-
"io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.79.Final",
41-
"io.netty:netty-transport-native-unix-common:4.1.79.Final",
42-
"io.netty:netty-transport:4.1.79.Final",
29+
"io.netty:netty-buffer:4.1.87.Final",
30+
"io.netty:netty-codec-http2:4.1.87.Final",
31+
"io.netty:netty-codec-http:4.1.87.Final",
32+
"io.netty:netty-codec-socks:4.1.87.Final",
33+
"io.netty:netty-codec:4.1.87.Final",
34+
"io.netty:netty-common:4.1.87.Final",
35+
"io.netty:netty-handler-proxy:4.1.87.Final",
36+
"io.netty:netty-handler:4.1.87.Final",
37+
"io.netty:netty-resolver:4.1.87.Final",
38+
"io.netty:netty-tcnative-boringssl-static:2.0.56.Final",
39+
"io.netty:netty-tcnative-classes:2.0.56.Final",
40+
"io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.87.Final",
41+
"io.netty:netty-transport-native-unix-common:4.1.87.Final",
42+
"io.netty:netty-transport:4.1.87.Final",
4343
"io.opencensus:opencensus-api:0.24.0",
4444
"io.opencensus:opencensus-contrib-grpc-metrics:0.24.0",
4545
"io.perfmark:perfmark-api:0.25.0",

0 commit comments

Comments
 (0)