Skip to content

Releases: Wolox/wolmo-networking-android

Version 4.0.1

05 Oct 13:40
aebdbf4
Compare
Choose a tag to compare

Summary

  • Creation of NetworkRequestHandler to handle errors when using Coroutines with Retrofit.

Version 4.0.0

09 Jan 19:50
f67689c
Compare
Choose a tag to compare

Summary

  • Updating to last wolmo core version!
  • Updating some other dependencies like retrofit that allows to use new stuff like Retrofit+Coroutines.

Version 3.0.0

24 Apr 20:12
b92ae29
Compare
Choose a tag to compare

Summary

  • Migrating to AndroidX.
  • Now wolmo-core dependency is included as an API, so it should also be included in the project that includes this.

Important comment

Migrating from version 2.x.x to 3.0.0 could break a project. Be careful.

Version 2.0.5

07 Nov 21:00
Compare
Choose a tag to compare

Summary

  • Bump Build Tools Version to 28.0.3.
  • Bump compileSdkVersion and targetSdkVersion to 28.
  • User Wolmo Core's Consumer and Predicate interfaces when needed.

Version 2.0.4

07 Sep 20:16
ea3d991
Compare
Choose a tag to compare

Summary

  • Bump Wolmo Core version to 2.0.4.
  • Bump Joda Time version to 2.10.

Version 2.0.3

07 Jun 18:34
701af13
Compare
Choose a tag to compare

Summary

  • Delete unnecesary code from CallUtils.
  • Bump Wolmo Core version to 2.0.3.

Comments

  • Skip 2.0.2 to avoid building issues.

Version 2.0.1

04 Apr 18:47
919baea
Compare
Choose a tag to compare

Summary

Update wolmo-core version to get the latest fixes.

Version 2.0.0

22 Feb 22:14
9825875
Compare
Choose a tag to compare

Summary

  • Update README.md with how to use instructions.

Wolmo Networking v2.0.0 Release Candidate 1

22 Dec 21:25
Compare
Choose a tag to compare

Summary

Update wolmo-networking to make it compatible with dagger and wolmo v2.0.0.

  • Add dagger dependencies as provided.
  • Create new NetworkComponent to build and configure RetrofitServices and other dependencies.
  • Add GsonModule to provide a Gson instance and dependencies to build it.
  • Add NetworkingModule to provide a Retrofit instance.
  • Add OkHttpClientModule to provide OkHttpClient, and add interceptors to it.
  • Remove NetworkingApplication that's not needed anymore.
  • Update RetrofitServices to move all the creation and configuration to the specific modules.

Description

Applications that need to use wolmo-network doesn't need anymore to extend NetworkingApplication.
This version provides the modules to build and configure the dependencies of Retrofit, Gson and OkHttp, it also provides a default NetworkingComponent to simplify the creation and reduce configuration on common scenarios. For it to work you only need to provide it the baseUrl, an optional list of interceptors to add to okHttp and an optional list of gson type adapters.

We can find the following modules:

  • GsonModule:
  • OkHttpClientModule
  • NetworkingModule

NetworkingComponent is a template component for simple uses, if the clients want to further customize it they can make a new Component and include the modules provided with this library or make their own.

Changelog

  • Removed networking application
  • Refactor RetrofitServices to extract dependencies to dagger modules
  • Add GsonTypeAdapter to configure Gson and missing License
  • Move LoggingInterceptors to util class
  • Update build.gradle config
  • Remove joda-time proguard options
  • Update proguard rules and remove unused properties
  • Remove LoggingUtils and dependencies
  • Update dagger version
  • Add testing libraries and jacoco plugin
  • Fix bugs in modules and make methods static
  • Fix some issues and documentation in serializers and interceptors
  • Add unit tests and javadocs for missing classes
  • Add coverage badge
  • Add new tests to default modules

TODO

Before officially releasing v2.0.0 we need to tackle this list of TODOs:

  • Update Readme.md and add more tutorials in how to use this library.
  • Wait for wolmo-core-android to be stable.

Wolmo Networking v1.3.3

22 Dec 19:18
1923610
Compare
Choose a tag to compare

Summary

  • Fix a recursive call inside Repository.java