Swiftpack.co - Swift Packages by Moya

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by Moya

Moya/Moya 15.0.3
Network abstraction layer written in Swift.
⭐️ 14,961
🕓 1 year ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
15.0.3
1 year ago
### Fixed * Package.swift: mark entire testTarget region as dev for rocket by @AndrewSB in https://github.com/Moya/Moya/pull/2275
15.0.1
1 year ago
### Fixed - Pin dependencies to their major versions only, so no specific minor or patch versions are required. [#2207](https://github.com/Moya/Moya/pull/2207) by [@BasThomas](https://github.com/BasThomas).
15.0.0
2 years ago
# [15.0.0] - 2021-09-04 ### Added - Added `NetworkLoggerPlugin.default` and `NetworkLoggerPlugin.verbose` to conveniently access the default plugins. [#2095](https://github.com/Moya/Moya/pull/2095) by [@sunshinejr](https://github.com/sunshinejr). ### Changed - **Breaking Change** Changed `Hashable` && `Equatable` implementation of `Endpoint` since it was returning false positives. [#2101](https://github.com/Moya/Moya/pull/2101) by [@sunshinejr](https://github.com/sunshinejr). - **Breaking Change** `MultiPartFormData` is now `Hashable`. [#2101](https://github.com/Moya/Moya/pull/2101) by [@sunshinejr](https://github.com/sunshinejr). - **Breaking Change** `AccessTokenPlugin` now uses `TargetType`, instead of `AuthorizationType`, in the closure to determine the token. Full `MultiTarget` integration added as well. [#2046](https://github.com/Moya/Moya/pull/2046) by [@Coder-ZJQ](https://github.com/Coder-ZJQ). - `Target.sampleData` is now automatically implemented as `Data()` with default protocol extension. [#2015](https://github.com/Moya/Moya/pull/2015) by [jdisho](https://github.com/jdisho). - **Breaking Change** Minimum version of `RxSwift` is now 6.0. [#2120](https://github.com/Moya/Moya/pull/2120) by [@peagasilva](https://github.com/peagasilva). - Moya's Swift minimum version is now Swift 5.2. [#2120](https://github.com/Moya/Moya/pull/2120) by [@peagasilva](https://github.com/peagasilva). - Moya now depends on the latest versions of RxSwift, ReactiveSwift & Alamofire. [#2197](https://github.com/Moya/Moya/pull/2197) by [@BasThomas](https://github.com/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](https://github.com/Moya/Moya/pull/2101) by [@sunshinejr](https://github.com/sunshinejr). - Fixed a crash where Combine Publisher would crash when using stubs. [#2072](https://github.com/Moya/Moya/pull/2072) by [jshier](https://github.com/jshier). - Fixed Unit Tests and CI. [#2187](https://github.com/Moya/Moya/pull/2187) by [OhKanghoon](https://github.com/OhKanghoon). - Fixed a race condition that could prevent plugin's `willSend(_:target:)` from being fired. [#2192](https://github.com/Moya/Moya/pull/2192) by [anton-plebanovich](https://github.com/anton-plebanovich).
14.0.1
3 years ago
A minor patch release with numerous doc changes, and support for getting built through carthage as a `xcframework`
15.0.0-alpha.1
3 years ago
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](https://github.com/Moya/Moya/pull/2024) by [@MaxDesiatov](https://github.com/MaxDesiatov). ### Changed - Moya's minimum Swift version is now Swift 5.1. [#1931](https://github.com/Moya/Moya/pull/1931) by [@BasThomas](https://github.com/BasThomas).
14.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](https://github.com/amaurydavid), [@LucianoPAlmeida](https://github.com/LucianoPAlmeida), [@larryonoff](https://github.com/larryonoff), [@hasankose](https://github.com/hasankose) and [@fredpi](https://github.com/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](https://github.com/Moya/Moya/tree/master/docs/MigrationGuides) or create an issue and let us help you out :)
14.0.0-beta.6
4 years ago
Another update while we wait for Alamofire to be stable. This time one fix, one small update - hope you will like it! 🚀 _Note: Unfortunately we introduced the breaking change with the update, but this was a pretty big gain in terms of the plugin usage so we decided to move forward with it. Make sure you see the [migration guide](https://github.com/Moya/Moya/blob/development/docs/MigrationGuides/migration_13_to_14.md) to see how you can migrate easily._ # Changelog ### Changed - **Breaking Change** In `AccessTokenPlugin`, the token closure now takes a `AuthorizationType` as parameter and `AuthorizationType.none` has been removed in favor of using `AuthorizationType?`. [#1969](https://github.com/Moya/Moya/pull/1969) by [@amaurydavid](https://github.com/amaurydavid). ### Fixed - Fixed a data race condition issue and enable TSAN on the test action and CI. [#1952](https://github.com/Moya/Moya/pull/1952) by [@LucianoPAlmeida](https://github.com/LucianoPAlmeida).
14.0.0-beta.5
4 years ago
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](https://github.com/Moya/Moya/pull/1944) by [@sunshinejr](https://github.com/sunshinejr).
14.0.0-beta.4
4 years ago
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](https://github.com/Moya/Moya/pull/1933) by [@sunshinejr](https://github.com/sunshinejr)
14.0.0-beta.3
4 years ago
A lot of fixes in this one! 👷 # Changelog - Fixed an issue with displaying cURL-formatted request in `NetworkLoggerPlugin`. [#1916](https://github.com/Moya/Moya/pull/1916) by [@sunshinejr](https://github.com/sunshinejr). - Fixed an issue that wouldn't display stubbed response body in `NetworkLoggerPlugin`. [#1916](https://github.com/Moya/Moya/pull/1916) by [@sunshinejr](https://github.com/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](https://github.com/Moya/Moya/pull/1920) by [@fredpi](https://github.com/fredpi) and [@sunshinejr](https://github.com/sunshinejr). - Fixed an issue that wouldn't persist `URLRequest` changes (created by plugins) when stubbed. [#1921](https://github.com/Moya/Moya/pull/1921) by [@sunshinejr](https://github.com/sunshinejr). - Fixed an issue with SPM integration - it no longer fetches testing libraries and also doesn't create runtime/Xcode Preview crashes. [#1923](https://github.com/Moya/Moya/pull/1923) by [@sunshinejr](https://github.com/sunshinejr).
iOS macOS watchOS tvOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics