Commit Graph
61 Commits
Author SHA1 Message Date
David Evans b0effbcfd9 Make Swift 5.2 the minimum requirement (#1860)
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.
2021-06-18 21:02:41 +01:00
Johannes Weiss f7e5eb521c update version support (new floor: Ubuntu 18.04) (#1838)
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.
2021-04-30 13:03:37 +01:00
Joakim Hassila 22b58cebee Update documentation related to allocation troubleshooting on Linux and the ability to run unit tests in parallel. (#1796)
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.
2021-04-09 11:49:48 +01:00
George Barnett 27fc3ef162 Update NIOSSH version in README (#1783)
Motivation:

SwiftNIO SSH has a 0.2.0 release now.

Modifications:

- Update suggested version in README

Result:

README is more up-to-date
2021-03-16 16:19:26 +00:00
Johannes WeissandCory Benfield 0d28d5a994 more readme updates (#1774)
Co-authored-by: Cory Benfield <lukasa@apple.com>
2021-03-08 14:09:44 +00:00
Johannes WeissandCory Benfield 4b8d99536b README updates (#1757)
* README updates

* Update README.md

Co-authored-by: Cory Benfield <lukasa@apple.com>
2021-03-05 19:01:37 +00:00
George Barnett 74bedaf43b Add watchOS deployment to PodSpec build script (#1679)
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.
2020-10-21 09:00:01 +01:00
Cory Benfield e7880565aa We use main as our development branch now. (#1651) 2020-09-24 18:02:44 +01:00
George Barnett 7100980bf7 Update supported version in README (#1517)
* 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.
2020-06-18 18:05:42 +01:00
Peter AdamsandCory Benfield 5779ddd54b Extra information to contributors (#1491)
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>
2020-05-16 11:02:27 +01:00
George Barnett 0bb5b77cee Add SSWG badge to README (#1421)
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
2020-02-28 15:37:34 +00:00
Johannes Weiss e800e7cc5c add Swift 5.2 to the readme (#1386)
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.
2020-02-06 16:09:27 +00:00
Johannes Weiss 1c3c8a09cb README: make it easier for users to understand the implemented protocols (#1304)
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.
2019-12-13 15:39:00 +00:00
John Lin 9ec23f5f8a Remove example binaries from products (#1303)
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`
2019-12-12 13:39:54 +00:00
Johannes Weiss 8967e0470c README: recommend using Xcode package support (#1137)
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.
2019-09-11 06:59:49 +01:00
Liam Flynn 4fa0921e61 Update the README file to include some recently added examples. (#1087)
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.
2019-07-30 11:31:13 +01:00
Johannes Weiss 902cf2eb4e README: fix outdated info (#979)
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
2019-04-23 20:21:16 +01:00
Johannes Weiss 3336cfaca3 README: Update prerequisites (#938) 2019-04-01 10:21:08 +01:00
Johannes Weiss bba988ece0 README: recommend 2.0.0, not 1.0.0 2019-03-29 15:43:37 +00:00
Johannes Weiss 09bace11d6 minor fixes in docs (#928)
Motivation:

Some things weren't 100% clear or wrong, let's fix em.

Modifications:

fixed 'em.

Result:

better docs
2019-03-26 11:26:10 +00:00
Johannes Weiss b8368b6e09 update the documentation for NIO 2 release (#927)
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.
2019-03-26 09:11:28 +00:00
Liam Flynn 169f34adfc Motivation: (#911)
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.
2019-03-20 15:37:08 +00:00
Johannes Weiss bde02a6ef2 README.md: Update prerequisites (#897)
Motivation:

The prerequisites listed in README.md were outdated.

Modifications:

fix them

Result:

correct information is better information
2019-03-12 09:25:20 +00:00
Johannes Weiss 15e69f5fb6 README: update requirements (#791)
Motivation:

We still recommend to patch Xcode 10.1 instead of using Xcode 10.2 beta.

Modifications:

Recommend Xcode 10.2 beta + custom toolchain

Result:

Happier NIO devs
2019-01-29 13:50:47 +00:00
0xflotus a87859085e fixed small typo (#775) 2019-01-24 09:22:04 +00:00
Johannes Weiss f32f283dd4 declare public API (#673)
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.
2019-01-19 14:17:38 +00:00
Johannes Weiss 0beabb63bc document NIO 2 development in the README (#715)
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
2018-12-18 09:27:53 +00:00
Johannes Weiss 59ad713348 document the prerequisites (#613)
Motivation:

We should document the system requirements.

Modifications:

Add list of prerequisites to readme.

Result:

Easier to get started for users.
2018-09-12 11:47:21 +01:00
Rukshani Athapathu 5011c409bb Fix readme erroneous statement regarding channel pipeline (#592) 2018-08-23 16:07:32 +01:00
Johannes Weiss 57c6724dbd advertise NIOTS a bit more (#557)
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
2018-08-08 19:15:59 +01:00
Max Desiatov fdab3efcb1 Added links to documentation in README.md (#532)
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.
2018-08-07 09:47:24 +01:00
Portia 7de79882fb Added documentation to generate an xcodeproj #477 (#478)
Added documentation to generate an xcodeproj #477
2018-06-08 19:00:14 -07:00
Matt Eaton 4652909472 issue-271: Document the behavior between close and closeFuture. (#419)
* 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.
2018-05-21 15:12:53 +01:00
Cory Benfield 0c16cec914 Link to swift-nio-http2. (#416) 2018-05-19 12:46:53 +01:00
tomer doron 8914a5536e extend docker setup to multiple version of ubuntu and swift (#357)
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
2018-05-01 08:56:39 +01:00
tomer doron 7734506765 nicer way to use docker compose (#105)
Motivation:

asking to `cd` into the docker directory is not user firendly

Modifications:

use `docker-compose -f` directive

Result:

happier users
2018-03-06 08:52:24 +09:00
tomer doron 142ee43906 docker cleanup (#90)
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
2018-03-05 19:37:29 +09:00
Tiago Martinho 2a5ad33542 Add Docker installation instructions to README (#81)
Motivation:
Help developers setting up the project.

Modifications:
Add Docker installation instructions to README.

Result:
More complete instructions.
2018-03-03 20:11:06 +09:00
Bas Broek ab37e31c4d Add syntax highlighting to README (#72) 2018-03-02 22:29:26 +09:00
Andrew Bennett 85131d6235 Add example links (#64)
* Add example links to README
2018-03-02 15:30:37 +09:00
Wilson Ding a7b1c50d9a fix: typos in README (#58) 2018-03-02 10:32:55 +09:00
Moritz Lang c7fd97da81 Update README to consistently use plurals (#56) 2018-03-02 10:10:04 +09:00
Ian Partridge ab26840de4 typo: README.md (#50) 2018-03-02 08:27:12 +09:00
Kyle Bashour 5a9a16f5b1 Fix typo in README (#46) 2018-03-01 07:13:56 +00:00
Johannes Weiß 4fb0cc68fe fix readme dependencies (#42) 2018-02-28 13:39:11 +00:00
Johannes Weiß 8684fdf00f Use https for dependency so no SSH login is needed. (#40)
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
2018-02-28 13:27:47 +00:00
Norman Maurer 49270cc761 Fix docker-compose docs for running the tests (#22)
Motivation:

We missed the "up" argument in our docs.

Modifications:

Fix doc about running tests via docker-compose.

Result:

More correct docs.
2018-02-23 09:35:06 +00:00
tomer doron dffb404cf0 fix broken swift-nio-http2 link (#6)
Motivation:

swift-nio-http2 is not released yet, link is broken

Modifications:

replace link with coming soon notice

Result:

no broken link
2018-02-21 14:53:59 -08:00
tomer doron 379feabc54 update getting started guide to use git ssh address (#5)
Motivation:

consistency with other examples

Modifications:

use git ssh address in Package.swift example

Result:

more consistent with other getting started guides
2018-02-21 20:17:20 +01:00
Daniel Dunbar e41acdaa4d [README] Add a note on supported platforms. (#2)
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.
2018-02-21 17:35:49 +00:00