- Support other rx return types (i.e.
Flowable
,Single
,Maybe
,Completable
) - Rename
autoCancel
toautoDispose
- Now the library doesn't depend on gson to parse data
- Add
GsonJsonParser
andMoshiJsonParser
- Remove Uri-to-MultipartBody feature
- Rename some files and class members
- New: Add
autoCancel(LifecycleOwner, Lifecycle.Event)
for cancelling call until specific event occurs - Fix: keypath parsing issue
- Api changes:
SimpleApiClient.Config.isMockDataEnabled
is renamed toSimpleApiClient.Config.isMockResponseEnabled
- New: Add
@ResponseKeyPath
for successful response parsing - New: Add
errorMessageKeyPath
for error response parsing - Api changes:
@Image
is refactored to@MultiPart
which add mime type parameter - Fix: Mock reponse parsing now will not throw error when use
@Unwrap
- Api changes: Demote
ApiClientConfig
toSimpleApiClient.Config
- Api changes: Error model type should be set via
SimpleApierrorClass
- Fix: No default parameter value for retry delaySeconds
- Fix: Wrong wording
- New: Support custom JSON parser
- New: Support mock response status
- Fix: Return correct error for status code 500..599
- New: Data mocking support
- Fix:
observe()
now returnCancellable
- Fix: Rename
autoDispose()
toautoCancel()
- New: Add
enableStetho
,logLevel
andcertificatePins
configs