Moya v5.0.0 Release Notes

Release Date: 2015-11-30 // over 6 years ago
  • ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ Breaking Change rename MoyaTarget protocol to TargetType
    • ๐Ÿ’ฅ Breaking Change rename MoyaRequest protocol to RequestType
    • ๐Ÿ’ฅ Breaking Change rename Plugin protocol to PluginType
    • โœ‚ Removes conversion from Moya.Method to Alamofire.Method since it was unused
    • ๐Ÿ”„ Changes NetworkLoggingPlugin's initializer to also take a function that has the same signature as print to simplify testing
    • ๐Ÿ’ฅ Breaking Change renames ParameterEncoding's parameterEncoding method to toAlamofire and makes it internal only
    • ๐Ÿ’ฅ Breaking Change Plugin<Target> is now a protocol and as such no longer sends a typed MoyaProvider. - @swizzlr
    • ๐Ÿ’ฅ Breaking Change The types that were subtypes of Moya are now defined at the top level; you should find no compatibility issues since they are still invoked by Moya.X โ€“ @swizzlr
    • ๐Ÿ’ฅ Breaking Change Completion closure now returns a Result instead of multiple optional parameters.
    • ๐Ÿ’ฅ Breaking Change MoyaResponse is now Response, and also final. It will be changed to a struct in a future release. - @swizzlr
    • ๐Ÿ’ฅ Breaking Change ReactiveCocoaMoyaProvider can now be supplied with an optional stubScheduler โ€“ @swizzlr (sponsored by Network Locum)
    • ๐Ÿ’ฅ Breaking Change Introduce Error type for use with reactive extensions - @tomburns
    • ๐Ÿ’ฅ Breaking Change Deprecate ReactiveCocoa 2 support