Releases: Wolox/wolmo-core-android
Releases · Wolox/wolmo-core-android
Version 4.1.1
Version 4.1.0
Summary
- View binding was added and will be required to create or update projects.
- Kotlin synthetics was removed due to the fact that is deprecated.
- Findbugs was removed due to the fact that is not more supported in Gradle 6.
Important comment
We recommend to use this version for new projects but we strongly don't recommend to migrate an existing project since a lot of important and breaking changes have been made.
Version 4.0.0
Summary
This release includes a total Kotlin migration of the code, some classes/methods were changed and others were created. The most important changes are enumerated below:
MVP Changes
- The
viewfrom the presenter is now aT?that means that sometimes it could be null. From this, therunIfViewAttachedmethods were deprecated. WolmoFragment.handleArgumentsandWolmoActivity.handleArgumentsacceptnullnow (it's behave as afalse).WolmoFragmentandWolmoActivityhave both the new methodrequireArgumentto get a non-null argument casted to the needed type.- Added
WolmoBottomSheetDialogFragmentthat's a base MVP ready implementation for a BottomSheetDialogFragment.
✨✨✨Coroutines ✨✨✨
- Coroutines are now part of Wolmo! Use
CoroutineBasePresenterto have aBasePresenteras aCoroutineScopeattached toview's lifecycle. CoroutineTestRuleis available to test methods that contains Coroutines work avoiding “Module with the Main dispatcher had failed to initialize” error.
New/Deprecated/Removed methods/classes
- Some old methods (like
togglePresence,toggleVisibility, etc.) were removed in order to use Android KTX methods. KeyboardUtilsis deprecated, use injectableKeyboardManagerinstead.GetImageFragmentis deprecated. Create your own fragment and useGetImageHelper.WolmoFileProviderhas a lot of new methods! Feel free to investigate them.NavigationUtilsis deprecated and the methods were migrated asContextextensions. Take a look over that that there're really cool methods likeopenBrowser,makeCalland more!
Important comment
We recommend to use this version for new projects but we strongly don't recommend to migrate an existing project since a lot of important and breaking changes have been made.
Version 3.1.0
Summary
- Adding WolmoPresenterTest
- Removing Activity key that was not working
Version 3.0.0
Summary
- Migrating to AndroidX.
- Removing Butterknife.
Important comment
- Migrating from version 2.x.x to 3.0.0 could break a project. Be careful.
Version 2.0.5
Summary
- Bump Build Tools Version to
28.0.3. - Bump
compileSdkVersionandtargetSdkVersionto 28. - Expose
PredicateandConsumerfunctional interfaces.
Version 2.0.4
Summary
- Fix missing
Butterknife 9.0.0-SNAPSHOTversion bug.
Version 2.0.3
Summary
- Fix issue with WolmoDialogFragment & Dagger interaction.
- Reorder repositories in project's build.gradle to fix building issues.
Comments
- Skip 2.0.2 due to problems with Jitpack
Version 2.0.1
Fix crash when no presenter is used in a fragment
- Update build tools version
- Change WolmoFragmentHandler and DefaultModule to support no presenter o base presenter
- Remove unused reflection code
- Remove unused tests
- Update gradle plugin and butterknife version
Version 2.0.0
Dagger release
- Add Log wrapper to mock instances when doing tests
- Update WolmoFragmentHandler to inject and use the new Logger
- Bump sdk version and appcompat version
- Extract method from ImageProvider and add unit tests for it
- Remove powermock dependency and add Robolectric
- Remove powermock dependency and update test that used it to use Robolectric.
- Add missing javadoc and fix some typos.
- Fix some issues with Providers and update tests to test the changes.
- Add missing tests