github Moya/Moya 14.0.0

latest releases: 15.0.3, 15.0.1, 15.0.0...
4 years ago

Moya 14.0.0 is finally released! 🚀 This is a huge amount of work and so I wanted to thank all contributors, especially @amaurydavid, @LucianoPAlmeida, @larryonoff, @hasankose and @fredpi!

TL;DR Changelog

  • Bumped dependency versions: Alamofire to 5.0, RxSwift to 5.0, ReactiveSwift to 6.0
  • Minimum target version are now in line with Alamofire 5. iOS: 10.0, tvOS: 10.0, macOS: 10.12, watchOS: 3.0
  • Removed Result dependency in favor of Result type introduced in Swift 5
  • NetworkLoggerPlugin have been reworked to allow more customization about the logged request's components
  • RequestType now has sessionHeaders property! These are the headers that are added when the request is added to a session
  • In AccessTokenPlugin the token closure now takes an AuthorizationType as parameter and AuthorizationType.none has been removed in favor of using AuthorizationType?
  • MultiTarget now implements AccessTokenAuthorizable so that the inner target's authorizationType is correctly returned to the AccessTokenPlugin when requested
  • Added SwiftPM testing using swift test and releasing using swift run rocket which allows us to remove testing dependencies for SwiftPM releases
  • and a lot more!

See migration guides or create an issue and let us help you out :)

Don't miss a new Moya release

NewReleases is sending notifications on new releases.