Important changes to the NIOFileSystem module
The NIOFileSystem module has been renamed _NIOFileSystem to make it more
obvious that it isn't yet stable API.
The existing NIOFileSystem module currently re-exports _NIOFileSystem and will
be removed in the next minor release. You should update your imports accordingly
to avoid being broken by the next release.
SemVer Minor
- Add
NIOBSDSocket.Optionfor SO_BROADCAST (#2678) - Add delegate for collecting
EventLooptick metrics (#2608) - Raise minimum Swift version to 5.8 (#2675)
- Expose
NIOThreadPool.numberOfThreadspublicly. (#2676) - Prevent
BufferedWriterfrom producing empty files (#2677) - Change
BufferedReader.read(while:)signature (#2688) - Added file and line to NIOAsyncWriterError description (#2693)
- Add a helper for setting or cascading optional promises (#2697)
- Underscore the
NIOFileSystemmodule (#2683, #2689)
SemVer Patch
- Add cancellation to
NIOThreadPool'sasyncrunIfActive(#2679) - Handle 'atomically' created files more gracefully when detached (#2682)
- Remove
DispatchGroupand replace with condvar (#2687) - Use
NIOThreadPoolinNIOFileSystem(#2692) - Add privacy manifest (#2695)
- Retain a ref to
NIOAsyncWriteruntil channel active (#2703)