Commit Graph
17 Commits
Author SHA1 Message Date
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
Johannes Weiss 1ce2e70c08 update code of conduct to version 1.4 (#120) 2021-02-17 14:18:42 +00:00
David NadobaandJohannes Weiss 3d14afbe3f add support for a 24 bit (3 byte) length field (#114)
Motivation:

The RSocket protocol uses a 24 bit length field

Modifications:

- add two new methods readInteger and writeInteger on ByteBuffer that support reading and writing integers of any size.
- add a new case (.three) to ByteLength

Result:

LengthFieldBasedFrameDecoder & LengthFieldPrepender do now support a 24 bit length field

Co-authored-by: Johannes Weiss <johannesweiss@apple.com>
2021-02-17 09:04:24 +00:00
Fabian Fett e4bbe79d7e Use welcoming language (#112) 2021-01-22 08:49:59 +00:00
George Barnett e8d4442cf7 Add watchOS deployment to PodSpec build script (#110)
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`

Result:

Users can deploy to watchOS 6+ with CocoaPods.
2020-10-21 15:27:58 +01:00
Cory Benfield 5258afd617 This repository now uses main. (#109) 2020-09-24 16:28:47 +01:00
Peter Adams 71c5df21bd Get API breakage script working on Linux for swift-5.2+ (#103)
Motivation:

Current script always reports sdk errors on 5.2.

Modifications:

Only give -sdk where really necessary on 5.2 linux.

Result:

Script will work on 5.2 (although still reports silent errors)
2020-08-04 14:17:30 +01:00
Johannes Weiss 68af66e329 link swift-nio-extras in docs (#87) 2020-06-17 16:45:20 +01:00
George Barnett 157853a29b Update build_podspec.sh to not use exact dependency versions (#91)
Motivation:

The build_podspec.sh script generates a podspec which requires exact
versions of its dependencies. This very quickly turns into unresolvable
dependency graphs.

Modifications:

NIO version passed to script must be in the format MAJOR.MINOR
Podspec dependencies are now '>= MAJOR.MINOR', '< MAJOR+1'

Result:

Looser version requirements for podspecs
2020-06-17 09:32:40 +01:00
George Barnett 0f26138ae4 Let 2020 be an acceptable year in license headers (#89)
Motivation:

It's 2020; our license checking script should believe that that is an
acceptable year.

Modifications:

- Update scripts/sanity.sh

Result:

2020 is okay in license headers.
2020-04-30 16:29:36 +01:00
tomer doronandJohannes Weiss 64cb1e3bbb add doc generation script (#80)
motivation: publish api docs for helper modules

changes
* add doc publishing script
* add "shell" docker-compose task to help run document publishing from ci

Co-authored-by: Johannes Weiss <johannesweiss@apple.com>
2020-03-03 10:33:33 +00:00
Thomas Krajacic fa4caf3c93 Add api checker script (#69)
* Add api checker script

* Fix comment to match the tag in the sample command
2019-10-30 12:27:39 +01:00
George Barnett 3a9ddcaf3e Update target versions in podspec generation script (#50)
Motivation:

The script to generate a podspec used the minimum platform versions for
NIOTS instead of NIO.

Modifications:

Lower the minimum platform version to match those supported by NIO.

Result:

Larger Cocoapods platform support.
2019-05-22 16:42:27 +01:00
Romain Pouclet 1d1e76cf79 Add a podspec for NIOExtras (#48)
Motivation:

https://github.com/apple/swift-nio-extras/issues/45

Modifications:

Add a podspec

Result:

Happy cocoapods users
2019-04-16 20:00:32 +01:00
Johannes Weiss 96e8335180 write PCAP handler (#46)
Motivation:

Especially with TLS but also without, in real production environments it
can be handy to be able to write pcap files from NIO directly.

Modifications:

add a ChannelHandler that can write a PCAP trace from what's going on in
the ChannelPipeline.

Result:

easier debugging in production
2019-04-12 15:08:10 +01: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
Johannes Weiss 0874b531ce initial commit 2018-05-15 15:36:56 +01:00