Skip to content

Releases: OleksandrKucherenko/autoproxy

0.6.1

01 Jul 05:39
Compare
Choose a tag to compare

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

0.6: Merge pull request #37 from OleksandrKucherenko/rx3-support

01 Jul 05:15
2c5d924
Compare
Choose a tag to compare
rxJava v3 support added

0.5

30 Jun 08:48
8ca41ff
Compare
Choose a tag to compare
0.5 Pre-release
Pre-release
Merge pull request #35 from OleksandrKucherenko/customizable-class-pr…

0.4: Merge pull request #32 from OleksandrKucherenko/merged-updates

23 Jun 14:52
4a10d33
Compare
Choose a tag to compare

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)
  4. 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

0.3.1

21 Apr 15:21
Compare
Choose a tag to compare
updated documentation

0.1.1

22 Dec 13:08
Compare
Choose a tag to compare
exception raising removed, CIS failure