SwiftNIO 2.63.0
This release includes a new module, NIOFileSystem
, for asynchronously interacting with the filesystem. The module isn't yet considered public API and is therefore available via the _NIOFileSystem
product. We plan to stabilise the API soon and welcome feedback in the meantime. You can learn more about NIOFileSystem
by reading the documentation.
SemVer Minor
- Add
async
API forNonBlockingFileIO
(#2576, patch credit to @adam-fowler) - Allow setting
MTELG.singleton
as Swift Concurrency executor (#2564)
SemVer Patch
- Changes to support building with Musl (#2595 and #2628, patch credit to @al45tair)
- Build for Android with NDK 26, by accounting for the new nullability annotations (#2600, patch credit to @finagolfin)
- Fix warnings caused by not defining the feature macros. (#2606, patch credit to @al45tair)
- [arch] Add arm64_32 to the 32-bit platform check (#2625, patch credit to @hyerra)
- Remove precondition on result of
IOCTL_VM_SOCKETS_GET_LOCAL_CID
(#2588) - Add missing availability guards in tests (#2596)
- Add
NIOAsyncWriterSinkDelegate._didSuspend
hook for testing (#2597) - Suppress the performance checker warning by being sneaky (#2620)
- Avoid
confstr
on Android (#2627)
Other Changes
- Update APNSwift Repository Link in README.md (#2602, patch credit to @Ryu0118)
- Add tests to validate the behaviour when requests/response content-length headers are wrong in HTTP1 (#2601)
- Fix test availability annotations (#2607)
- Fix warnings when building tests on Swift 5.9.2 Linux (#2610)
- Set
SWIFT_VERSION
environment variable to resolve to the correct benchmarks thresholds path (#2613) - Add cxx interop build pipeline (#2614)
- Fix the broken performance test binary (#2619)
- Fix broken tests (#2621)
- Fix
NIOAsyncChannel
allocation benchmarks (#2622) - Add additional guards in tests for mocking (#2624)
- Avoid overflow in tests where Int is 32-bit (#2626)