line-bot-sdk-java icon indicating copy to clipboard operation
line-bot-sdk-java copied to clipboard

Proposal: Switch from Retrofit2 to OkHttp3

Open tokuhirom opened this issue 2 years ago • 1 comments

When the SDK was first developed, we utilized Retrofit2 to improve implementation efficiency. However, nowadays, our API definitions are automatically generated from openapi YAML files, and the use of Retrofit2 has become less relevant.

Furthermore, with the lack of new versions of Retrofit2 since 2020, it might be a good time for us to consider alternatives. In my opinion, switching to OkHttp3 could bring about improvements in both code readability and maintainability.

I propose that we migrate from Retrofit2 to OkHttp3 for our HTTP client. I look forward to hearing the thoughts of others on this proposal. Thank you.

tokuhirom avatar Nov 19 '23 12:11 tokuhirom

Note: retrofit development was rebooted https://github.com/square/retrofit/releases/tag/2.11.0

tokuhirom avatar Jun 07 '24 05:06 tokuhirom