Skip to content

4.0.0-beta.1

Compare
Choose a tag to compare
@DenTelezhkin 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 underlying errorModel if that model is LocalizedError, and from error.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")