TRON v4.0.0-beta.2 Release Notes
-
- 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