New APIs, new platform support, new test suite, new (8/7) toolchain.
This release requires use of the swift-DEVELOPMENT-SNAPSHOT-2016-08-04-a toolchain or the new swift-DEVELOPMENT-SNAPSHOT-2016-08-07-a toolchain. The use of the 8/7 toolchain is recommended.
- Added support for arm architecture for FD utilities.
- Added nine (9) new tests to test suite including a full test server helper function that uses Dispatch.
- IMPORTANT NOTE Testing requires a working Dispatch module in the toolchain. See the
README.md
for more information. - Added
read(into data: inout Data)
- This function reads all the data available on a socket and returns it in theData
object that was passed. This function has been added to the SocketReader protocol. - Added
write(from data: Data)
- This function writes the data contained within theData
object to the socket. This method has been added to the SocketWriter protocol. - Merged in support for non-blocking writes to TCP sockets per PR#15 submitted against the legacy-0.7 branch. Also available at tag 0.7.6 for use with the 7/25 toolchain.
- NSData and NSMutable data will be deprecated in a future release.
- Removed verifyConnection() function from SSLServiceDelegate protocol. Now handled internally by SSLService itself.
- See README.md for more information about the new API.
- Works with Xcode 8 Beta 4 using the above toolchain.
- Updated example in README.md to use multi-threaded Dispatch based API.
- Added instructions for building and installing Dispatch into the 8/4 or 8/7 Linux toolchain.