Releases: devjorgecastro/retrofit-jsonapi-converter
Releases · devjorgecastro/retrofit-jsonapi-converter
1.0.0-beta3
- Add support for source attribute in error response.
- Add support for meta attribute in error response.
- The documentation for the JsonApiMapper class is improved: Attributes, functions and class.
- Update Readme documentation for version 1.0.0-beta3.
Bugfix
- Add specific messages when an exception of type JsonDataException occurs.
- Throw an exception when a relation of type list is expected and defined as an object: In the class with @JsonApiResource annotation, a @JsonApiRelationship was defined as a response object but the response from the service returned a list, after doing the mapping the object was filled with the first element of the list.
1.0.0-beta2
Change
- Rename property name to type in JsonApiResource annotation.
Bugfix
- JsonApiMapper code enhancements. correction of errors when the following scenarios occurred: 1). when the relations were an array and 2). when the relations were individual objects.
v1.0.0-beta1
Changes
- Create JsonApiFlowCallAdapter and added in JsonApiCallAdapterFactory.
- Change super class of JsonApiResponseException from Exception to Throwable.
v1.0.0-alpha7
Bugfix
- Bug when checking if main data object includes JsonApiResource annotation. Verification of parameterized objects was not doing well.
v1.0.0-alpha6
Change
- Class JsonApiRetrofitCall is separated into a separate file.
Bugfix
- Bug in JsonApiConverterFactory fixed. it is validated that the object to be converted has the JsonApiResource annotation. Class methods are refactored in JsonApiConverterFactory.
v1.0.0-alpha5
Change
- getRelationshipReference method was marked as deprecated
Bugfix
- Fixed error when obtaining data that did not come as a list of objects
- Fix error in getFlowJsonConverter in JsonApiConverterFactory, set rawType when call FlowJsonConverter.getInstance method
- getRelationshipReference method was removed from JsonApiMapper
v1.0.0-alpha3
Bugfix
- Fixed JsonApiResponseException for RxJava (exception was not thrown).
v1.0.0-alpha2
Added support for Observable Rxjava (now Single and Observable responses).
Bugfixes
- Fix errors when exist one relationship in the data response.
v1.0.0-alpha1
JsonApi is implemented with support for Flow return type and Single Observables type of RxJava, also it implements the error response for Http codes between 400 and 499