Commit Graph
10 Commits
Author SHA1 Message Date
c915322eca API Refactoring (#273)
motivation: define stable API in preperation 1.0 release

changes:
* require swift 5.7, remove redundant backwards compatibility code
* make LambdaHandler, EventLoopLambdaHandler, and ByteBufferLambdaHandler disjointed protocols to reduce API surface area
* create coding wrappers for LambdaHandler and EventLoopLambdaHandler to provide bridge to ByteBufferLambdaHandler
* reuse output ByteBuffer to reduce allocations
* add new SimpleLambdaHandler with no-op initializer for simple lambda use cases
* update callsites and tests
* update examples

Co-authored-by: Yim Lee <yim_lee@apple.com>
Co-authored-by: Fabian Fett <fabianfett@apple.com>
2022-11-09 10:08:36 -08:00
Fabian Fett cebcf04d23 Drop Swift 5.2 and 5.3 (#262)
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.
2022-04-20 22:02:24 +02:00
Fabian Fett a49a87341a Update swiftformat (#196)
changes: 
* Update swiftformat from 0.44 to 0.47
* Adjust rules
2021-03-26 10:34:34 -07:00
tomer doron a2b5326671 remove symbolicate-linux-fatal from Docker (#173)
motivation: we are not actually using symbolicate-linux-fatal in any meaningful way in CI and it's pinned to the master branch which has been removed

changes: remove symbolicate-linux-fatal fetching from Docker
2020-10-08 09:13:29 +09:00
tomer doron aa6468b360 add docker-compose setup for amazon linux (#114)
motivation: swift 5.2.4 now supportes AL2

changes:
* add docker-compose file for al2 5.2.4
* correct 5.3 docker-file to say al2 instead of 18.04
2020-06-05 20:23:08 -07:00
tomer doronandYim Lee 75d05ca954 docs cleanup (#91)
motivation: cleanup docs for oss

changes:
* add useful information in readme, with pointers to examples
* update ci setup and example to use latest tools
* update contributors list

Co-authored-by: Yim Lee <yim_lee@apple.com>
2020-05-28 12:19:19 -07:00
tomer doron dede451849 update ci setup (#56)
motivation: 5.2 adoption, prepare for 5.3

changes:
* add 5.2 docker-compose setup
* add 5.3 docker-compose setup (placeholder)
* format
2020-04-03 19:50:46 -07:00
tomer doron a9606fc636 better formatting (#44)
motvation: update swift-format

changes:
* explicitly set swift version
* update swift-format to v44
2020-03-19 22:28:51 -07:00
tomer doron eb2f31ce7c add ci setup for 5.2 (#31)
motivation: 5.2 is coming soon, need to test against that target version

changes: add docker files setup for 5.2
2020-03-10 00:10:26 -07:00
tomer doron b8a6466577 add docker support (#15)
motivation: enable CI

changes: add docker files support for ubuntu 16.04 and 18.04 and swift 5.0 and 5.1

note that eventyally this will need to move to AL2 docker images, but we dont have official ones yet
2020-03-06 18:43:16 -08:00