Network abstraction layer written in Swift.
This beta just updates Alamofire to version 5.0.0-rc.2.
🚀🚀🚀
✅ Combine extensions ✅ NetworkLoggerPlugin rewrite ✅ Alamofire 5.0.0-rc.1
For NetworkLoggerPlugin
, see our migration guide!
swift test
again. #1896 by @sunshinejr.Alamofire
is now 5.0.0-rc.1. #1909 by @sunshinejr.NetworkLoggerPlugin
have been reworked to allow more customization about the logged request's components. #1894 by @amaurydavid.NetworkLoggerPlugin
now logs error when available (using LogOptions.verbose
or specyfing errorResponseBody
in your LogOptions
). #1880 by @amaurydavid.This is a pre-release version of Moya 14. This includes removal of Result dependency (now using Swift's Result
), upgrade to Alamofire 5 (currently 5.0.0-beta.7) and few more adjustments.
RequestType
now has sessionHeaders
! These are the headers that are added when the request is added to a session. #1878 by @sunshinejr.Alamofire
is now 5.0.0-beta.7. #1810 by @sunshinejr.Result
dependency in favor of Result
introduced in Swift 5. #1858 by @larryonoff.TargetType
parameter in the output of NetworkLoggerPlugin
. #1866 by @hasankose.NetworkoLoggerPlugin
uses the newly added sessionHeaders
and now logs all the headers that the request will produce. #1878 by @sunshinejr.This is an early pre-release version of Moya 14. This includes newest RxSwift & ReactiveSwift versions. Next pre-releases would have new version of Alamofire and potentially removed Result dependency.
RxSwift
is now 5.0. #1846 by @LucianoPAlmeida.ReactiveSwift
is now 6.0. #1849 by @sunshinejr.Xcode 10.2, Swift 5.0 and more! 🚀
Note: there are no changes between 13.0.0-beta.1 and 13.0.0.
.mapImage()
extension on Single
and Observable
now returns non-optional image. #1789, #1799 by @bjarkehs and @sunshinejr.ReactiveSwift
is now 5.0. #1817 by @larryonoff.Result
is now 4.1. #1817 by @larryonoff.MoyaError
now conforms to CustomNSError
protocol, makes underlying errors available in its user-info dictionary. #1783 by @dpoggi.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.validate
on TargetType
. It was deprecated in Moya 11, use validationType
instead. #1828 by @sunshinejr.Xcode 10.2, Swift 5.0 and more! 🚀
.mapImage()
extension on Single
and Observable
now returns non-optional image. #1789, #1799 by @bjarkehs and @sunshinejr.ReactiveSwift
is now 5.0. #1817 by @larryonoff.Result
is now 4.1. #1817 by @larryonoff.MoyaError
now conforms to CustomNSError
protocol, makes underlying errors available in its user-info dictionary. #1783 by @dpoggi.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.validate
on TargetType
. It was deprecated in Moya 11, use validationType
instead. #1828 by @sunshinejr.This release fixes the installation issues for the Moya/RxSwift
and Moya/ReactiveSwift
subspecs via CocoaPods (#1768). Please use this as the minimum version for 12.x releases.
This release is long overdue but Moya 12.0 is finally here! 🎉 The latest version of Moya now supports Swift 4.2 as well as version 4.X of RxSwift and 4.X of ReactiveSwift. Additionally, we've made a highly requested addition to the AccessTokenPlugin
- the ability to set a header token in a custom format 👏
Thanks to all the contributors to this release, @SeRG1k17, @sunshinejr, @simonrice, @LucianoPAlmeida, @lexorus, as well as everyone else who makes this project possible ❤️
.custom(String)
authorization case to AuthorizationType
inside AccessTokenPlugin
. #1611 by @SeRG1k17.Breaking Change watchOS deployment target for RxMoya is now 3.0. #1758 by @simonrice.
Breaking Change Minimum version of ReactiveSwift
is now 4.0. #1668 by @sunshinejr.
Breaking Change Minimum version of Result
is now 4.0. #1668 by @sunshinejr.
Breaking Change Changed Response
s filter method parameter to use a generic RangeExpression
that accepts any range type. #1624 by @LucianoPAlmeida.
Breaking Change Changed AccessTokenPlugin
's initializer to no longer use an @autoclosure
for the tokenClosure
parameter. #1611 by @SeRG1k17.
.custom(String)
authorization case to AuthorizationType
inside AccessTokenPlugin
. #1611 by @SeRG1k17.Breaking Change Minimum version of ReactiveSwift
is now 4.0. #1668 by @sunshinejr.
Breaking Change Minimum version of Result
is now 4.0. #1668 by @sunshinejr.
Breaking Change Changed Response
s filter method parameter to use a generic RangeExpression
that accepts any range type. #1624 by @LucianoPAlmeida.
Breaking Change Changed AccessTokenPlugin
's initializer to no longer use an @autoclosure
for the tokenClosure
parameter. #1611 by @SeRG1k17.