Skip to content

Releases: TheRakiburKhan/RKAPIService

Multipart/formdata added

19 Jun 06:26
e81672f
Compare
Choose a tag to compare

Added

  • ContentType enum added for HTTP ContentType. It can be used in additionalHeader parameter of a request.
  • Added support for attachment upload as multipart/formdata as request body

Fixed

  • Resolved infinite loop problem

Resolved Issue #3

17 Oct 05:39
Compare
Choose a tag to compare

Fixed
Resolved issue #3

Added Support for Dictionary [String: Any]

16 Oct 05:40
Compare
Choose a tag to compare

Added

  • Authorization enum added for HTTP Authorization. It can be used in additionalHeader parameter of a request.
  • Added support for Dictionary type [String: Any] as request body

Removed

  • RKAPIServiceProtocol is removed

Fixed

  • HTTPHeader inaccessible bug fix

Additional Header in GET request is now optional

09 Aug 18:18
Compare
Choose a tag to compare

Changed

  • Changed HTTPHeader in HTTP GET request from required to optional

Completion Handler deprecated

20 Jul 16:44
Compare
Choose a tag to compare

Bug Fix

  • HTTPHeader initialisation bug fixed.

iOS 13.0 and macOS 10.15

  • completion handler is now deprecated and encouraged to use async/await or Combine Publisher instead.

iOS 15.0 and macOS 12.0

  • completion handler is now obsoleted and must use async/await or Combine Publisher instead.

2.3.0 - Added HTTPHeader

16 Jun 09:25
Compare
Choose a tag to compare

Added HTTPHeader if additional headers are required.

2.2.2

08 Jun 16:37
Compare
Choose a tag to compare
  • Updated Quick Help guide for methods
  • Added polymorfic methods for direct data manipulation.
  • RKAPIHelper methods not accessible issue solved.

2.2.1 - Added RKAPIHelper

08 Jun 16:32
Compare
Choose a tag to compare
  • Added RKAPIHelper which has helper functions to build URL
  • buildURL(scheme: String, baseURL: String, portNo: Int?, path: String?, queries: [URLQueryItem]?) returns an URL?
  • buildURL(string: String, filter: CharacterSet) returns an URL?

Added URLSession.dataTaskPublisher

06 Jun 13:47
Compare
Choose a tag to compare
  • Changed RKAPIService.shared configuration form URLSessionConfiguration.default to URLSessionConfiguration.default
  • Changed all URL parsameter to optional form all fetchItems(url:) methods
  • Added URLSessionDataTaskPublisher form Combine support starting form iOS 13.0 and macOS 10.15

Added custom HTTPStatus Code support

21 May 16:24
Compare
Choose a tag to compare
  • HTTPStatusCode has now two cases, standard(statusCode: StandardCode) and custom(customCode: Int). Previously found all HTTPStatusCode case is now encapsulated in HTTPStatusCode.StandardCode.

  • New public variable statusCode: Int added to HTTPStatusCode which will return the original URL Status Code.