-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set Swift 5.8 as the minimum supported version #146
Conversation
Thanks @3a4oT Just wondering - Are there any particular needs you had for upgrading this, or were you just cleaning it up? |
@paulofaria Do you have any thoughts on this? I know you've been hesitant to update swift-tools versions in the past, but NIO is at 5.8 compatibility |
Hello, thanks for asking. The main driver was that we should support what Swift-NIO supports regarding the minimum required Swift tools. Swift itself doesn't support Ubuntu 20.04 anymore, so I dropped 5.4-5.6. I thought that bumping the version to 5.8 would be too aggressive, but I still believe it's the right thing to do :) |
Hey @3a4oT, I think this is good to go if you just make the following changes:
Let me know if you need any help! |
Let's follow SwiftNIO compatibility. |
Thanks! I have applied your suggestions to the rebased commit.
Set UPDATED: it seems like swift-nio is about to drop Swift 5.8 support at apple/swift-nio#2924 |
We can merge this with 5.8 and then do a follow up PR with 5.9 or we can just go with 5.9, wait and synchronize with the other PR. I'm fine either way, it's your call. 🙂 By the way, I think we should be explicit about our versioning support. The main question is do we phrase it as "the three latest released Swift versions" or do we phrase it as "we follow SwiftNIO support"? @NeedleInAJayStack Whatever we decide in this discussion, can you please add it to the Readme? @3a4oT |
I'm okay merging this and dropping 5.8 after NIO does.
I agree. I think phrasing it as "we follow SwiftNIO support" makes sense at the moment while we're pretty reliant on NIO. If at some point we drop that dependency in favor of full Swift Concurrency we can reevaluate. @3a4oT Could you add a
Otherwise, everything looks great! Thanks for contributing!! |
Nice work @3a4oT! 🙂 |
- Adjusted CI to drop swift version less than 5.8 - run `swiftformat` locally
Done |
swift-nio
andswift-collections
versions on the manifest.