23 Commits

Author SHA1 Message Date
George Barnett
a33bb16e79
Raise minimum swift version to 5.8 (#218) 2024-03-11 08:48:32 +00:00
Guoye Zhang
798c962495
Add HTTP types adapter for SwiftNIO (#202)
* Add HTTP types adapter for SwiftNIO

* swiftformat

* Guard on Swift 5.8

* Review comments

* Update swift-http-types to 0.1.1

* Update swift-http-types to 1.0.0

* Review feedback

* Review feedback

* Bump minimum Swift version to 5.7.1

* Allow Host in any order
2023-10-20 17:55:23 +01:00
Rick Newton-Rogers
6c3819cf2a
Bump minimum Swift version to 5.7 (#207)
Motivation:

Now that Swift 5.9 is GM we should update the supported versions and
remove 5.6

Modifications:

* Update `Package.swift`
* Remove `#if swift(>=5.7)` guards
* Delete the 5.6 docker compose file and make a 5.10 one
* Update docs

Result:

Remove support for Swift 5.6, add 5.10
2023-10-04 10:17:34 +01:00
Cory Benfield
9cdb93e321
Drop Swift 5.5 (#197)
Motivation

Per SwiftNIO's formal version policy, we are ready to drop support for
Swift 5.5.

Modifications

This patch removes the support for 5.5 and all supporting
infrastructure. This includes the test generation functionality, which
is no longer required, as well as the files generated by that
functionality. It updates the dockerfile for 5.8, and it removes all
conditional compilation checks that are now definitionally true.

Result

A nice, clean, 5.6+ codebase
2023-04-13 16:47:28 +01:00
David Nadoba
e9ed606ce3
Fix README.md (#183)
I have accidentally added an additional dot in https://github.com/apple/swift-nio-extras/pull/182
This PR removes it again.
2022-10-13 06:17:37 -07:00
David Nadoba
985a485f71
Remove #if compiler(>=5.5) (#182) 2022-10-13 14:04:27 +01:00
George Barnett
55f37f388c
Raise minimum supported Swift version from 5.4 to 5.5 (#180)
Motivation:

SwiftNIO periodically drops support for older Swift versions. Now that
5.7 has been released, 5.4 will be dropped.

Modifications:

- Remove 5.4 specific Package.swift and docker-compose
- Update the 5.7 docker-compose to use the released 5.7 and move from
  focal (2004) to jammy (2204)
- Update docs

Results:

Minimum Swift version is 5.5
2022-09-29 09:21:17 +01:00
Fabian Fett
59971a8c69
Drop support for Swift 5.2 and 5.3 (#154)
As outlined in a [Swift forums post in November ’21](https://forums.swift.org/t/swiftnio-swift-version-support/53232), SwiftNIO will only support the latest non-patch Swift release and the 2 immediately prior non-patch versions.

- drop support for Swift 5.2 and 5.3. 
- update CI for Swift 5.4 to run on bionic instead of focal to ensure that we still test bionic.
2022-04-21 08:49:12 +02:00
David Evans
f72c4688f8
Update NIO to 2.30.0 (#139) 2021-06-23 14:04:13 +01:00
David Evans
c67aa046e5
Remove support for Swift 5.0 and 5.1 (#138)
Changes made:

Removed CI config for 5.0 ad 5.1
Changed 5.2 to be based on 16.04 so we have some coverage there
Converted Package.swift to the latest syntax
Added a description to supported Swift versions in the README
2021-06-22 18:07:01 +01:00
David Nadoba
f9a828d8b3
Fix link to LengthFieldPrepender.swift in readme (#116) 2021-02-16 09:30:03 +00:00
David Evans
8a48d4d228
Fix typo (#82) 2020-03-02 16:07:23 +01:00
Andy Trevorah
b4dbfacff4 Add syntax highlighting to installation steps (#76) 2020-01-21 11:43:43 +00:00
Johannes Weiss
88530fd1d2 README: Add missing handlers (#47)
Motivation:

README has an overview with the handlers that NIOExtras provides, some
were missing.

Modifications:

Add the missing ones.

Result:

Better README.
2019-04-12 16:53:17 +01:00
Johannes Weiss
aad5c1ca6a update the readme for NIO2 (#43)
Motivation:

Again, we had some outdated information in the README file.

Modifications:

fix the outdated info.

Result:

more accurate information.
2019-03-27 09:44:25 +00:00
Liam Flynn
66c13a41c7 Motivation: (#38)
Fixing a broken link in the readme file.

Modifications:

A single character correction in the readme file.

Result:

Improved pedanticism and/or readability depending upon the readers perspective.
2019-03-20 11:29:40 +00:00
Johannes Weiss
7a3e42a40f
move HTTPResponseDecoder to swift-nio-extras (#28)
Motivation:

HTTPResponseDecoder needs to incumbate, so move to nio-extras.

Modifications:

move all the code here.

Result:

incubation can begin
2019-03-05 17:59:29 +00:00
Johannes Weiss
0dbd54199d
add RequestResponseHandler (#23)
Motivation:

Frequently, people want to terminate their pipeline with a handler that
takes in requests & a promise and on receipt of the response just
fulfill that promise.

Modifications:

- add `RequestResponseHandler`
- remove outdated of contents from README.md

Result:

more useful handlers
2019-01-29 15:30:24 +00:00
Liam Flynn
5a4a0976b3 Adds missing files to the contents list in the readme. (#21)
Motivation:
To improve the visibility of recently added files.

Modifications:
Adds 3 files to the file list in README.md.
Includes additional contributor.

Result:
Easier to see the full project contents as the readme is more accurate.
2019-01-14 14:18:18 +00:00
Ludovic Dewailly
ad4edc8cb5 Adds a line-based frame decoder that can split received buffers on line endings. (#11)
* Adds a line-based frame decoder that can split received buffers on line endings.

Motivation:

As per https://github.com/apple/swift-nio/issues/473

Modifications:

Added a new decoder (LineBasedFrameDecoder) that splits incoming buffers on line end characters.

Result:

Received buffers will be split on line end character(s) ('\n' or '\r\n'), with these characters
stripped in the resulting buffers.
2018-08-06 16:43:39 +01:00
Johannes Weiß
f5512693e3 fix readme dependency (#7)
Motivation:

in SwiftPM it's either of these three formats

- from: "0.1.0"
- .exact("0.1.0")
- .upToNextMajor(from: "0.1.0")

and I messed up the last one (forgot the `from:`)

Modifications:

fixed Package.swift

Result:

recommended syntax actually works
2018-05-23 19:28:32 +01:00
Johannes Weiß
bdd3e06759 update README: upToNextMinor & current contents (#5)
Motivation:

It's better for users to depend on `.upToNextMinor` instead of `.exact`
versions and I previously forgot to mention the quiescing helper in
the readme.

Modifications:

- mention quiescing helper in readme
- recommend to depend on this package with `.upToNextMinor`

Result:

better readme
2018-05-23 14:49:35 +01:00
Johannes Weiß
609d45fe14 add README (#1) 2018-05-16 11:44:17 +01:00