| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Add `@Sendable` to `AdaptHandler` and `RetryHandler` Closure Parameters (#3906) ### Issue Link :link: Fixes #3905 ### Goals :soccer: This PR adds `@Sendable` to the closure types used by the interceptors. This PR also normalizes the order of closure attributes to `@escaping @Sendable`. ### Testing Details :mag: No tests updated. | 1 年前 | |
Refactor Project Structure, Break Request Types Out Into Separate Files (#3819) ### Goals :soccer: Alamofire's project structure has grown from its original single-file origin into many files on disk. Unfortunately, as the project has grown, the `Request.swift` file has grown rather gigantic, topping 2600 lines after the recent addition of `WebSocketRequest`. This PR breaks up `Request.swift` into separate files for each request type. It also moves all the previous serialization extensions from `ResponseSerialization.swift` to their associated type's files. This PR also restructures some of the project's layout on disk to make some Xcode groups proper folders. This PR also creates the `AFInfo` namespace and moves the previously internal `version` value into it to make it public. This PR also adds primary associated types to the serialization protocols. | 2 年前 | |
Fix existential-any for Swift6 (#3881) ### Goals :soccer: Resolve `existential-any` build errors. ### Implementation Details :construction: Added `any` to each protocols. https://github.com/swiftlang/swift-evolution/blob/main/proposals/0335-existential-any.md Co-authored-by: Jon Shier <jon@jonshier.com> | 1 年前 | |
Refactor Project Structure, Break Request Types Out Into Separate Files (#3819) ### Goals :soccer: Alamofire's project structure has grown from its original single-file origin into many files on disk. Unfortunately, as the project has grown, the `Request.swift` file has grown rather gigantic, topping 2600 lines after the recent addition of `WebSocketRequest`. This PR breaks up `Request.swift` into separate files for each request type. It also moves all the previous serialization extensions from `ResponseSerialization.swift` to their associated type's files. This PR also restructures some of the project's layout on disk to make some Xcode groups proper folders. This PR also creates the `AFInfo` namespace and moves the previously internal `version` value into it to make it public. This PR also adds primary associated types to the serialization protocols. | 2 年前 | |
Refactor Project Structure, Break Request Types Out Into Separate Files (#3819) ### Goals :soccer: Alamofire's project structure has grown from its original single-file origin into many files on disk. Unfortunately, as the project has grown, the `Request.swift` file has grown rather gigantic, topping 2600 lines after the recent addition of `WebSocketRequest`. This PR breaks up `Request.swift` into separate files for each request type. It also moves all the previous serialization extensions from `ResponseSerialization.swift` to their associated type's files. This PR also restructures some of the project's layout on disk to make some Xcode groups proper folders. This PR also creates the `AFInfo` namespace and moves the previously internal `version` value into it to make it public. This PR also adds primary associated types to the serialization protocols. | 2 年前 | |
Refactor Project Structure, Break Request Types Out Into Separate Files (#3819) ### Goals :soccer: Alamofire's project structure has grown from its original single-file origin into many files on disk. Unfortunately, as the project has grown, the `Request.swift` file has grown rather gigantic, topping 2600 lines after the recent addition of `WebSocketRequest`. This PR breaks up `Request.swift` into separate files for each request type. It also moves all the previous serialization extensions from `ResponseSerialization.swift` to their associated type's files. This PR also restructures some of the project's layout on disk to make some Xcode groups proper folders. This PR also creates the `AFInfo` namespace and moves the previously internal `version` value into it to make it public. This PR also adds primary associated types to the serialization protocols. | 2 年前 |