Skip to content

Migration guide

Jonatan Pleško edited this page May 23, 2019 · 2 revisions

2.1.0 -> 3.0.0

  1. Append the following to your proguard file:
# JSR 305 annotations are for embedding nullability information.
-dontwarn javax.annotation.**

# Used to suppress findbugs check.
-dontwarn edu.umd.cs.findbugs.annotations.SuppressFBWarnings
  1. Parameter error in the onError() of the UpdaterCallback has been migrated from Integer to Throwable. If you have been logging it with %d, make sure to change that.
  2. UpdaterResult class returned by the checkForUpdates() method has been renamed to PrinceOfVersionsCancelable.
  3. UpdaterCallback and NetworkLoader classes have been moved to a different package so you need to reimport them.
  4. In case you had a custom loader, there is no more LoaderFactory class wrapping it - it has been replaced with the Loader interface. It contains a single load() method that expects you to load and return the expected configuration. You will likely be able to reuse your current implementation.
Clone this wiki locally