4.0.0-beta.1
DenTelezhkin
released this
10 Sep 18:29
·
225 commits
to main
since this release
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.
Breaking changes
SwiftyJSONDecodable
methods are now prefixed with .swiftyJSON, like so:
// old
let request = tron.request("path")
// new
let request = tron.swiftyJSON.request("path")