splunk / splunk/splunk-library-javalogging

Upgrade okhttp to v5

Open
#296 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
140
Forks
173
PR merge metrics
No merged PRs in 30d

Description

When using other libraries like mockwebserver3 for testing, the okhttp3 library clashes.
For example,mockwebserver3 requires version 5, but splunk-library-javalogging serves com.squareup.okhttp3:okhttp:jar:4.11.0.

So an upgrade would be good for future compatibility.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the dependency declaration for com.squareup.okhttp3:okhttp🫙4.11.0 and review how the project manages its Java dependencies. Check compatibility with mockwebserver3, then verify that the library builds and its existing tests pass with OkHttp v5; done means the project no longer serves version 4.11.0.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Refactor
Difficulty
2/5
Estimated time
Half a day
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.