Update okhttp to 5.x
Hi,
The recent OkHttp 5.x release has split the artifact into platform-specific packages (okhttp-jvm and okhttp-android). This causes issues on our projects as we can't update their okhttp dependency without breaking validation rules like BanDuplicateClasses due to this change of artifact id.
With this update Okhttp have updated Kotlin to v2, so the Kotlin dependency will require to be updated to 2.x as well. Based on comment in pom this shouldn't be an issue.
Could you please update the OkHttp dependency to 5.x (okhttp-jvm) to avoid these conflicts?
Thanks for your consideration!
Category
- [x] bolt (Bolt for Java)
- [x] bolt-{sub modules} (Bolt for Java - optional modules)
- [x] slack-api-client (Slack API Clients)
- [ ] slack-api-model (Slack API Data Models)
- [x] slack-api-*-kotlin-extension (Kotlin Extensions for Slack API Clients)
- [x] slack-app-backend (The primitive layer of Bolt for Java)
Hey @emouty! 👋 Thank you for sharing this update with us 📫 ✨
We'll make note to bring this up to date in a future version, but I'm curious if for now using a pinned version helps avoid errors between dependencies?
Yes, It should do the trick, but since its a major update and even though the changelog doesn't mention major breaking changes (other than the packaging), I'd rather do it the clean way if possible 😉
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.
Hey team! Any update or timeline to share with us for the switch to okhttp 5.x ?
We are using your SDK in our project, and because of okhttp 4.x we are stuck in an old version of mockwebserver (from okhttp)...
Thanks for your work 🙏
Same issue as above. okhttp v5 added support for graalvm. Please update to v5 https://square.github.io/okhttp/changelogs/changelog/
This breaks for us too. Please update okHttp to 5.x