All Versions
98
Latest Version
Avg Release Cycle
76 days
Latest Release
299 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v11.0.0 Changes
February 07, 2018- No changes
-
v11.0.0-beta.2 Changes
January 27, 2018 -
v11.0.0-beta.1 Changes
January 10, 2018โ Added
- ๐ฅ Breaking Change Added a
.requestCustomJSONEncodable
case toTask
. #1443 by @evgeny-sureev. - ๐ฅ Breaking Change Added
failsOnEmptyData
boolean support for theDecodable
map functions. #1508 by @jeroenbb94.
๐ Changed
- ๐ฅ Breaking Change Updated minimum version of
ReactiveSwift
to 3.0. #1470 by @larryonoff. - ๐ฅ Breaking Change Changed the
validate
property ofTargetType
to use newValidationType
enum representing valid status codes. #1505 by @SD10, @amaurydavid.
- ๐ฅ Breaking Change Added a
-
v10.0.2 Changes
January 26, 2018๐ Fixed
- ๐ Fixed a bug where modifying
.uploadMultipart
,.uploadCompositeMultipart
,.uploadFile
,.downloadDestination
, and.downloadParameters
tasks through anendpointClosure
has no effect on the final request. #1550 by @SD10, @sunshinejr. - ๐ Fixed a bug where
URLEncoding.httpBody
wasn't allowed asbodyEncoding
inTask.requestCompositeParameters()
. #1557 by @sunshinejr.
- ๐ Fixed a bug where modifying
-
v10.0.1 Changes
November 23, 2017๐ Fixed
- ๐ Fixed a bug that
Decodable
mapping to object other than Array and Dictionary in a key path cause crash. #1405 by @ufosky. - ๐ Fixed a bug with missing Content-Type header when using
.requestJSONEncodable
#1410 by @Vict0rS. - ๐ Fixed linker settings, enabling RxMoya and ReactiveMoya to be used in app extensions #1417 by @spookyvision.
- ๐ Fixed carthage OS X not targeting 10.10 #1444 by @lucas34.
- ๐ Fixed a bug that
-
v10.0.0 Changes
October 21, 2017 -
v10.0.0-beta.1 Changes
October 08, 2017โ 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.
โ Removed
๐ Fixed
- ๐ฅ Breaking Change Added a
-
v9.0.0 Changes
September 04, 2017- โ Removed default value for task from
Endpoint
initializer
- โ Removed default value for task from
-
v9.0.0-beta.1 Changes
August 26, 2017๐ Changed
- ๐ฅ Breaking Change Replaced
parameters
¶meterEncoding
inTargetType
with extendedTask
cases. - ๐ฅ Breaking Change Flattened
UploadType
andDownloadType
intoTask
cases. - ๐ฅ Breaking Change Replaced
shouldAuthorize: Bool
inAccessTokenAuthorizable
withauthorizationType: AuthorizationType
. - ๐ฅ Breaking Change Replaced
token
inAccessTokenPlugin
withtokenClosure
. - ๐ฅ Breaking Change
TargetTypes
no longer receive theAuthorization: Bearer <token>
header by default when usingAccessTokenPlugin
.
โ Added
- โ Added Swift 4.0 support for Moya core (without RxSwift/ReactiveSwift extensions for now).
- โ Added all the
filter
/map
operators that were available forObservable<Response>
toSingle<Response>
as well. - โ Added
AuthorizationType
toAccessTokenAuthorizable
representing request headers of.none
,.basic
, and.bearer
. - โ Added tests for
Single<Response>
operators. - โ Added
Progress
object into the response when calling progress callback on completion. - โ Added tests for creating
URLRequest
fromTask
.
๐ Fixed
- ๐ Fixed a bug where you weren't notified on progress callback for data request.
- ๐ฅ Breaking Change Replaced
-
v9.0.0-alpha.1 Changes
๐ Changed
- ๐ฅ Breaking Change Added support to get the response (if any) from
MoyaError
. - ๐ฅ Breaking Change Added
headers
toTargetType
. - ๐ฅ Breaking Change Updated
RxMoyaProvider.request
to return aSingle<Request>
. - ๐ฅ Breaking Change Updated
Moya.Response
'sresponse
to use anHTTPURLResponse
instead of aURLResponse
. - ๐ฅ Breaking Change Renamed all occurrences of
queue
tocallbackQueue
. - ๐ฅ Breaking Change Deprecated
ReactiveSwiftMoyaProvider
andRxSwiftMoyaProvider
. UseMoyaProvider
with reactive properties now:provider.reactive._
,provider.rx._
. In case you were subclassing reactive providers, please take a look at this PR from Eidolon. It covers migration from subclassing given providers, to usage by composition. - ๐ฅ Breaking Change Removed parameter name in
requestWithProgress
forReactiveSwiftMoyaProvider
. - ๐ฅ Breaking Change Removed deprecated in Moya 8.0.0:
Moya.Error
,endpointByAddingParameters(parameters:)
,endpointByAddingHttpHeaderFields(httpHeaderFields:)
,endpointByAddingParameterEncoding(newParameterEncoding:)
,endpointByAdding(parameters:httpHeaderFields:parameterEncoding)
,StructTarget
,filterStatusCodes(range:)
,filterStatusCode(code:)
,willSendRequest(request:target:)
,didReceiveResponse(result:target:)
,ReactiveCocoaMoyaProvider
,ReactiveSwiftMoyaProvider.request(token:)
.
โ Added
- โ Added optional callback queue parameter to reactive providers.
- โ Added public
URL(target:)
initializator that creates url fromTargetType
. - โ Added an optional
requestDataFormatter
inNetworkLoggerPlugin
to allow the client to interact with the request data before logging it.
๐ Fixed
- ๐ Fixed a bug where you would have two response events in
requestWithProgress
method onReactiveSwift
module. Enabled the "Allow app extension API only" flag.
โก๏ธ Updated minimum version of
RxSwift
to3.3
.โก๏ธ Updated minimum version of
ReactiveSwift
to 2.0.
- ๐ฅ Breaking Change Added support to get the response (if any) from