4.94.0 - Migrate to Async NIOFileIO APIs
What's Changed
Migrate to Async NIOFileIO APIs by @0xTim in #3167
This migrates
collectFile(at:)
andwriteFile(_:at:)
to use NIO’s async NIOFileIO APIs introduced in https://github.com/apple/swift-nio/releases/tag/2.63.0Also adds a new API for streaming files using a
AsyncSequence
based on the newNIOFileSystem
.This work is required to move the
DotEnv
support over to an async API to avoid callingwait()
s in an async context which can cause issues
Reviewers
Thanks to the reviewers for their help:
This patch was released by @0xTim
Full Changelog: 4.93.2...4.94.0