SwiftNIO 2.64.0
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()
andenqueue()
tasks separately from scheduled tasks. (#2645) - Conform
NIOIPProtocol
toSendable
(#2655) - Add some more
Sendable
annotations toNIOCore
(#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 fromChannelOptions.Storage
(#2638) - Pass initial offset to BufferedReader.init (#2642)
- Don't drop bytes from the buffered reader when reading short (#2646)
- Introduce
assumeIsolated()
methods onEventLoop
,EventLoopPromise
andEventLoopFuture
(#2657) - Fix CoW performance bug in
NIOThreadPool
work queue (#2669)