Swift Nio Versions Save

Event-driven network application framework for high performance protocol servers & clients, non-blocking.

2.48.0

1 year ago

SemVer Minor

  • Special case EventLoopPromise.succeed() when Value is Void (#2311, patch credit to @mob-connection)

SemVer Patch

  • Tail allocate mutex and a generic value using ManagedBuffer (#2349, patch credit to @asdf-bro)

Other Changes

  • Add Swift 5.8 CI and update nightly CI to Ubuntu 22.04 (#2350)
  • Lift alloc counter Package.swift to 5.1 and add platforms (#2352)
  • Point docs to Swift Package Index (#2353)
  • Fix flaky testTaskCancel_whenStreaming_andNotSuspended (#2355)

2.47.0

1 year ago

SemVer Patch

  • Remove useless instance variables in the SelectableEventLoop (#2338, patch credit to @thomas-gill-0xff)
  • Repair the Windows build of NIOCore (#2339, patch credit to @compnerd)
  • Allow writing and reading empty datagrams (#2341, patch credit to @hashemi)
  • Prepare mmsghdr structure properly. (#2346, patch credit to @ser-0xff)
  • Implement remoteAddress0 and localAddress0 on EmbeddedChannel (#2345)

Other Changes

  • Fix main nightly CI (#2337)
  • 2023 is real, we should support it (#2342)
  • Avoid actually allocating a giant buffer (#2347)
  • Avoid integer literals that won't fit. (#2348)

2.46.0

1 year ago

SemVer Minor

  • Add NIORawSocketBootstrap (#2320, #2317)
  • Make EventLoopFuture.wait() unavailable from async (#2331)
  • Add easier async to future conversion (#2334)

SemVer Patch

  • Cap read+pread POSIX read sizes at Int32.max (#2323)
  • Fix non Darwin/Linux builds (#2328)
  • Remove implicit ByteBuffer copy in copyMemory (#2330)

Other Changes

  • Remove _NIOBeta product (#2319)
  • Remove obsolete information from the README (#2321)
  • Add .spi.yml for Swift Package Index DocC support (#2324, #2329)
  • Measure allocations applying WS mask (#2333)
  • Improve performance of tests (#2336)

2.45.0

1 year ago

SemVer Minor

  • Add missing Sendable requirements (#2305)
  • Add NIOAsyncTestingChannel.waitForOut/InboundWrite() (#2307)
  • MPTCP support on Linux (#2308)
  • Make NIOHTTP1TestServer Sendable (#2318)

SemVer Patch

  • add witnesses for ByteBufferView.reserveCapacity(_:), append(_:), and append(contentsOf:) (#2309, patch credit to @kelvin13)
  • Use #fileID/#filePath instead of #file (#2306)
  • Correctly include netinet/in.h (#2315)

Other Changes

  • Fix failing build on MacOS (#2313)
  • Fix testTaskCancel_whenStreaming_andNotSuspended flakiness (#2314)

2.44.0

1 year ago

SemVer Minor

  • Add utilties for reading and writing UUIDs (#2045)
  • Implement additional file operation in NonBlockingFileIO (#2244)
  • Mark types explicitly non sendable (#2290)
  • Replace NIOSendable with Sendable (#2291)
  • Add create directory method (#2296)
  • Add support for removing channel options (#2297)
  • Move 5.7 beta APIs to NIOCore (#2300)
  • Make NIOWebSocketServerUpgrader Sendable (#2304)

SemVer Patch

  • Improve diagnostics for deprecated Lock. (#2285, patch credit to @ffried)
  • Add correct C directory function declarations for Android (#2302, patch credit to @buttaface)
  • Don't unconditionally remove the HTTPServerUpgradeHandler (#2303)

Other Changes

  • Improve NIOAsyncSequenceProducer docs (#2287)
  • Fix Nightly Build to work with new Swift versions (#2288)
  • Remove #if compiler(>=5.5) (#2292)
  • Clarify version support in README (#2293)
  • Add benchmarks for NIOAsyncWriter and NIOAsyncSequenceProducer (#2301)

2.42.1

1 year ago

SemVer Patch

  • Correctly manage Content-Length on HEAD responses (#2289)

2.43.1

1 year ago

SemVer Patch

  • Ensure fatalError for the NIOAsyncSequenceProducer when finished (#2282)
  • Get NIO compiling with GM Xcode (#2284)

2.43.0

1 year ago

SemVer Minor

  • Add withLockVoid(_:) to NIOLock (#2276, patch credit to @MahdiBM)
  • Raise minimum supported Swift version from 5.4 to 5.5 (#2267)

SemVer Patch

  • Fixed compile errors on windows (#2278, patch credit to @toluRV)
  • Correctly manage Content-Length on HEAD responses (#2277)

Other Changes

  • Remove wrong comment about performance (#2281)
  • Update allocation limits (#2272)
  • Move ISSUE_TEMPLATE.md to ISSUE_TEMPLATE/bug-report.md (#2273)

2.29.1

1 year ago

Security

  • This update fixes CVE-2022-3215: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Response Splitting') . For more details please see the security advisory. Please update to 2.42.0 if possible, otherwise update to 2.39.1, otherwise update to 2.29.1 as rapidly as possible.

2.39.1

1 year ago

Security

  • This update fixes CVE-2022-3215: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Response Splitting') . For more details please see the security advisory. Please update to 2.42.0 if possible, otherwise update to 2.39.1 as rapidly as possible.