Skip to content

SwiftNIO 2.64.0

Compare
Choose a tag to compare
@glbrntt glbrntt released this 06 Mar 16:45
· 140 commits to main since this release
fc63f0c

Strict Concurrency Checks

The SwiftNIO team are currently in the process of making SwiftNIO warning free
under strict concurrency checking.

If you experience new Sendable related warnings that you can't work around
then please file an issue.

SemVer Minor

  • Track execute() and enqueue() tasks separately from scheduled tasks. (#2645)
  • Conform NIOIPProtocol to Sendable (#2655)
  • Add some more Sendable annotations to NIOCore (#2656)
  • Migrate to syncOperations in more places (#2661)

SemVer Patch

  • Conditionally define RENAME_* macros (#2643, patch credit to @Austinpayne)
  • Build the new FileSystem module for Android (#2660, patch credit to @finagolfin)
  • Only compile FileSystem on some platforms (#2636)
  • Remove @unchecked Sendable conformance from ChannelOptions.Storage (#2638)
  • Pass initial offset to BufferedReader.init (#2642)
  • Don't drop bytes from the buffered reader when reading short (#2646)
  • Introduce assumeIsolated() methods on EventLoop, EventLoopPromise and EventLoopFuture (#2657)
  • Fix CoW performance bug in NIOThreadPool work queue (#2669)

Other Changes

  • Remove unreliable SchedulingBenchmark (#2650)
  • Fix up the markdown output generated by scripts/analyze_performance_results.rb (#2651)
  • Remove large temp file after FileSystem tests (#2658)
  • Fix memory allocations counters on macOS. (#2673)