Releases: apple/swift-nio
Releases · apple/swift-nio
SwiftNIO 2.38.0
SemVer Minor
- Implement
ByteBufferView
custom contains function to improve performance. (#2044, patch credit to @SeJV) - Improve the performance of copying
ByteBufferView
(#2039) - Add
collect(upTo:into:)
toAsyncSequence
(#2038)
SemVer Patch
- Improve
ByteBuffer.setSubstring(_:at:)
performance (#1975, patch credit to @gwynne) - Fix the double encoding issue in encodeAsByteBuffer (#2043, patch credit to @stepan-ulyanin)
Other Changes
SwiftNIO 2.37.0
SemVer Minor
- Conditionally conform
AddressedEnvelope
toHashable
&Equatable
(#2017)
SemVer Patch
- Get Android constants used by Channel from Bionic instead (#2026, patch credit to @buttaface)
- Reduce allocations when scheduling tasks (#2010, #2011)
- Add
canImport(_Concurrency)
for Xcode 13.0 (#2015) - Guarantee ordering of
scheduleTask
with same deadline (#2020) - Precondition that read doesn't return EINVAL (#2022)
Other Changes
- Correct spelling of foreseeable in README.md (#2024, patch credit to @bobychaudhary)
- Update docs generation script to match latest source-kitten (#2013)
- Update soundness script for 2022 (#2027)
- nio-diagnose: list all thread names (#2030)
SwiftNIO 2.36.0
SemVer Minor
- Adds Swift Concurrency Availability to macOS 10.15, iOS 13, tvOS 13, and watchOS 6 (#2004, patch credit to @PSchmiedmayer)
- remove/deprecate the file:line: parameters from flatMap and friends (#1998)
- provide EventLoopGroup.any() which is sticky to the current EventLoop (#2003)
SemVer Patch
- Relax precondition on EBADF on embedded Apple platforms (#1999, patch credit to @John-Connolly)
- disable PTHREAD_MUTEX_ERRORCHECK in release mode (#1995)
- Don't tolerate EBADF on close. (#2002)
- Enable io_uring builds with newer liburing (#2006)
Other Changes
SwiftNIO 2.35.0
SwiftNIO 2.34.0
SemVer Minor
- Conform EventLoopFuture/Promise to Sendable (#1982, patch credit to @adam-fowler)
- HTTPDecoder: Decode informational http response head correctly (#1984)
- Allow HTTP Server to send multiple informational heads before actual response head (#1985)
SemVer Patch
- Remove not on eventLoop precondition for NIOPipeBootstrap (#1977, patch credit to @jabwd)
- ByteBuffer: Reduce ARC traffic when reading (#1978, #1979)
- ByteBuffer: shrink getSlice (#1980)
- ByteBuffer: force getSlice to be inlined into readSlice (#1981)
Other Changes
SwiftNIO 2.33.0
SemVer Minor
- Move AsyncAwait helpers into NIOCore (#1969)
SemVer Patch
- NIOSingleStepByteToMessageProcessor: Only reclaim once at the end of the decode loop (#1958)
- NIOSingleStepByteToMessageProcessor: Inline process methods (#1959)
- Get unit tests running again on nightly builds. (#1961)
- Only include concurrency features on new OSes (#1966)
- Readd module _NIOConcurrency to not break adopters (#1970)
Other updates
SwiftNIO 2.31.2
SwiftNIO 1.14.4
SwiftNIO 2.32.3
SwiftNIO 2.32.2
SemVer Patch
- Add safer abstraction for kqueue filter set. (#1951)
Other Changes
- Minor rewording to clarify the location of the NIO 1 to NIO 2 migration guide (#1945, patch credit to @tonyarnold)
- Update NIOAsyncAwaitDemo to use correct @available checks (post WWDC '21) (#1941)
- Add compiler setting for __APPLE_USE_RFC_3542 for CNIODarwin (#1942)
- Clarify the support status of NIO1 (#1949)
- Fix doc generation and jazzy version (#1950)