dd-trace-java icon indicating copy to clipboard operation
dd-trace-java copied to clipboard

Deprecated okhttp version

Open jendib opened this issue 3 years ago • 5 comments

Is there a way to upgrade the okhttp version? The one brought by dd-trace-ot in 0.90.0 is 3.14.9 which is a year and a half old. okhttp is used in a lot of libraries and this old dependency is causing issues.

jendib avatar Dec 08 '21 21:12 jendib

Unfortunately right now that's not possible for us. We are at 3.14.9 because we require it's Java 7 support.

devinsba avatar Dec 08 '21 21:12 devinsba

Java 7 is deprecated too. What about a Java 7 maintenance branch for customers who need this and an up to date master branch using Java 11 at least?

jendib avatar Dec 08 '21 21:12 jendib

Believe me I understand the frustration with the Java 7 support. If we shaded okhttp would that solve the problem for you?

devinsba avatar Dec 10 '21 14:12 devinsba

It's not ideal but it would solve the immediate problem at the expense of more ram usage.

jendib avatar Dec 10 '21 14:12 jendib