Skip to content

Latest commit

 

History

History
104 lines (74 loc) · 2.67 KB

CHANGELOG.md

File metadata and controls

104 lines (74 loc) · 2.67 KB

Change Log

All notable changes to this project will be documented in this file.

Released on 2020-1-4.

Added

  • Swift 5.0+ support

Removed

  • CocoaPods support

Released on 2018-1-6.

Added

  • Completion callback returns modified Swift.Result in preparation for Swift 5.0
  • APIRequests subclass Operation to simplify dependency chaining and cancellation
  • Hosted documentation

Fixed

  • APIService can provide parameters, bodies, headers common to all requests within the service
  • APIAuthorization can can provide parameters, bodies, headers specific to a request
  • HTTPParameters, HTTPBody, and HTTPHeaders are now optional instead of empty dictionaries
  • Updated documentation

Removed

  • Success callback
  • Cancellation callback
  • Failure callback
  • APIRequestTokens, the APIRequest can be directly used

Released on 2018-1-10.

Added

  • Failure callback uses swift error type instead of string
  • APIService to filter requests by HTTPResponseCode
  • APIRequestTokens and abillity to cancel requests
  • Cancellation callback

Fixed

  • APIRequest retain cycle
  • Refactor APIService into APIRequest property
  • Potential race conditions

Released on 2017-10-18.

Added

  • Added tests both through the xcproj and the swift cli

Fixed

  • Access level bug causing implicit APIReturnable conformance for Codable objects to not be available outside of the APIManager module

Removed

  • tvOS support

Released on 2017-10-2.

Added

  • Swift 4.0 Support
  • Native object as return types for APIRequests

Removed

  • JSON (alised to [String: Any]) as the default return type for APIRequests

Released on 2017-04-27.

Added

  • tvOS support

Released on 2017-04-26.

Added

  • CHANGLOG.md
  • Swift package manager support

Released on 2017-04-24.

Added

  • README.md

Released on 2017-04-24.

Added

  • Partial documention generated via jazzy

Fixed

  • Init scope bug
  • Failure on non 200 HTTP response status codes

Released on 2017-04-22.

Added

  • Initial release of APIManager.