Skip to content

SwiftNIO 2.41.0

Compare
Choose a tag to compare
@dnadoba dnadoba released this 02 Aug 14:14
· 578 commits to main since this release
ece5057

Highlights

This release fully adopts Sendable in all libraries. In minimal concurrency checking mode (i.e. without -warn-concurrency) this should not produce any Sendable errors in your code as we have used @preconccurency to give adopters time to comply to the sendability rules. Many conformances are only available in Swift 5.7 though. Note that swift-nio itself currently does not compile successfully with strict concurrency checking turned on (with -warn-concurrency).

Please file an issue if your code no longer compiles because of Sendable errors.

SemVer Minor

SemVer Patch

Other Changes

  • Added test for BufferView custom contains function (#2227, patch credit to @anishagg17)
  • Move tests of NIOCore types from NIOPosixTests to NIOCoreTests (#2093)
  • Reduce the alloc limits for main (#2095)
  • Reduce the alloc limits of 1000_tcpconnections for main (#2116)
  • NIOPerformanceTester: Add DeadlineNowBenchmark for NIODeadline.now() (#2117)
  • Reduce the alloc limits for main (#2118)
  • NIOPerformanceTester: Increase operations used in lock benchmarks from 1M to 10M (#2121)
  • DatagramChannelTests: Handle receiving datagrams out-of-order in ECN tests (#2123)
  • readme: Fix API docs link following NIOCore refactoring (#2126)
  • Fix flake AsyncTestingEventLoopTest (#2147)
  • Use 5.7 nightlies (#2186)
  • Use correct alloc limits for 5.7 (#2193)