Swiftpack.co - Package - Moya/Moya

404: Not Found

Github

link
Stars: 11090
Help us keep the lights on

Releases

14.0.0-alpha.2 - Aug 1, 2019

This 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 has sessionHeaders! 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, watchOS: 3.0. #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 of Result introduced in Swift 5. #1858 by @larryonoff.
  • Breaking Change Added TargetType parameter in the output of NetworkLoggerPlugin. #1866 by @hasankose.
  • NetworkoLoggerPlugin uses the newly added sessionHeaders and now logs all the headers that the request will produce. #1878 by @sunshinejr.

14.0.0-alpha.1 - May 14, 2019

This is an early pre-release version of Moya 14. This includes newest RxSwift & ReactiveSwift versions. Next pre-releases would have new version of Alamofire and potentially removed Result dependency.

Changelog

Changed

13.0.1 - May 1, 2019

Changelog

Fixed

  • Fixed a problem where, while using stubbed responses, Moya would generate weird cancellation errors in the console. #1841 by @sunshinejr.

13.0.0 - Apr 10, 2019

Xcode 10.2, Swift 5.0 and more! 🚀

Full Changelog for Moya 13.0:

Note: there are no changes between 13.0.0-beta.1 and 13.0.0.

Changed

  • Breaking Change .mapImage() extension on Single and Observable now returns non-optional image. #1789, #1799 by @bjarkehs and @sunshinejr.
  • Breaking Change Minimum version of ReactiveSwift is now 5.0. #1817 by @larryonoff.
  • Breaking Change Minimum version of Result is now 4.1. #1817 by @larryonoff.
  • Breaking Change Updated project to Swift 5.0. #1827 by @sunshinejr.
  • Updated project to support Xcode 10.2. #1826 by @larsschwegmann.
  • MoyaError now conforms to CustomNSError protocol, makes underlying errors available in its user-info dictionary. #1783 by @dpoggi.

Fixed

  • Fixed Progress object on responses that did not specify correct Content-Length header. Now, whenever there is no valid header, the progress will be 0.0 until the completion of the request. Also, the completed property is now true only when the response was serialized, we do not rely on progress being 1.0 anymore. #1815 by @sunshinejr.

Removed

  • Breaking change Removed validate on TargetType. It was deprecated in Moya 11, use validationType instead. #1828 by @sunshinejr.

13.0.0-beta.1 - Mar 31, 2019

Xcode 10.2, Swift 5.0 and more! 🚀

Changed

  • Breaking Change .mapImage() extension on Single and Observable now returns non-optional image. #1789, #1799 by @bjarkehs and @sunshinejr.
  • Breaking Change Minimum version of ReactiveSwift is now 5.0. #1817 by @larryonoff.
  • Breaking Change Minimum version of Result is now 4.1. #1817 by @larryonoff.
  • Breaking Change Updated project to Swift 5.0. #1827 by @sunshinejr.
  • Updated project to support Xcode 10.2. #1826 by @larsschwegmann.
  • MoyaError now conforms to CustomNSError protocol, makes underlying errors available in its user-info dictionary. #1783 by @dpoggi.

Fixed

  • Fixed Progress object on responses that did not specify correct Content-Length header. Now, whenever there is no valid header, the progress will be 0.0 until the completion of the request. Also, the completed property is now true only when the response was serialized, we do not rely on progress being 1.0 anymore. #1815 by @sunshinejr.

Removed

  • Breaking change Removed validate on TargetType. It was deprecated in Moya 11, use validationType instead. #1828 by @sunshinejr.