Full Swift 4.0
, RxSwift 4.0
support and more! Thanks to all contributors that made it possible:
@devxoul @SD10 @LeLuckyVint @afonsograca @AndrewSB @BasThomas @pedrovereza @sunshinejr
Big ❤️ to all of you!
Changes since 10.0.0-beta.1:
Fixed
Full changelog for Moya 10.0.0:
Added
- Breaking Change Added a
.parameterEncoding
case toMoyaError
. #1248 by @SD10. - Breaking Change Added an
.objectMapping
case toMoyaError
. #1335 by @devxoul. - Breaking Change Added an
.encodableMapping
case toMoyaError
. #1349 by @LeLuckyVint, @afonsograca and @sunshinejr. - Breaking Change Added a
.requestJSONEncodable
case toTask
. #1349 by @LeLuckyVint, @afonsograca and @sunshinejr. - Added a
Decodable
object mapping methods toMoya.Response
. #1335 by @devxoul.
Changed
- Breaking Change Changed
Endpoint.init
so it doesn't have any default arguments (removing default argument.get
formethod
parameter andnil
forhttpHeaderFields
parameter). #1289 by @sunshinejr. - Breaking Change Changed
NetworkActivityPlugin
so itsnetworkActivityClosure
has nowtarget: TargetType
argument in addition tochange: NetworkActivityChangeType
. #1290 by @sunshinejr. - Breaking Change Changed
Endpoint
'surlRequest
property tourlRequest()
a throwing method. #1248 by @SD10.