Changelog History
Page 1
-
v15.0.1 Changes
August 11, 2022๐ Fixed
- ๐ Pin dependencies to their major versions only, so no specific minor or patch versions are required. #2207 by @BasThomas.
-
v15.0.0 Changes
September 04, 2021โ Added
- โ Added
NetworkLoggerPlugin.default
andNetworkLoggerPlugin.verbose
to conveniently access the default plugins. #2095 by @sunshinejr.
๐ Changed
- ๐ฅ Breaking Change Changed
Hashable
&&Equatable
implementation ofEndpoint
since it was returning false positives. #2101 by @sunshinejr. - ๐ฅ Breaking Change
MultiPartFormData
is nowHashable
. #2101 by @sunshinejr. - ๐ฅ Breaking Change
AccessTokenPlugin
now usesTargetType
, instead ofAuthorizationType
, in the closure to determine the token. FullMultiTarget
integration added as well. #2046 by @Coder-ZJQ. - 0๏ธโฃ
Target.sampleData
is now automatically implemented asData()
with default protocol extension. #2015 by jdisho. - ๐ฅ Breaking Change Minimum version of
RxSwift
is now 6.0. #2120 by @peagasilva. - Moya's Swift minimum version is now Swift 5.2. #2120 by @peagasilva.
- โ Moya now depends on the latest versions of RxSwift, ReactiveSwift & Alamofire. #2197 by @BasThomas.
๐ Fixed
- ๐ Fixed an issue where when using
trackInflights
option in certain circumstances would return a cached response for an endpoint that's not really the same. #2101 by @sunshinejr. - ๐ Fixed a crash where Combine Publisher would crash when using stubs. #2072 by jshier.
- ๐ Fixed Unit Tests and CI. #2187 by OhKanghoon.
- ๐ Fixed a race condition that could prevent plugin's
willSend(_:target:)
from being fired. #2192 by anton-plebanovich.
- โ Added
-
v15.0.0-alpha.1 Changes
July 07, 2020๐ This is an early-release version of Moya 15. This includes minimum Swift version bump to 5.1 as well as bringing back Combine support!
๐ It's an alpha release since there might be slight breaking changes to the Combine extensions if we find some problems and also there might be improvements that are waiting in PRs.๐ Thanks to @MaxDesiatov @BasThomas @LucianoPAlmeida @amaurydavid and everyone else that helped in the newest release! ๐
๐ Changelog
โ Added
- ๐ We brought back Combine support! #2024 by @MaxDesiatov.
๐ Changed
- Moya's minimum Swift version is now Swift 5.1. #1931 by @BasThomas.
-
v14.0.0 Changes
August 01, 2019This 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.๐ Changelog
โ Added
RequestType
now hassessionHeaders
! These are the headers that are added when the request is added to a session. #1878 by @sunshinejr.
๐ Changed
- ๐ฅ Breaking Change Minimum target version are now in line with Alamofire 5. iOS: 10.0, tvOS: 10.0, macOS: 10.12. #1810 by @sunshinejr.
- ๐ฅ Breaking Change Minimum version of
Alamofire
is now 5.0.0-beta.7. #1810 by @sunshinejr. - ๐ฅ Breaking Change Removed
Result
dependency in favor ofResult
introduced in Swift 5. #1858 by @larryonoff. - ๐ฅ Breaking Change Added
TargetType
parameter in the output ofNetworkLoggerPlugin
. #1866 by @hasankose. - ๐
NetworkoLoggerPlugin
uses the newly addedsessionHeaders
and now logs all the headers that the request will produce. #1878 by @sunshinejr.
-
v14.0.0-beta.6 Changes
December 09, 2019๐ Changed
- ๐ฅ Breaking Change In
AccessTokenPlugin
, the token closure now takes aAuthorizationType
as parameter andAuthorizationType.none
has been removed in favor of usingAuthorizationType?
. #1969 by @amaurydavid.
๐ Fixed
- ๐ Fixed a data race condition issue and enable TSAN on the test action and CI. #1952 by @LucianoPAlmeida.
- ๐ฅ Breaking Change In
-
v14.0.0-beta.5 Changes
October 27, 2019๐ฑ Only bumping Alamofire version, no changes to code this time ๐
๐ Changelog
- ๐ฅ Breaking Change Minimum version of
Alamofire
is now 5.0.0-rc.3. #1944 by @sunshinejr.
- ๐ฅ Breaking Change Minimum version of
-
v14.0.0-beta.4 Changes
October 05, 2019๐ Unfortunately we had to remove Combine for now to keep Xcode 10 compatibility ๐ญ You might want to update to that version ASAP as it's fixing crashes on release builds...
๐ Changelog
- โ Removed Combine extensions for now. Due to problems with weak-linking the framework, it's too difficult to support it with ease using all package managers and also without breaking backwards-compatibility. Probably gonna introduce it once we only support Xcode 11. #1933 by @sunshinejr
-
v14.0.0-beta.3 Changes
September 27, 2019๐ท A lot of fixes in this one! ๐ท
๐ Changelog
- ๐ Fixed an issue with displaying cURL-formatted request in
NetworkLoggerPlugin
. #1916 by @sunshinejr. - ๐ Fixed an issue that wouldn't display stubbed response body in
NetworkLoggerPlugin
. #1916 by @sunshinejr. - ๐ Fixed an issue where Carthage users using Xcode 11 couldn't install Moya 14. We added weak-linking for the xcodeproj so you might need additional steps for Xcode 10 + Carthage + Moya 14.* users. #1920 by @fredpi and @sunshinejr.
- ๐ Fixed an issue that wouldn't persist
URLRequest
changes (created by plugins) when stubbed. #1921 by @sunshinejr. - ๐ Fixed an issue with SPM integration - it no longer fetches testing libraries and also doesn't create runtime/Xcode Preview crashes. #1923 by @sunshinejr.
- ๐ Fixed an issue with displaying cURL-formatted request in
-
v14.0.0-beta.2 Changes
September 09, 2019๐ Changed
- ๐ฅ Breaking Change Minimum version of
Alamofire
is now 5.0.0-rc.2. #1912 by @sunshinejr.
โ Added
- ๐ Combine support! #1904 by @sunshinejr.
- โ
Very raw SPM testing support! Thanks to the work on OHHTTPStubs, we can finally start using
swift test
again. #1896 by @sunshinejr.
๐ Changed
- ๐ฅ Breaking Change Minimum version of
Alamofire
is now 5.0.0-rc.1. #1909 by @sunshinejr. - ๐ฅ Breaking Change The NetworkLoggerPlugin have been reworked to allow more customization about the logged request's components. #1894 by @amaurydavid.
- ๐ฅ Breaking Change Bumped ReactiveSwift version to 6.1.0. This should only affect Carthage users, but you'll probably want to use 6.1.0 in all of your Xcode 11 projects. #1896 by @sunshinejr.
- ๐
NetworkLoggerPlugin
now logs error when available (usingLogOptions.verbose
or specyfingerrorResponseBody
in yourLogOptions
). #1880 by @amaurydavid.
- ๐ฅ Breaking Change Minimum version of
-
v14.0.0-beta.1 Changes
September 06, 2019๐ฑ ๐๐๐
โ Combine extensions
โ NetworkLoggerPlugin rewrite
โ Alamofire 5.0.0-rc.1For
NetworkLoggerPlugin
, see our migration guide!๐ Changelog
โ Added
- ๐ Combine support! #1904 by @sunshinejr.
- โ
Very raw SPM testing support! Thanks to the work on OHHTTPStubs, we can finally start using
swift test
again. #1896 by @sunshinejr.
๐ Changed
- ๐ฅ Breaking Change Minimum version of
Alamofire
is now 5.0.0-rc.1. #1909 by @sunshinejr. - ๐ฅ Breaking Change The
NetworkLoggerPlugin
have been reworked to allow more customization about the logged request's components. #1894 by @amaurydavid. - ๐ฅ Breaking Change Bumped ReactiveSwift version to 6.1.0. This should only affect Carthage users, but you'll probably want to use 6.1.0 in all of your Xcode 11 projects. #1896 by @sunshinejr.
- ๐
NetworkLoggerPlugin
now logs error when available (usingLogOptions.verbose
or specyfingerrorResponseBody
in yourLogOptions
). #1880 by @amaurydavid.