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 onSingle
andObservable
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 toCustomNSError
protocol, makes underlying errors available in its user-info dictionary. #1783 by @dpoggi.
๐ Fixed
- ๐ Fixed
Progress
object on responses that did not specify correctContent-Length
header. Now, whenever there is no valid header, the progress will be 0.0 until the completion of the request. Also, thecompleted
property is nowtrue
only when the response was serialized, we do not rely on progress being 1.0 anymore. #1815 by @sunshinejr.
โ Removed
- ๐ฅ Breaking change Removed
validate
onTargetType
. It was deprecated in Moya 11, usevalidationType
instead. #1828 by @sunshinejr.
- ๐ฅ Breaking Change