All Versions
8
Latest Version
Avg Release Cycle
132 days
Latest Release
248 days ago

Changelog History

  • v0.6.1

    July 01, 2020

    ๐Ÿ”„ Changes:

    • โž• ADD: RxJava2 support
    • โž• ADD: RxJava3 support
    • โž• ADD: mimic final class feature
    • โž• ADD: bindstatic 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

    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:

    1. 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)
    2. 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