Releases: ishkawa/APIKit
Releases · ishkawa/APIKit
2.0.0-beta.1
Major changes are listed below:
- Simplified errors
- New response error handling model for custom response errors
- Abstraction of networking backend
- Convenience parameters and actual parameters
This release also contains minor renames of several APIs.
Check out the migration guide for more details.
NOTE: Since APIKit 2 is beta software, breaking changes will continue to occur.
1.2.1: App Extensions
- Set
APPLICATION_EXTENSION_API_ONLY
YES
to fix linker issue in app extensions. #133
Thank you @toshi0383 !!!
1.2.0: multipart/form-data, SPM and JSON-RPC
- Add
.MultipartFormData
toRequestBodyBuilder.
#128 - Support building via Swift Package Manager. #130
- Add a secondary property
objectParameters
for the array parameters, which is for batch requests in JSON-RPC. #125
Thank you to @ninjinkun and @toshi0383 for the patches!
1.1.4: BITCODE_GENERATION_MODE in Debug
Merge pull request #113 from tarunon/fix/crash_view_ui_hierarchy Fixed Xcode crashes
1.1.3: Fix percent encoding issue
- [Fixed] Percent encoding issue. #118
Thanks @hoppenichu.
1.1.2: Fix Content-Type
1.1.1: Podspec update
- [Fixed] Fix watchOS deployment target in podspec. #112
1.1.0: Watch TV
1.0.0
Finally, APIKit 1.0 is out 🎉
- [New] Swift 2 support.
- [New] More flexible request configurations by
RequestType
based request. - [New] Move functionalities that builds
NSURLRequest
fromAPI
toRequestType
. - [Improvement]
API
is renamed toSession
, because it is now just a wrapper ofNSURLSession
. - [Improvement]
Method
is renamed toHTTPMethod
. - [Improvement] Enumerate errors as
APIError
. - [Improvement] Pass
NSHTTPURLResponse
toresponseFromObject()
anderrorFromObject()
. - [Improvement] Remove boxing from
Result
.
This release targets Xcode 7.1 and Swift 2.1.
Thanks to @ikesyo, @inamiy, @335g, @pocket7878, @akisute, @totomo, @matsuda, @tmnb, @kitasuke, @pixyzehn, @novi, @MarvinNazari, @netmaid, @seairy and @billburgess for the patches and issues.