Releases: apple/swift-nio
Releases · apple/swift-nio
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
2.91.0
What's Changed
SemVer Minor
- Partial OpenBSD support. by @3405691582 in #3394
SemVer Patch
- Drop and reacquire lock over continuation call by @glbrntt in #3452
- Handle cancellation between dropping and reacquiring lock by @glbrntt in #3453
- Dont hold lock over continuation in NIOThrowingAsyncSequenceProducer by @glbrntt in #3454
- Dont hold lock over continuation in TokenBucket by @glbrntt in #3455
Other Changes
- Document when
channel.remoteAddressfield can benilby @rafaelcepeda in #3456 - Add some benchmarks for UDP and UDP metadata by @Lukasa in #3457
New Contributors
- @3405691582 made their first contribution in #3394
Full Changelog: 2.90.1...2.91.0
2.90.1
What's Changed
SemVer Patch
Other Changes
- Run benchmarks in CI on macOS in addition to linux by @kukushechkin in #3444
- Do not run the matrix if there is no macOS versions picked for benchmarks by @kukushechkin in #3450
- Add some slack to the TCPEcho benchmark by @glbrntt in #3451
New Contributors
- @kukushechkin made their first contribution in #3444
Full Changelog: 2.90.0...2.90.1
2.90.0
What's Changed
SemVer Minor
- Make
ByteBuffer.writeBytes(_: RawSpan)broadly available by @MaxDesiatov in #3447
Full Changelog: 2.89.0...2.90.0
SwiftNIO 2.89.0
What's Changed
SemVer Minor
- Replace rethrows with typed throws in ByteBuffer by @Lukasa in #3372
- Add some spans to ByteBuffer by @Lukasa in #3371
- Enable per-message GSO on Linux by @Lukasa in #3436
- Enable per-message GRO on Linux by @Lukasa in #3439
- Add
NIOLoopBoundBox.withValueby @fabianfett in #3385
SemVer Patch
- For WASI builds only, use fatalError in all .wait() calls. Recommend using .get() instead. by @scottmarchant in #3421
- Fail on early errors in parallel copy by @glbrntt in #3435
- Enable NIOFoundationCompat to compile using Swift for WebAssembly. Fix NIOCore WASI compilation issue. by @scottmarchant in #3422
- NIOAsyncTestingChannel local/remote addrs on EmbeddedChannelCore by @rnro in #3442
Other Changes
- Swift SDK installation script improvements by @rnro in #3429
- Android use static swift stdlib by @rnro in #3430
- Generate matrix nested manifests by @rnro in #3431
- Add Xcode 26.1 to macOS CI by @rnro in #3438
- Switch test targets in macos_tests.yml by @rnro in #3437
- Document the GSO/GRO APIs by @Lukasa in #3440
- Add a script for updating Integration Tests thresholds from CI by @rnro in #3443
Full Changelog: 2.88.0...2.89.0