Vapor: 4.94.0 Release

Release date:
April 24, 2024
Previous version:
4.93.2 (released April 23, 2024)
Magnitude:
118 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in 4.94.0

0xTim

Directory Browser for 4.94.0

All files are compared to previous version, 4.93.2. Click here to browse diffs between other versions.

Loading File Browser...

Release Notes Published

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: - @ptoffy

This patch was released by @0xTim

Full Changelog: https://github.com/vapor/vapor/compare/4.93.2...4.94.0