Moya v15.0.1 Release Notes

Release Date: 2022-08-11 // 6 months ago
  • ๐Ÿ›  Fixed

    • ๐Ÿ“Œ Pin dependencies to their major versions only, so no specific minor or patch versions are required. #2207 by @BasThomas.

Previous changes from v15.0.0

  • โž• Added

    • โž• Added NetworkLoggerPlugin.default and NetworkLoggerPlugin.verbose to conveniently access the default plugins. #2095 by @sunshinejr.

    ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ Breaking Change Changed Hashable && Equatable implementation of Endpoint since it was returning false positives. #2101 by @sunshinejr.
    • ๐Ÿ’ฅ Breaking Change MultiPartFormData is now Hashable. #2101 by @sunshinejr.
    • ๐Ÿ’ฅ Breaking Change AccessTokenPlugin now uses TargetType, instead of AuthorizationType, in the closure to determine the token. Full MultiTarget integration added as well. #2046 by @Coder-ZJQ.
    • 0๏ธโƒฃ Target.sampleData is now automatically implemented as Data() 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.