Releases: apple/swift-nio
Releases · apple/swift-nio
2.97.1
What's Changed
SemVer Patch
- Handle EPERM as permissionDenied in open syscall error mapping by @queelius in #3560
- Fix thread pinning test, which crashed in CPU-restricted environments by @simonjbeaumont in #3562
New Contributors
Full Changelog: 2.97.0...2.97.1
2.97.0
What's Changed
SemVer Minor
SemVer Patch
Other Changes
- Benchmarks for channel pipeline creation by @Lukasa in #3531
- Fix flakey
testScheduledCallbackNotExecutedBeforeDeadlineby @rnro in #3550 - Fix flakey
testHalfCloseOwnOutputWithPopulatedBufferon iOS sim by @rnro in #3551 - Increase macOS test timeout by @madrob in #3553
- Fix flaky testCopyFileReplacingExistingFileSucceeds by @fabianfett in #3554
- Fix
testFlatBlockingMapOntocrashing on iOS simulator by @rnro in #3555 - Fix flakey scheduled callback cancellation tests on iOS simulator by @rnro in #3556
New Contributors
Full Changelog: 2.96.0...2.97.0
SwiftNIO 2.96.0
What's Changed
SemVer Minor
- ByteBuffer custom allocator support by @rnro in #3526
- Add the
replaceExistingto the_NIOFileSystemcopyItemby @stepan-ulyanin in #3535 - Make MTELG's support for CPU pinning public by @Lukasa in #3543
SemVer Patch
- Make concurrency take over cheaper by @Lukasa in #3527
- Improve the performance of looking up the current SEL by @Lukasa in #3530
- Add
symlinkat,renameatx_np, andunlinkatsystem call wrappers to the_NIOFileSystemmodule by @stepan-ulyanin in #3524 - Improve NIOAsyncChannel performance with UnsafeContinuations by @fabianfett in #3521
- Support scoped IPv6 addresses in SocketAddress.init(ipAddress:port:) by @mihai-chiorean in #3525
- Deprecate System.udpMaxSegments by @glbrntt in #3541
Other Changes
- switch from main to 0.0.7 for swiftlang workflows by @rnro in #3514
- Benchmark diffs not being output on threshold regression by @rnro in #3515
- benchmark diff missing new threshold files by @rnro in #3516
- Wait for the docker daemon on Windows by @FranzBusch in #3520
- Apple platforms CI issues by @rnro in #3519
- Add parallel execution mode for integration tests by @rnro in #3522
- Disable Swift 5.10 CI jobs by default by @rnro in #3528
- Scope benchmark threshold diff to
Thresholds/directory by @rnro in #3529 - Static sdk version by @rnro in #3534
- shutdown simulators before launching more tests by @madrob in #3539
- Extend timeout in testShutdownCancelsOutstandingScheduledCallbacks by @rnro in #3537
- Add
debug_output_enabledparameter to macOS CI workflow by @rnro in #3542 - test: Port EventLoopTest to Swift Testing. by @scottmarchant in #3503
- Increase Docker daemon wait timeout for Windows by @kukushechkin in #3544
- Remove
.timeLimitfromEventLoopTestSwift Testing attributes by @rnro in #3545 - Add macos swift xcode mappings by @rnro in #3546
- Replace
Task.sleep(for:)withTask.sleep(nanoseconds:)in `EventL… by @rnro in #3548 - Pass inputs through env vars by @rnro in #3549
New Contributors
- @mihai-chiorean made their first contribution in #3525
Full Changelog: 2.95.0...2.96.0
2.95.0
What's Changed
SemVer Minor
- Add opt-in API for channels to expose their underlying transport by @simonjbeaumont in #3509
SemVer Patch
- Don't send (in)active when channel closes directly by @josephnoir in #3497
Other Changes
- Fix C++ interop CI script to work with changes in SwiftPM by @simonjbeaumont in #3510
- Fix benchmark succeeding – even though Benchmark build failed by @fabianfett in #3502
- Allow to copy files and symlinks while overwriting the destination by @stepan-ulyanin in #3508
- Workaround test crashing when compiled in release mode on Swift 6.2 by @simonjbeaumont in #3511
Full Changelog: 2.94.1...2.95.0
2.94.1
What's Changed
SemVer Patch
- Centralize
UnsafeTransferin NIOCore by @fabianfett in #3492 - Add
symlinkat,renameatx_np, andunlinkatsystem call wrappers by @stepan-ulyanin in #3505 - Replace
ConditionLockwith wake-one signallingNIOThreadPoolWorkAvailableby @KushalP in #3507
Other Changes
- Add support for Xcode 26.2 by @FranzBusch in #3498
- Fix Xcode 26.2 CI copy and paste error by @FranzBusch in #3499
- test: Port EventLoopFutureTest to Swift Testing. by @scottmarchant in #3491
- test: Port NIOThreadPoolTest to Swift Testing. by @scottmarchant in #3490
- Clarify state and relationship of NIOFileSystem and _NIOFileSystem in API docs by @simonjbeaumont in #3504
New Contributors
Full Changelog: 2.94.0...2.94.1
2.94.0
What's Changed
SemVer Minor
- Add API to enable throwing in
EmbeddedChannel.getOptionand.setOptionif channel is closed by @simonjbeaumont in #3495
SemVer Patch
- Update macOS runners to Tahoe by @kukushechkin in #3489
- chore: Elide mutex variable from Lock class when it is unused by @scottmarchant in #3483
- build: Elide NIOEmbedded for WASI platforms only by @scottmarchant in #3484
- build: Elide NIOPosix for WASI platforms only by @scottmarchant in #3485
Other Changes
- Bump actions/checkout from 6.0.1 to 6.0.2 by @dependabot[bot] in #3493
- Move nightly-next CI to 6.3 by @FranzBusch in #3496
New Contributors
- @dependabot[bot] made their first contribution in #3493
Full Changelog: 2.93.0...2.94.0
2.93.0
What's Changed
SemVer Minor
- Add homeDirectory accessor to FileSystem by @PhantomInTheWire in #3471
SemVer Patch
- NIOTypedHTTPClientUpgradeHandler will write Upgrade request on handlerAdded if active by @adam-fowler in #3473
- Ensure pthread_mutexattr_t is properly cleaned up with pthread_mutexattr_destroy in Lock by @scottmarchant in #3480
- Initialize the mutexattr before use. by @3405691582 in #3482
Other Changes
- Updates to present docs on _NIOFileSystem by @heckj in #3477
- Disable Xcode-beta builds until one is installed by @madrob in #3446
New Contributors
Full Changelog: 2.92.2...2.93.0
2.92.2
What's Changed
SemVer Patch
- Cancel pending in/outbound consumers in EmbeddedChannelCore upon channel close by @aryan-25 in #3464
Other Changes
- docs: String(buffer:) needs to mention that it will always succeed by @PhantomInTheWire in #3476
New Contributors
- @PhantomInTheWire made their first contribution in #3476
Full Changelog: 2.92.1...2.92.2
SwiftNIO 2.92.1
What's Changed
SemVer Patch
- Allowlist 6.3 to be allowable for Swift Concurrency takeover by @weissi in #3467
- Fix coreCount on Linux when using cgroup v2 with CFS throttling disabled by @mitchellallison in #3462
Other Changes
- Update integration test allocation thresholds for nightly-main by @aryan-25 in #3465
- ci: only run self-hosted ci on apple runners by @madrob in #3468
New Contributors
- @mitchellallison made their first contribution in #3462
Full Changelog: 2.92.0...2.92.1
2.92.0
What's Changed
SemVer Minor
- Add ByteBuffer.readableBytesUInt8Span by @adam-fowler in #3458
SemVer Patch
Other Changes
- Update actions/checkout and introduce dependabot by @madrob in #3459
- Extract macOS benchmarks into a separate reusable workflow by @kukushechkin in #3461
Full Changelog: 2.91.0...2.92.0