This release adds the implementation of StatFS and related types (SYS-0009), as well as support for pollAdd requests in IORing. IORing.Request.write now accepts an UnsafeBufferPointer, and the UnsafeMutableBufferPointer variant is deprecated.
Errno.description now uses strerror_r/s to guarantee thread-safety. Other changes include IORing and FilePath bug fixes, and testing improvements.
This release requires Swift 6.2 or later.
What's Changed
New features
- [IO_URING] Add support for
pollAddoperation by @FranzBusch in [IO_URING] Add support for `pollAdd` operation by FranzBusch · Pull Request #273 · apple/swift-system · GitHub - [IO_URING] Accept immutable buffers for unregistered writes by @rksharma-owg in [IO_URING] Accept immutable buffers for unregistered writes by rksharma-owg · Pull Request #402 · apple/swift-system · GitHub
- [Proposal] StatFS and supporting types by @jrflat in [Proposal] StatFS and supporting types by jrflat · Pull Request #362 · apple/swift-system · GitHub
- [Implementation] StatFS and supporting types by @jrflat in [Implementation] StatFS and supporting types by jrflat · Pull Request #361 · apple/swift-system · GitHub
- Enable the "MemberImportVisibility" upcoming feature by @glessard in Enable the "MemberImportVisibility" upcoming feature by glessard · Pull Request #375 · apple/swift-system · GitHub
- Require Swift 6.2 by @glessard in Require Swift 6.2 by glessard · Pull Request #413 · apple/swift-system · GitHub
Bug fixes
- Fix missing
doneinIORing.blockingConsumeCompletionsby @jrflat in Fix missing `done` in `IORing.blockingConsumeCompletions` by jrflat · Pull Request #393 · apple/swift-system · GitHub - [IO_URING] Keep the completion of failed IORing operations by @FranzBusch in [IO_URING] Keep the completion of failed IORing operations by FranzBusch · Pull Request #401 · apple/swift-system · GitHub
- fix(FilePath.ComponentView): prevent trailing separator when replacing suffix by @toprakdeviren in fix(FilePath.ComponentView): prevent trailing separator when replacing suffix by toprakdeviren · Pull Request #412 · apple/swift-system · GitHub
- Improve CSystem import handling by @jrflat in Improve CSystem import handling by jrflat · Pull Request #391 · apple/swift-system · GitHub
- Use a thread-safe strerror in Errno.description by @100lalitahegde-eng in Use a thread-safe strerror in Errno.description by 100lalitahegde-eng · Pull Request #421 · apple/swift-system · GitHub
Housekeeping and testing improvements
- Housekeeping: replace repo-level CODE_OF_CONDUCT by @apple-ospo[bot] in Housekeeping: replace repo-level CODE_OF_CONDUCT by apple-ospo[bot] · Pull Request #388 · apple/swift-system · GitHub
- [ci] update github actions by @glessard in [ci] update github actions by glessard · Pull Request #389 · apple/swift-system · GitHub
- Add automerger workflow from release/1.8.x to main by @jrflat in Add automerger workflow from release/1.8.x to main by jrflat · Pull Request #406 · apple/swift-system · GitHub
- Spruce up CI config by @finagolfin in Spruce up CI config by finagolfin · Pull Request #409 · apple/swift-system · GitHub
- Update StatFS availability to 1.9.0 by @jrflat in Update StatFS availability to 1.9.0 by jrflat · Pull Request #414 · apple/swift-system · GitHub
- Improve FilePathComponentsTest by @glessard in Improve FilePathComponentsTest by glessard · Pull Request #416 · apple/swift-system · GitHub
- Fix Windows test build with typed WinSDK constants by @jrflat in Fix Windows test build with typed WinSDK constants by jrflat · Pull Request #419 · apple/swift-system · GitHub
New Contributors
- @FranzBusch made their first contribution in [IO_URING] Add support for `pollAdd` operation by FranzBusch · Pull Request #273 · apple/swift-system · GitHub
- @apple-ospo[bot] made their first contribution in Housekeeping: replace repo-level CODE_OF_CONDUCT by apple-ospo[bot] · Pull Request #388 · apple/swift-system · GitHub
- @rksharma-owg made their first contribution in [IO_URING] Accept immutable buffers for unregistered writes by rksharma-owg · Pull Request #402 · apple/swift-system · GitHub
- @toprakdeviren made their first contribution in fix(FilePath.ComponentView): prevent trailing separator when replacing suffix by toprakdeviren · Pull Request #412 · apple/swift-system · GitHub
- @100lalitahegde-eng made their first contribution in Use a thread-safe strerror in Errno.description by 100lalitahegde-eng · Pull Request #421 · apple/swift-system · GitHub
Full Changelog: Comparing 1.8.1...1.9.0 · apple/swift-system · GitHub