Skip to content

SwiftNIO 1.8.0

Compare
Choose a tag to compare
@Lukasa Lukasa released this 31 May 14:42
· 1635 commits to main since this release
695afc5

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)