Download Latest Version 15.0.3.tar.gz (415.0 kB)
Email in envelope

Get an email when there's a new version of Moya

Home / 14.0.0
Name Modified Size InfoDownloads / Week
Parent folder
14.0.0.tar.gz 2020-02-15 404.5 kB
14.0.0.zip 2020-02-15 481.1 kB
README.md 2020-02-15 1.5 kB
Totals: 3 Items   887.2 kB 0

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 :)

Source: README.md, updated 2020-02-15