[JAVA-5038] Upgrade Netty from 4.1.84.Final to 4.1.87.Final Created: 22/Jun/23  Updated: 28/Oct/23  Resolved: 23/Jun/23

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 4.11.0

Type: Improvement Priority: Minor - P4
Reporter: Valentin Kavalenka Assignee: Valentin Kavalenka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
Problem/Incident
Backwards Compatibility: Fully Compatible
Documentation Changes: Needed
Documentation Changes Summary:

Let's mention in What's new that the driver increased the version of the optional Netty dependency from from 4.1.84.Final to 4.1.87.Final.

P.S. The reason this change is marked as "fully compatible" is because the Netty version change is in the patch version, which is supposed to be fully compatible.


 Description   

io.grpc:grpc-netty:1.56.0 is the latest Java gRPC implementation. It depends on Netty 4.1.87.Final, which is why I suggest us upgrading.

We can't use io.grpc:grpc-netty-shaded: while it shades Netty program elements, which seems helpful, it does not expose NettyChannelBuilder, which we need. NettyChannelBuilder is experimental API, but using it is fine (not that we have a choice) as long as we don't expose it as part of our API.



 Comments   
Comment by Githook User [ 23/Jun/23 ]

Author:

{'name': 'Valentin Kovalenko', 'email': 'valentin.kovalenko@mongodb.com', 'username': 'stIncMale'}

Message: Upgrade Netty from 4.1.84.Final to 4.1.87.Final (#1150)

JAVA-5038
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/534cacf31e847526da8ca8ae9aed05dc2718b1cf

Generated at Thu Feb 08 09:03:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.