All Versions
8
Latest Version
Avg Release Cycle
132 days
Latest Release
1190 days ago
Changelog History
Changelog History
-
v0.6.1 Changes
July 01, 2020๐ Changes:
- โ ADD: RxJava2 support
- โ ADD: RxJava3 support
- โ ADD: mimic final class feature
- โ ADD:
bind
static method that allows to convert final class instance to proxy interface instance - โ ADD: unit tests configuration to all modules
- โ ADD: several unit tests for covering not trivial things
- โ ADD: gradle tests logger (fancy output of tests results -
./gradlew test
) - โ ADD: rxJava
never()
support - โ ADD:
Flowable
,Single
,Completable
&Maybe
- โ ADD: incremental support
- โ ADD: documented several common use cases
- ๐ CHG: documentation restructured, more samples added (in collapsible sections)
- ๐ CHG: reduced documentation noise
- CHG: generated method visibility become
protected
for cleaning proxy autocomplete from implementation details - ๐ many small fixes
-
v0.6
July 01, 2020 -
v0.5
June 30, 2020 -
v0.4 Changes
June 23, 2020๐ The New Version of the library is just released! Welcome to version 0.4!
What is it? AutoProxy is a java annotation processing library inspired by Google AutoValue library. Its main purpose is to generate wrapper around the existing interface or abstract class. (works for Kotlin classes too!)
Why I should use it? Several cases are in use right now:
- make detachable implementations, when needed to redirect calls to NoOp (No Operation) code without other modules failure. ๐ฒ 2. act as a proxy in call and provide developer easy interface to inject side effects. Example: log all calls and parameters of calls ๐คก 3. Class Stubs/Fakes generation (mocks vs fakes)
- Late initialization, when all calls are recorded by proxy, and when instance become available, replay them all on it.
๐ Changes:
- method names generated as @stringdef annotation, that allows verifying usage of constants in IDE (andoridx.annotations). No place to mistakes!
- โ added "create" static method that simplifies the creation of proxy class instance with lambda injection.
- โ added "dispatchByName" method that simplifies call of inner methods inside the predicate's
- โ added flags that allow forcing generation of the helper methods
- incremental annotation processing
-
v0.3.1
April 21, 2020 -
v0.3
April 21, 2020 -
v0.2
April 01, 2020 -
v0.1.1
December 22, 2017