All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Set up publishing to Maven Central (thanks @DeKaN). (#124)
- Update Kotlin 1.4.32
- Added option to enable experimental isolating incremental annotation processing mode. More info in README (#121)
- BuildConfig classes no longer included in android modules (#118)
- Do not generate ViewState for abstract presenter classes (#101)
- Fix ViewStateProvider generation for nested presenters (#108)
- Throw exception if generated ViewStateProvider was not found (#107)
- Fixed R8 obfuscating names of presenters without explicit
@InjectViewState
(#87) - Added proguard rules to
com.github.moxy-community:moxy
artifact
- Fixed compiler crash when type variable used in presenter class (#81)
- Fixed compilation error if View interface method's parameter name clash with generated code (#53)
- Fixed restoration of childDelegate delegateTag in fragments (#80)
- Added
MvpPresenter.presenterScope
extension for kotlin coroutines (#59) - Added ability to define alias annotations for
@StateStrategyType
annotation, and added some default aliases to the library (#72) - Added
@Inherited
annotation to@InjectViewState
. It means@InjectViewState
is implicitly applied to all presenters,ViewState
will be generated even without explicit annotation onMvpPresenter
subclass (#76)
- Changed strategy resolution algorithm. Child view interface strategies will not propagate to superinterface views (#70)
- Guava conflicts fixes (#56)
- No public changes since 2.0-beta01. Release to maven central
- No public changes since 2.0-beta01
- No public changes since 2.0-alpha06
- Support for gradle incremental annotation processing.
moxy-ktx
artifact, containingmoxyPresenter
property delegate for kotlin users.- Layout id constructors for
MvpFragment
andMvpAppCompatActivity
. enableEmptyStrategyHelper
,defaultMoxyStrategy
anddisableEmptyStrategyCheck
compiler options.
- Make
moxy-android
,moxy-andoridx
,moxy-appcompat
andmoxy-material
artifacts to be .aar instead of .jar to automatically provide consumer proguard files. - All view methods are required to have
@StateStrategy
annotation.
@RegisterMoxyReflectorPackages
annotation, MoxyReflector code generation, andmoxyReflectorPackage
compiler option.
- Broken code generation when view interface is inside other class.
- Inherited method being written twice inside generated ViewState if modifiers changed or parameters renamed.
Differences between Arello-Mobile Moxy and Moxy-community v1.0.14
moxy-androidx
andmoxy-material
artifacts.
- Package from
com.arellomobile.mvp
tomoxy
.
- Presenter types
WEAK
andGLOBAL
. All presenters are nowLOCAL
.