Skip to content

Releases: devjorgecastro/retrofit-jsonapi-converter

1.0.0-beta3

20 Oct 23:12
Compare
Choose a tag to compare
  • 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

09 Oct 09:27
Compare
Choose a tag to compare
1.0.0-beta2 Pre-release
Pre-release

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

06 Apr 04:05
Compare
Choose a tag to compare
v1.0.0-beta1 Pre-release
Pre-release

Changes

  • Create JsonApiFlowCallAdapter and added in JsonApiCallAdapterFactory.
  • Change super class of JsonApiResponseException from Exception to Throwable.

v1.0.0-alpha7

01 Apr 07:24
Compare
Choose a tag to compare
v1.0.0-alpha7 Pre-release
Pre-release

Bugfix

  • Bug when checking if main data object includes JsonApiResource annotation. Verification of parameterized objects was not doing well.

v1.0.0-alpha6

31 Mar 06:00
Compare
Choose a tag to compare
v1.0.0-alpha6 Pre-release
Pre-release

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

30 Mar 05:32
Compare
Choose a tag to compare
v1.0.0-alpha5 Pre-release
Pre-release

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

29 Mar 06:18
Compare
Choose a tag to compare
v1.0.0-alpha3 Pre-release
Pre-release

Bugfix

  • Fixed JsonApiResponseException for RxJava (exception was not thrown).

v1.0.0-alpha2

29 Mar 03:39
Compare
Choose a tag to compare
v1.0.0-alpha2 Pre-release
Pre-release

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

27 Mar 02:29
Compare
Choose a tag to compare
v1.0.0-alpha1 Pre-release
Pre-release

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