All Versions
49
Latest Version
Avg Release Cycle
60 days
Latest Release
1606 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v4.0.0-beta.2 Changes
- RxSwift dependency is bumped up to 4.0.0-beta.0, SwiftyJSON dependency is bumped to
4.0.0-alpha.1
- ๐ Binary release is compiled with Xcode 9.0 Swift 4 compiler.
- โ Added ability to customize
JSONSerialization.ReadingOptions
forJSONDecodableSerializer
. Unlike previous releases, no options are specified by default(Previously SwiftyJSON usedallowFragments
option).
To have old behavior that allows fragmented json, use:
let request = tron.swiftyJSON(readingOptions: .allowFragments).request("path")
- โ Added ability to customize
JSONDecoder
forCodableSerializer
for both model parsing and error parsing. - ๐
CodableParser
andJSONDecodableParser
are now classes, that are subclassible.
- RxSwift dependency is bumped up to 4.0.0-beta.0, SwiftyJSON dependency is bumped to
-
v4.0.0-beta.1 Changes
๐ This is major release, containing breaking API changes, please read TRON 4.0 Migration Guide
- ๐ Implemented support for
Codable
protocol. APIError
now takes it's localizedDescription from underlyingerrorModel
if that model isLocalizedError
, and fromerror.localizedDescription
if not.
- ๐ Implemented support for
-
v3.1.1 Changes
- ๐ Makes
NetworkActivityPlugin
always use API from the main thread(thanks, @mgurreta)!
- ๐ Makes
-
v3.1.0 Changes
- ๐ Preliminary support for Swift 3.2 and Swift 4(Xcode 9 beta 6).
-
v3.0.3 Changes
- Prevent upload requests from being sent using
performMultipart
method if they are not of .multipartFormData type and vice versa, add specific assertions and error messages. - โ Added
isMultipartRequest
property onUploadRequestType
.
- Prevent upload requests from being sent using
-
v3.0.2 Changes
- ๐ Improved SPM integration and CI scripts
- โ Added
validationClosure
properties onAPIRequest
,DownloadAPIRequest
andUploadAPIRequest
that allow customizing validation behaviour. Default behaviour, as before, is callingvalidate()
method onRequest
.
-
v3.0.1 Changes
- Constructors on
APIRequest
,UploadAPIRequest
,APIStub
are made public to allow overriding in subclasses.
- Constructors on
-
v3.0.0 Changes
๐ฅ Breaking changes
- ๐
dispatchQueue
property was removed fromPlugin
protocol. AllPlugin
events are now called synchronously to allow write access to objects, expecially requests. IfPlugin
requires any specific dispatch queue to run on, it must implement this logic itself.
๐ Bugfixes
- ๐
APIStub
will now print error to console, if it failed to build model from file. - ๐
NetworkLoggerPlugin
will no longer double escape characters, when printing successful request cURL to console.
- ๐
-
v2.0.1 Changes
๐ Lowers deployment targets to iOS 8 / macOS 10.10
Required dependencies: Alamofire 4.1 and higher.
-
v2.0.0 Changes
- ๐
NetworkLoggerPlugin
now haslogCancelledRequests
property, that allows turning off logging of failing requests, that were explicitly cancelled by developer. - Ensures, that
APIStub
always calls completion blocks, even if response is not successfully created.
- ๐