TRON v5.0.0-beta.2 Release Notes

Release Date: 2019-04-06 // about 5 years ago
  • 🔄 Changed

    • ErrorSerializable protocol changed to have non-optional initializer and to not accept serializedObject. It no longer can be used for additional object validation, but behavior should be more predictable and straightforward - ErrorSerializable should only be created if somebody (URL loading system, Alamofire or Model serialization) actually reported error.
    • codable is now a lazy stored property instead of computed property.
    • CodableSerializer API has been made open to allow easy customization in subclasses.
    • 🔧 NetworkLoggerPlugin now has a constructor that allows to easily configure it's behavior.

    💥 Breaking

    • Properties that worked with Alamofire.SessionManager have been renamed to session to be in line with Alamofire renaming of SessionManager to Session.

    ✂ Removed

    • 0️⃣ TRON.defaultAlamofireManager() method. TRON initializer now uses Alamofire.Session.default as a replacement.
    • TRON.processingQueue property