github apple/swift-nio 2.10.0
SwiftNIO 2.10.0

latest releases: 2.102.0, 2.101.3, 2.101.2...
6 years ago

SemVer Minor

  • Add ApplicationProtocolNegotiationHandler init that takes a closure that receives the Channel (#1196, patch credit to @2bjake)
  • added a public var to extract the IP address of the SocketAddress (#1194, patch credit to @Lupurus)
  • Make SocketAddress.port mutable (#1200, patch credit to @siemensikkema)
  • Add function preconditionIsNotBlacklistedErrno (#1201, patch credit to @heidipuk)
  • Add an option to ByteBuffer.clear() to specify minimumCapacity (#1204, patch credit to @cweinberger and @Keno42)

SemVer Patch

  • Allow single test to be specified as an argument to run-nio-alloc-counter-tests.sh. (#1214, patch credit to @marlimox)
  • Use self as the decoder when decoding a ByteBuffer (#1221, patch credit to @gwynne)
  • Add inlinability to ByteBuffer getters. (#1220)
  • ByteBuffer.clear should reset the ByteBuffer._slice. (#1212, patch credit to @kam800)
  • Added an allocation benchmark for WebSocketFrameDecoder. (#1210, patch credit to @marlimox)
  • Add an benchmark for WebSocket frame decoder (#1203, patch credit to @emarashliev)
  • add socketpair to the POSIX wrappers (#1198)
  • Make future builders and scheduled tasks inlinable (#1193)
  • improve docs (#1191, #1206, patch credit to @Davidde94)
  • make use of EventLoop.flatSubmit (#1179)

Don't miss a new swift-nio release

NewReleases is sending notifications on new releases.