Skip to content

Releases: Gujci/RESTAPI

Package manager fixes

10 Oct 20:07
Compare
Choose a tag to compare
  • Fixes missing files error from Carthage builds
  • Only adds Image extensions where available

Minor bugfix

19 Sep 13:17
Compare
Choose a tag to compare

UIImage ValidResponseData extension fixed

JSON decoder support

02 Sep 15:03
Compare
Choose a tag to compare

JSON decoders now can be added for types requiring custom decoders

        JSONDecoderStore[MyType] = myCustomDecoder

Binary support

15 Jul 14:58
506e7db
Compare
Choose a tag to compare
  • Support for caching responses added
  • UIImage extension provided for image download
  • SPM support added

Util classes

15 Apr 14:18
Compare
Choose a tag to compare

Response util class added to give an example how responses can be wrapped.

0.10 + Throwable init

15 Nov 09:02
Compare
Choose a tag to compare

Latest release extended,init(withJSON data:JSON) can throw now.

0.10 interface fixes

14 Nov 15:39
Compare
Choose a tag to compare
0.10.1

- explicit status added

Callback type changes

14 Nov 13:25
Compare
Choose a tag to compare

Status code

The role of the APIError has been changed. Now the same parameter used to represent all status codes. Because of this change, validating the nil error is no longer valid, use status.isSuccess() instead

Codable support

A Codable type now can be bot valid request and response data. In order to reduce code, Array also can be valid request data. However there was a tradeoff, the type of the return value has to be marked explicitly, even if it is not used.

Extended query support

07 Nov 10:42
Compare
Choose a tag to compare

Custom dictionary is now conform to Queryable.

Image upload & multipart data

25 Sep 11:41
Compare
Choose a tag to compare

Read docs for details