github apple/swift-nio 1.8.0
SwiftNIO 1.8.0

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

Semver Minor

  • Added new ByteBufferView type, exposing portions of a ByteBuffer as a Collection<UInt8>. Added ByteBuffer.readableBytesView and ByteBuffer.viewBytes(at:length:) to obtain ByteBufferView objects. (#411)
  • Renamed MultiThreadedEventLoopGroup.init(numThreads:) to MultiThreadedEventLoopGroup.init(numberOfThreads:). Deprecated the old name. (#443)
  • Made HTTPRequestDecoder.init(leftOverBytesStrategy:) and enum RemoveAfterUpgradeStrategy public, which allows users creating custom HTTP pipelines to ensure that removing HTTPRequestDecoder after an upgrade was attempted does not cause unexpected bytes delivery. (#438)

Semver Patch

  • Conformed internal _UInt24 and _UInt56 structures to CustomStringConvertible. (#445)
  • Prevented crashes on macOS/iOS when under heavy load and remote peers close connections before we realise they connected. (#453)
  • Miscellaneous code cleanups and testing improvements. (#412, #441, #442, #447, #454)

Don't miss a new swift-nio release

NewReleases is sending notifications on new releases.