Releases: apple/swift-nio
Releases · apple/swift-nio
SwiftNIO 1.3.1
Semver Patch
- Fixed build issues on Swift 4.1 snapshots. (#229)
SwiftNIO 1.3.0
Semver Minor
- Gave
HTTPResponseStatusa public initializer that can take a numerical status code and optional reason phrase and create an appropriateenummember, instead of forcing users to use.custom. (#158) - Added
EventLoopFuture.hopTo(eventLoop:)to simplify code that needs to ensure callbacks dispatch to a specific thread. (#177)
Semver Patch
- Suppressed compiler warnings that were emitted in release mode. (#179)
- Fixed compilation on iOS. (#180)
- Fixed possible infinite loop when shutting down event loops. (#188)
- Brought
EmbeddedEventLoop's task scheduling behaviour closer to that ofMultiThreadedEventLoop. (#189) - Fixed ordering issues between promises and
fire*methods. (#181) - Fixed failure to expose backwards-compatibility shim for HTTP header iterator type. (#194)
- Reduced memory allocation during task dispatch on
MultiThreadedEventLoopGroup. (#192) - Fixed ordering issues where
fireChannelReadcould dispatch beforefireChannelActive. (#195, #204) - Fixed issue where Happy Eyeballs connection state machine would
fatalErrorunder high load. (#191) - Correctly fail the futures returned from
Channel.getOptionandchannel.setOptionwhen the channel is closed. (#198) - Improved error message when a non-synchronous
connectfails. (#203) - Correctly make the channel active when
connectsucceeds synchronously. (#205) - Better diagnostic logging when leaking an
EventLoopPromiseallocated fromChannelOutboundInvoker. (#208) - Don't crash when a selectable is unregistered from a selector while there are pending select events for that selectable. (#210)
- Don't retry
closewhen the syscall returns withEINTR. (#217) - Work around performance penalty from SR7242. (#223)
- Prevent users getting access to or removing
HeadChannelHandlerandTailChannelHandler. (#225) - Correctly fail
EventLoopPromisefor writes onServerSocketChannelinstead of crashing. (#226) - Miscellaneous documentation and code style improvements (#207, #212, #219, #197, #142, #193, #87, #190, #183)