Search code examples
androidandroid-gradle-plugindependencies

How to check the difference between old and latest version dependencies?


I am using some old dependencies in my Android project. But now I am updating the dependencies to latest one. Before update how to check what are the changes is made in latest dependencies. Is there any tool or procedure to check the difference between two dependencies.

I am using 'com.squareup.okhttp3:logging-interceptor:3.12.3'. Now the latest version is 'com.squareup.okhttp3:logging-interceptor:4.10.0'. So before update I want to confirm that existing flow should not break. Many users are using my app. So please suggest me ideas to check the difference between two dependencies.


Solution

  • You can also check the changelog available here or on Github. But in your case, when you're upgrading to the next major version, all libraries usually provide some kind of migration tutorial. For okHttp v3 -> v4 you'll find it here.