-
Notifications
You must be signed in to change notification settings - Fork 13
Comparing changes
Open a pull request
base repository: swift-server/swift-openapi-async-http-client
base: 0.3.0
head repository: swift-server/swift-openapi-async-http-client
compare: 1.0.0
- 17 commits
- 14 files changed
- 3 contributors
Commits on Oct 4, 2023
-
Add docker-compose file for 5.10 CI (#19)
### Motivation Now Swift 5.9 is released and 5.10 nightly images are available, we should update our CI to use the official release for 5.10 and setup a new CI for 5.10. ### Modifications - Update 5.9 CI to use `swift:5.9-jammy` - Add new CI for `swiftlang/swift:nightly-5.10-jammy` ### Result - 5.9 CI is using official released image. - 5.10 CI can be brought online. ### Test Plan Running both of these commands locally succeed: ```console % docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.2204.59.yaml run test ``` ```console % docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.2204.510.yaml run test ```
Configuration menu - View commit details
-
Copy full SHA for 6779786 - Browse repository at this point
Copy the full SHA 6779786View commit details
Commits on Oct 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f3fa4a5 - Browse repository at this point
Copy the full SHA f3fa4a5View commit details
Commits on Oct 24, 2023
-
Bump swift-format to 5.9 (#20)
Bump swift-format to 5.9 ### Motivation As per apple/swift-openapi-generator#175. ### Modifications Bump swift-format, update to make soundness pass. ### Result Using swift-format 5.9. ### Test Plan Soundness passed. Reviewed by: dnadoba Builds: ✔︎ pull request validation (5.10) - Build finished. ✔︎ pull request validation (5.8) - Build finished. ✔︎ pull request validation (5.9) - Build finished. ✔︎ pull request validation (nightly) - Build finished. ✔︎ pull request validation (soundness) - Build finished. #20
Configuration menu - View commit details
-
Copy full SHA for 2e72905 - Browse repository at this point
Copy the full SHA 2e72905View commit details
Commits on Oct 25, 2023
-
Add a soundness --fix flag (#22)
Add a soundness --fix flag ### Motivation When running `./scripts/soundness.sh` produces swift-format warnings, we ask adopters to manually copy/paste a call to swift format to fix the warnings up. This is tedious and unnecessary. ### Modifications Add a `--fix` option on the `soundness.sh` script to actually apply the fixes as well, avoiding the need to copy/paste long commands. ### Result Easier fixing up of formatting warnings. ### Test Plan Manually tested the workflow locally. Reviewed by: glbrntt Builds: ✔︎ pull request validation (5.10) - Build finished. ✔︎ pull request validation (5.8) - Build finished. ✔︎ pull request validation (5.9) - Build finished. ✔︎ pull request validation (nightly) - Build finished. ✔︎ pull request validation (soundness) - Build finished. #22
Configuration menu - View commit details
-
Copy full SHA for 7c6a9e7 - Browse repository at this point
Copy the full SHA 7c6a9e7View commit details
Commits on Nov 1, 2023
-
Disable "respectsExistingLineBreaks" in .swift-format for more consis…
…tent styling (#23) ### Motivation - Relates to [#230](apple/swift-openapi-generator#230) ### Modifications - Disable respectsExistingLineBreaks .swift-format rule and address changes requested ### Result - One of the .swift-format rules will be disabled ### Test Plan - Run Tests
Configuration menu - View commit details
-
Copy full SHA for e48b152 - Browse repository at this point
Copy the full SHA e48b152View commit details
Commits on Nov 16, 2023
-
### Motivation Surface the Swift version and platform support status from Swift Package Index. ### Modifications Added badges, plus a quick link to the docc docs, to the top of the README. Also, expanded the supported platforms, we do actually support iOS and friends (was an oversight not to include it before). ### Result Easier to quickly see our support matrix, plus the quick link to docs. ### Test Plan Previewed locally.
Configuration menu - View commit details
-
Copy full SHA for 701d752 - Browse repository at this point
Copy the full SHA 701d752View commit details
Commits on Nov 27, 2023
-
Prep for 1.0 alpha, adapted to runtime changes in main (#25)
### Motivation On main, the HTTPBody length type changed from Int to Int64. ### Modifications Adapted the transport with this change. ### Result Repo builds again when using the latest runtime. ### Test Plan Adapted tests.
Configuration menu - View commit details
-
Copy full SHA for caa5303 - Browse repository at this point
Copy the full SHA caa5303View commit details -
Move to Swift 5.9 as the minimum version (#26)
### Motivation Part of addressing apple/swift-openapi-generator#75 and apple/swift-openapi-generator#119. ### Modifications Bumped Swift tools version to 5.9 and made the `ExistentialAny` build setting unconditional. ### Result Building the package requires 5.9 now. ### Test Plan Ran tests, all passed when using a Swift 5.9 toolchain.
Configuration menu - View commit details
-
Copy full SHA for 8c6cc59 - Browse repository at this point
Copy the full SHA 8c6cc59View commit details -
Remove #if swift(>=5.9) check in Package.swift (#27)
### Motivation In #26 we bumped the minimum tools version to Swift 5.9, but we left the `#if swift(>5.9)` compiler directive when enabling existential any by default. ### Modifications Remove #if swift(>=5.9) check in Package.swift ### Result No checking for Swift 5.9+, because that's now the default. ### Test Plan CI.
Configuration menu - View commit details
-
Copy full SHA for e0c24bc - Browse repository at this point
Copy the full SHA e0c24bcView commit details
Commits on Nov 28, 2023
-
Bump to 1.0.0-alpha.1 ### Motivation Prepare for 1.0.0-alpha.1. ### Modifications - Updated runtime dependency. - Updated docs. ### Result Ready to tag 1.0.0-alpha.1. ### Test Plan All tests pass. Reviewed by: simonjbeaumont Builds: ✔︎ pull request validation (5.10) - Build finished. ✔︎ pull request validation (5.9) - Build finished. ✔︎ pull request validation (nightly) - Build finished. ✔︎ pull request validation (soundness) - Build finished. #28
Configuration menu - View commit details
-
Copy full SHA for f5bf294 - Browse repository at this point
Copy the full SHA f5bf294View commit details -
Handle large payloads on 32bit platforms gracefully (#29)
Handle large payloads on 32bit platforms gracefully ### Motivation If there's a request payload with a number of bytes that can't fit into 32 bits, we'd crash. ### Modifications Use a graceful initializer and use `.unknown` (so no `content-length` will be sent) if the size exceeds the max of a 32bit int. ### Result No crash for large payloads on 32bit platforms. ### Test Plan Tests pass. Reviewed by: dnadoba Builds: ✔︎ pull request validation (5.10) - Build finished. ✔︎ pull request validation (5.9) - Build finished. ✔︎ pull request validation (nightly) - Build finished. ✔︎ pull request validation (soundness) - Build finished. #29
Configuration menu - View commit details
-
Copy full SHA for 0859ead - Browse repository at this point
Copy the full SHA 0859eadView commit details
Commits on Nov 30, 2023
-
Add visionOS platform support (#31)
### Motivation While this isn't technically necessary, as all versions of a platform not explicitly mentioned are assumed to be supported, it's better to be explicit here. ### Modifications Add `visionOS(.v1)` to the list of supported platforms. ### Result Clearer support matrix. ### Test Plan N/A, this is basically just a documentation change.
Configuration menu - View commit details
-
Copy full SHA for 1ab51fe - Browse repository at this point
Copy the full SHA 1ab51feView commit details -
Default the configuration parameter (#32)
Default the configuration parameter ### Motivation The AsyncHTTPClient transport API has undergone changes in recent months and we didn't bring back the default initializer after we adopted the shared EventLoopGroup, allowing you to create a transport with just `let transport = AsyncHTTPClientTransport()`. ### Modifications Default the configuration parameter in the initializer to be able to do that. It's already documented to work, but it doesn't. ### Result Match the documented behavior of being able to use `let transport = AsyncHTTPClientTransport()`. ### Test Plan Tests still pass. Reviewed by: dnadoba Builds: ✔︎ pull request validation (5.10) - Build finished. ✔︎ pull request validation (5.9) - Build finished. ✔︎ pull request validation (nightly) - Build finished. ✔︎ pull request validation (soundness) - Build finished. #32
Configuration menu - View commit details
-
Copy full SHA for 7edc421 - Browse repository at this point
Copy the full SHA 7edc421View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddc356e - Browse repository at this point
Copy the full SHA ddc356eView commit details
Commits on Dec 1, 2023
-
Explicit dependency on HTTPTypes (#34)
### Motivation Recent SwiftPM versions seem to be a bit stricter about using (i.e., `import ...`) transitive dependencies without explicitly declaring them as direct dependencies. ### Modifications Explicitly depend on the HTTPTypes module from swift-http-types. ### Result More explicitly declare the dependency graph. ### Test Plan All tests pass.
Configuration menu - View commit details
-
Copy full SHA for 410d691 - Browse repository at this point
Copy the full SHA 410d691View commit details
Commits on Dec 11, 2023
-
Add issue template, redirecting to swift-openapi-generator issues (#36)
### Motivation We centralize the issues for all the repos in the Swift OpenAPI Generator project in the generator repo. Using an issue template will make this even clearer, because it will allow people to use the normal Github workflow to discover the process and provide a link to where to file their issue. ### Modifications Add issue template, redirecting to swift-openapi-generator issues. ### Result When people try and file an issue, they'll be presented with a button that takes them to the generator repo issues page. ### Test Plan Manual.
Configuration menu - View commit details
-
Copy full SHA for bdb9c8f - Browse repository at this point
Copy the full SHA bdb9c8fView commit details -
### Motivation Prep 1.0 - docs. ### Modifications See above. ### Result Updated for 1.0. ### Test Plan Previewed locally.
Configuration menu - View commit details
-
Copy full SHA for abfe558 - Browse repository at this point
Copy the full SHA abfe558View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.3.0...1.0.0