Repository navigation
Releases
Releases Β· apple/swift-nio
2.105.0
What's Changed
SemVer Minor
- Allow sending values into EventLoopFuture by @hamzahrmalik in #3643
- Don't trap when QUIC reservedCapacity isn't a valid integer length by @Denimworld12 in #3747
SemVer Patch
- Add a job timeout to the shared test matrix workflow by @austenstone in #3762
- Update llhttp by @josephnoir in #3763
- Drop @unchecked from TokenBucket's Sendable conformance by @d-date in #3774
Other Changes
- Update SECURITY.md by @rafaelcepeda in #3759
- Reenable 6.1 workflows by default by @gjcairo in #3760
- Delete SECURITY.md by @rafaelcepeda in #3761
New Contributors
- @austenstone made their first contribution in #3762
- @Denimworld12 made their first contribution in #3747
- @d-date made their first contribution in #3774
Full Changelog: 2.104.0...2.105.0
2.104.0
What's Changed
SemVer Minor
- Allow non-copyable
ByteToMessageDecoders and typed throws by @fabianfett in #3731 - Add socket options related to fragmentation by @josephnoir in #3757
Other Changes
- Fix spelling of compatibility in RecvByteBufferAllocator by @tanvir-ux in #3742
- Housekeeping: replace repo-level CODE_OF_CONDUCT by @apple-ospo[bot] in #3751
- Add and enable 6.4 workflows by @gjcairo in #3750
- Disable Swift 6.0 and 6.1 workflows by default by @gjcairo in #3755
New Contributors
- @tanvir-ux made their first contribution in #3742
- @apple-ospo[bot] made their first contribution in #3751
Full Changelog: 2.103.0...2.104.0
2.103.0
What's Changed
SemVer Minor
- Add socket option API for SO_REUSEPORT by @simonjbeaumont in #3741
- Add channel options for a vsock socket's local and remote addresses by @VictorDebray in #3689
SemVer Patch
- Fix warnings: private setters cannot be referenced from an '@inlinable' function by @fabianfett in #3719
- [Performance] Mark
QUICBinaryEncodingStrategy.bytesNeededForIntegeras@inlinableby @fabianfett in #3718 - Fix new NoUseUnstructuredThrowingTask warnings by @fabianfett in #3733
- Mark ByteBuffer._Storage's _capacity and _bytes
@exclusivity(unchecked)by @fabianfett in #3734
Other Changes
- Name the documented arguments the way the declarations name them by @karpovantonme in #3698
- Translate
SingleStepByteToMessageDecoderTestto Swift Testing by @fabianfett in #3729 - Translate
ByteToMessageDecoderVerifierTestto Swift Testing by @fabianfett in #3730 - Fix Integration Tests thresholds by @fabianfett in #3732
- fix(ci): fix static Linux SDK version discovery for main snapshots by @KevinSailema in #3726
- Fix Android Swift SDK installation by @czechboy0 in #3737
- Android CI builds shouldn't link the stdlib statically by @czechboy0 in #3739
- Fix the Returns callout on DispatchQueue.asyncWithFuture by @hxperl in #3740
New Contributors
- @karpovantonme made their first contribution in #3698
- @KevinSailema made their first contribution in #3726
- @hxperl made their first contribution in #3740
- @VictorDebray made their first contribution in #3689
Full Changelog: 2.102.0...2.103.0
2.102.0
What's Changed
SemVer Minor
- Add variants of flatMap which can return EventLoopFuture by @hamzahrmalik in #3634
- Remove unused
SelectorLifecycleState.closingby @fabianfett in #3695 - Add API to get the result of an isolated ELF, if available by @glbrntt in #3721
SemVer Patch
- [Windows] Compile the NIOFileSystem family (stubbed); all non-test targets now build by @jakepetroules in #3649
- [Windows] Compile the low-hanging test targets by @jakepetroules in #3663
- fix(nio-filesystem): Fallback to non-positional read/write on ENXIO (Fixes #3613) by @wasim-builds in #3671
- Implement customisation point for scheduled callback on isolated EL by @glbrntt in #3679
- [perf] Do stack allocs instead of heap allocs for small fixed-size allocations by @MahdiBM in #3652
- [Windows] Skip unsupported/flaky tests and run the Windows unit tests in CI by @jakepetroules in #3680
- [Windows] Report the WSAPoll selector's descriptor in its description by @jakepetroules in #3686
- NIOFileSystem: saturate ByteCount unit factories instead of trapping on overflow by @adityasingh2400 in #3611
- [Windows] Deregister channels while the event loop is closing by @jakepetroules in #3685
- [Windows] Fix buffer sizing in System.enumerateDevices() by @jakepetroules in #3684
- Simplify imports in SocketAddresses.swift by @glbrntt in #3696
- [Windows] Implement sendmmsg by @jakepetroules in #3699
Other Changes
- Fix the URL in the README for the badge by @Lukasa in #3661
- [Windows] Compile the remaining test targets (NIOPosixTests, NIOFoundationCompatTests) by @jakepetroules in #3665
- docs(fs): Clarify
replaceItemmoves the item (Fixes #3406) by @wasim-builds in #3674 - [Windows] Stop skipping the event loop tick metrics tests by @jakepetroules in #3687
- docs: Document that ByteBuffer is a value type by @wasim-builds in #3676
New Contributors
- @wasim-builds made their first contribution in #3671
Full Changelog: 2.101.3...2.102.0
2.101.3
What's Changed
SemVer Patch
- HTTPDecoder: restore old limit of 80 kB headers by @weissi in #3621
- EL takeover works on 6.4 & main by @weissi in #3645
- Winsock Fixes by @Joannis in #3433
- [Windows] Build NIOPerformanceTester and NIOCrashTester in CI by @jakepetroules in #3646
- Document trapping behavior of ByteBuffer set*(at:) write APIs by @Pranav-Rajendran in #3659
- Don't write any bytes for H1 responses that shouldn't include a body by @gjcairo in #3651
Other Changes
- Explicitly add ncurses to the dependency list. by @Lukasa in #3640
- [Windows] Build currently-supported targets in CI by @jakepetroules in #3644
- rewrite NIOCrashTester in Swift Testing by @weissi in #3658
New Contributors
- @jakepetroules made their first contribution in #3644
- @Joannis made their first contribution in #3433
- @Pranav-Rajendran made their first contribution in #3659
Full Changelog: 2.101.2...2.101.3
SwiftNIO 2.101.2
What's Changed
SemVer Patch
Other Changes
- NFC: Move
fileIObinding before use inchildChannelInitializerby @hamishknight in #3563 - Avoid exit tests on iOS/tvOS/watchOS/visionOS by @Lukasa in #3639
New Contributors
- @hamishknight made their first contribution in #3563
Full Changelog: 2.101.1...2.101.2
2.101.1
What's Changed
SemVer Patch
- [NFC] Remove trailing whitespaces from CNIOFreeBSD by @kkebo in #3632
- fix off-by-one boundaries in QUIC bytesNeededForInteger by @jmestwa-coder in #3628
- Fix incorrect status lines in HTTPResponseEncoder fast paths by @tkshsbcue in #3631
Other Changes
- Bump nightly-next CI Linux and Windows pipelines to Swift 6.4 by @simonjbeaumont in #3619
- Drop unused SystemPackage import from FileSystemTests by @curmudg-eon in #3623
- Hello, QUIC and HTTP/3! by @glbrntt in #3624
- Xcode beta by @rnro in #3627
- Bump actions/checkout from 6.0.2 to 7.0.0 by @dependabot[bot] in #3633
- Fix benchmark diff scraping for path-qualified markers by @fallintoplace in #3609
New Contributors
- @curmudg-eon made their first contribution in #3623
- @jmestwa-coder made their first contribution in #3628
- @fallintoplace made their first contribution in #3609
- @tkshsbcue made their first contribution in #3631
Full Changelog: 2.101.0...2.101.1
2.101.0
What's Changed
SemVer Minor
- Add
getMultipleIntegersandsetMultipleIntegersAPI onByteBufferby @adityasingh2400 in #3606
SemVer Patch
- Don't fatalError if
NIOTypedHTTPServerUpgraderStateMachineis in state finished when finding upgrader by @adam-fowler in #3597 - Fix
readInlineArrayreading from the wrong index when readerIndex is non-zero by @adityasingh2400 in #3605 - NIOWebSocket: reject 8-byte payload lengths that exceed
Int.maxby @g0w6y in #3603 - NonBlockingFileIO: error instead of silently truncating oversized reads by @adityasingh2400 in #3607
- [NIOFileSystem] Fallback to rename when
renameat2is not available by @madsodgaard in #3612
Other Changes
New Contributors
- @adityasingh2400 made their first contribution in #3605
- @g0w6y made their first contribution in #3603
Full Changelog: 2.100.0...2.101.0
2.100.0
What's Changed
SemVer Minor
- Add helpers for reading length-prefixed things by @fpseverino in #3589
- Add dnsResolver configuration option for randomized DNS load balancing by @pavansai1 in #3577
- Add configurable HTTP/1 decoder parsing limits by @fabianfett
SemVer Patch
- make internal FTSInfo take CInt by @weissi in #3586
- Strip Transfer-Encoding when Content-Length is present in HTTPEncoder by @fabianfett in #3583
- Makes NIOCore target compile on FreeBSD by @rafaelcepeda in #3587
- Allow concurrent createDirectory calls with shared ancestor paths by @dStern98 in #3598
- [Android] Gate
getifaddrsbehind API 24 availability by @madsodgaard in #3506 - Ensure HTTP Request Uri and Method as well as HTTP Response Reasons only contain allowed bytes by @fabianfett
- Add additional validation that we don't overflow the ByteBuffers capacity by @fabianfett
Other Changes
- Disable nightly until 6.4 builds are available by @kukushechkin in #3585
- Deprecate Xcode version inputs in macos_tests.yml by @rnro in #3590
- Remove defunct Xcode version inputs from
macos_tests.ymlby @rnro in #3591 - Remove
linux_nightly_6_1_enabledshim from workflow inputs by @rnro in #3599 - Fix doubled 'the' in NIOAsyncChannel upgrade docs by @LeSingh1 in #3600
- Speed up the tests by @fabianfett in #3601
New Contributors
- @fpseverino made their first contribution in #3589
- @dStern98 made their first contribution in #3598
- @pavansai1 made their first contribution in #3577
- @madsodgaard made their first contribution in #3506
- @LeSingh1 made their first contribution in #3600
Full Changelog: 2.99.0...2.100.0
2.99.0
What's Changed
SemVer Minor
- Split FoundationEssentials extensions from NIOFoundationCompat by @Cyberbeni in #3567
SemVer Patch
- Move historical dependency back to NIOFoundationCompat by @Cyberbeni in #3581
Other Changes
- Add support for --security-opt docker flags in custom CI jobs by @simonjbeaumont in #3580
- Translate
HTTPHeaderValidationTeststo Swift testing by @fabianfett in #3579 - Add multi-version matrix support to Wasm Swift SDK workflow by @inductor in #3575
New Contributors
- @Cyberbeni made their first contribution in #3567
Full Changelog: 2.98.0...2.99.0