github vapor/vapor 4.94.0
4.94.0 - Migrate to Async NIOFileIO APIs

latest releases: 4.98.0, 4.97.1, 4.97.0...
16 days ago

What's Changed

Migrate to Async NIOFileIO APIs by @0xTim in #3167

This migrates collectFile(at:) and writeFile(_:at:) to use NIO’s async NIOFileIO APIs introduced in https://github.com/apple/swift-nio/releases/tag/2.63.0

Also adds a new API for streaming files using a AsyncSequence based on the new NIOFileSystem.

This work is required to move the DotEnv support over to an async API to avoid calling wait()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

Don't miss a new vapor release

NewReleases is sending notifications on new releases.