Repository navigation
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 #273 - [IO_URING] Accept immutable buffers for unregistered writes by @rksharma-owg in #402
- [Proposal] StatFS and supporting types by @jrflat in #362
- [Implementation] StatFS and supporting types by @jrflat in #361
- Enable the "MemberImportVisibility" upcoming feature by @glessard in #375
- Require Swift 6.2 by @glessard in #413
Bug fixes
- Fix missing
doneinIORing.blockingConsumeCompletionsby @jrflat in #393 - [IO_URING] Keep the completion of failed IORing operations by @FranzBusch in #401
- fix(FilePath.ComponentView): prevent trailing separator when replacing suffix by @toprakdeviren in #412
- Improve CSystem import handling by @jrflat in #391
- Use a thread-safe strerror in Errno.description by @100lalitahegde-eng in #421
Housekeeping and testing improvements
- Housekeeping: replace repo-level CODE_OF_CONDUCT by @apple-ospo[bot] in #388
- [ci] update github actions by @glessard in #389
- Add automerger workflow from release/1.8.x to main by @jrflat in #406
- Spruce up CI config by @finagolfin in #409
- Update StatFS availability to 1.9.0 by @jrflat in #414
- Improve FilePathComponentsTest by @glessard in #416
- Fix Windows test build with typed WinSDK constants by @jrflat in #419
New Contributors
- @FranzBusch made their first contribution in #273
- @apple-ospo[bot] made their first contribution in #388
- @rksharma-owg made their first contribution in #402
- @toprakdeviren made their first contribution in #412
- @100lalitahegde-eng made their first contribution in #421
Full Changelog: 1.8.1...1.9.0