github apple/swift-nio 2.21.0
SwiftNIO 2.21.0

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

Semver Minor

  • Define EventLoopGroupProvider type for third-party libraries to use the common pattern of asking users for EventLoopGroups. (#1609) (patch credit to @pokryfka)
  • Deprecated ByteBuffer.clear(minimumCapacity:) which used a typealias for an Int32 as an argument to one that uses an Int instead. (#1610)
  • Enhanced NIOFoundationCompat to provide fast-path for writing DataProtocol and ContiguousBytes conforming types into ByteBuffers. (#1615)
  • Fixed an issue where server channels would be closed due to EINVAL firing unexpectedly on Apple platforms, and changed the error reporting in these cases. (#1598) (patch credit to @cyberdelia)

Semver Patch

  • Improved performance of task scheduling by reducing refcounting in our Heap implementation. (#1614)
  • Made the epoll implementation available on Android. (#1621) (patch credit to @compnerd)

Other

  • Fixed Linux test generation. (#1618)
  • Documentation cleanups (#1606)

Don't miss a new swift-nio release

NewReleases is sending notifications on new releases.