Skip to content

Releases: haroldadmin/NetworkResponseAdapter

Version 2.1.0

27 Jul 15:36
Compare
Choose a tag to compare
  • Upgrade Kotlin to 1.3.41
  • Upgrade Coroutines to 1.3.0-RC
  • Upgrade to OkHTTP 4 and Retrofit 2.6.0
  • Null response codes in HttpExceptions are now returned as code 520

Version 2.0.2

29 May 13:49
Compare
Choose a tag to compare

New:

  • Add overloaded invoke operator on NetworkResponse class

Fixes:

  • Fix null headers when server response body is empty.

Release 2.0.1

29 May 10:28
Compare
Choose a tag to compare

New features:

  • Added overloaded invoke operator function the NetworkRespons class

V2.0

21 May 14:35
Compare
Choose a tag to compare

This release adds support for response headers in the NetworkResponse class. A new executeWithRetry method has also been added which automatically retries the network requests in case they result in NetworkResponse.NetworkError. You can customize the number of retries, and exponential delay parameters too.

  • New Features:

    • Headers support
    • ExecuteWithRetry utility function
  • Fixes

    • Fixed retrofit executor used in tests

Initial release

09 May 18:56
e1d5eb2
Compare
Choose a tag to compare

The first public release of this library