Make Swift 5.2 the minimum requirement, dropping support for Swift 5.0 and 5.1.
Motivation:
Whenever we have problems, Swift 5.0 and 5.1 seem to be the culprits. Dropping support for these very old versions will require less maintenance and free up our time to work on new features.
Modifications:
Set the tools version in Package.swift to 5.2
Remove CI configurations for 5.0 and 5.1
Update the various readmes to reflect that this change will be rolled out in NIO 2.30.0
Result:
Swift 5.2 is the minimum version of Swift required to use NIO.
Motivation:
Ubuntu 14.04 ... 17.10 are all not supported anymore by the end of the day.
Also Swift 5.4 was released recently.
Modification:
- support Ubuntu 18.04+
- officially support Swift 5.4
Result:
More sensible and correct version support info.
Motivation:
It's not obvious how to do analysis of allocation regressions on Linux, so some documentation would be helpful.
The run time for the unit tests can be quite long (a couple of minutes), can be cut down significantly if running tests in parallel, adding a hint about that.
Modification:
Updated documentation.
Result:
Easier to troubleshoot mallocs on Linux and faster running of unit tests.
Motivation:
We support watchOS 6+ with SwiftNIO Transport Services; as such we should
include watchOS as a deployment target for our CocoaPods.
Modifications:
- Add a watchOS deployment target to `build_podspecs.sh`
- Update docs
Result:
Users can deploy to watchOS 6+ with CocoaPods.
* Update supported version in README
Motivation:
NIO can run on macOS 10.9+/iOS 7+, but the README states 10.12+.
Modifications:
Update readme.
Result:
More accurate docs.
Motivation:
The more contributors know what's expected of them upfront the less likely they are to consume reviewer time and experience a harsh review.
Modifications:
Add some extra commentary to CONTRIBUTORS.md
Add a docker compose example with specific ubuntu/swift versions to README.md
Result:
Contributors will be more informed.
Co-authored-by: Cory Benfield <lukasa@apple.com>
Motivation:
SSWG guidelines recommend that accepted projects list their maturity
level in their README with an appropriate badge.
Modifications:
- Add SSWG graduated badge to README
- Add that gRPC is a SSWG community project
Result:
- A badgier README
Motivation:
Swift 5.2 is already available as developer snapshots and Xcode 11.4
beta got released which also includes Swift 5.2.
Modifications:
- add 5.2 support to the readme
- showcase SwiftPM's package syntax for 5.2
Result:
the future is here.
Motivation:
Repeatedly, we learned that our users don't fully know which protocols
are and aren't implemented by SwiftNIO or SSWG projects.
Modifications:
Add a table of implemented protocols to the README.
Result:
Easier to access information.
Motivation:
Avoid examples being build when using as library.
Address https://github.com/apple/swift-nio/issues/1217
Modifications:
Remove example binaries from products.
Update example section in README, show how to run them.
Result:
Examples are not being built when running `swift build`
Motivation:
Now that Xcode 11 has GM'd, we should recommend the best workflow which
very clearly is Xcode 11's new package support.
Modifications:
Edit README to explain how to use Xcode's package support.
Result:
Happier users.
Motivation:
To give visibility to recently added examples.
To satisfy issue #465
Modifications:
Added links to examples in readme.
Slightly re-arranged the order so that echo examples are next to each other in the list.
Result:
You can now see the UDP, HTTP and WebSocket client examples from the README file.
Motivation:
The link to swift.org linked to the Swift 5 development versions but now
it's released. We also mentioned swift-nio-{http2,ssl,extras,transport-services}
but we already mention them in a more prominent place.
Modifications:
Remove outdated/duped info.
Result:
Better readme
Motivation:
A bunch of things change with the release of NIO 2. We should update the
documentation to reflect that.
Modifications:
- update readme
- update migration guide
Result:
up to date docs.
The README file example list is missing a couple of examples which are actually in the project, namely the UDP and WebSocket server example projects.
Modifications:
Added UDP and WebSocket server example projects to the README.
Result:
A full list of examples is now included in the README file.
Motivation:
SemVer requires us to declare a public API, we should do so for NIO 2.
Modifications:
declare our public API.
Result:
more transparency into our versioning policy.
Motivation:
We're at the moment devloping NIO 2 and we should tell people.
Modifications:
- changed readme
- document how to develop with the latest Xcode
Result:
- fixes#771
Motivation:
NIOTS wasn't mentioned in the out-of-tree repos. Also their descripton
could've been a bit better.
Modifications:
added NIOTS and swift-nio-extras to the list of out-of-tree projects
Result:
better discoverability
Motivation:
For newcomers that start to explore SwiftNIO on
GitHub, the first thing they stumble upon is `README.md`.
This file contains a high level description of the framework
and mentions a few types that are important when getting
started. Adding links from these types to the generated
HTML documentation reduces possible friction and makes
it easier for newcomers to grasp fundamental building
blocks of SwiftNIO.
Modifications:
- Added Markdown links from first use of types in
README.md to generated documentation at
https://apple.github.io/swift-nio/
- Added Wikipedia links for few important concepts:
`pthreads`, `kqueue`, `epoll`
Result:
Easier navigation from `README.md` to
related documentation.
* issue-271: Document the behavior between close and closeFuture.
Motivation:
I was motivated to make this change for two reasons:
1) This was an open issue on the project.
2) This will help teach me more about the project.
Modifications:
Misc changes documenting close and closeFutrue behavior.
Result:
Hopefully this is a push to drive the understanding of close and closeFuture a bit better.
Motivation: easier testing across different permutations of os and language versions
Modifications:
* update dockerfile to take both swift_version adn ubuntu_version
* update default linux version to 16.04
* create multiple docker-compose files that use arguments to define os and swift versions
* make docker-compose file DRYer with yaml anchors
Result: users/ci can easily run tests across various versions of ubuntu and swift
Motivation:
repository currently contains two seperate docker definitions that are confusing to users
Modifications:
* remove Dockerfile.xenial so we have a canonical docker file for CI and developer testing
* point docker compose to canonical docker file
* define docker compose services for unit and integration tests. and make "test" service run both
* update readme
Result:
users are less confused about docker setup
Motivation:
We should just use https for our dependency so the user not need to have a github user at all and no ssh configured.
Modifications:
Just use https
Result:
Easier to use and consume SwiftNIO
Motivation:
consistency with other examples
Modifications:
use git ssh address in Package.swift example
Result:
more consistent with other getting started guides
Motivation:
Make sure it is obvious that SwiftNIO is cross-platform, and also communicate
what platforms are expected to work/will be supported currently.
Modifications:
Amended README.md
Result:
The README documents our current expectations on supported platforms.