Moya v13.0.0-beta.1 Release Notes

Release Date: 2019-03-31 // almost 5 years ago
  • ๐Ÿฑ Xcode 10.2, Swift 5.0 and more! ๐Ÿš€

    ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ Breaking Change .mapImage() extension on Single and Observable now returns non-optional image. #1789, #1799 by @bjarkehs and @sunshinejr.
    • ๐Ÿ’ฅ Breaking Change Minimum version of ReactiveSwift is now 5.0. #1817 by @larryonoff.
    • ๐Ÿ’ฅ Breaking Change Minimum version of Result is now 4.1. #1817 by @larryonoff.
    • ๐Ÿ’ฅ Breaking Change Updated project to Swift 5.0. #1827 by @sunshinejr.
    • โšก๏ธ Updated project to support Xcode 10.2. #1826 by @larsschwegmann.
    • MoyaError now conforms to CustomNSError protocol, makes underlying errors available in its user-info dictionary. #1783 by @dpoggi.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed Progress object on responses that did not specify correct Content-Length header. Now, whenever there is no valid header, the progress will be 0.0 until the completion of the request. Also, the completed property is now true only when the response was serialized, we do not rely on progress being 1.0 anymore. #1815 by @sunshinejr.

    โœ‚ Removed

    • ๐Ÿ’ฅ Breaking change Removed validate on TargetType. It was deprecated in Moya 11, use validationType instead. #1828 by @sunshinejr.