Releases: apple/swift-nio
Releases · apple/swift-nio
SwiftNIO 2.26.0
SemVer Minor
- Specialise succeeded Void futures so we allocate less (#1703)
- Add a synchronous pipeline view (#1741)
SemVer Patch
- Remove CNIOAtomics and CNIOSHA1 as dependency (#1719, patch credit to @kimdv)
- B2MD: Fix default memory reclamation strategy to match its documentation (#1729)
- [Android] fix compile error for swift-nio-ssl (#1734, patch credit to @Guang1234567)
- Make a few EventLoopFuture functions inlinable (#1708)
- Remove an allocation from addHandlers (#1710)
- Remove error handling for adding/removing handlers functions (#1712)
- Clean up typo in method argument. (#1713)
- Add static vars for common HTTP versions (#1723)
- B2MD: Don't try to reclaim if continuing to parse (#1733)
Other Changes
- Use welcoming language (#1728)
- Replace unwelcoming language in sha1 (#1731)
- Remove last occurrences of sanity (#1732)
- Host header is requires for HTTP/1.1 (#1740, patch credit to @Bouke)
- Correct typo in SelectableEventLoop class doc. (#1742, patch credit to @Hailong)
- Only use ascii characters in perf test names. (#1718)
- order perf tests by name in docker files (#1720)
- docs: advanced performance analysis guide (#1738)
- align all functions to make micro benchmarks more stable (#1739)
- alloc counters: Use atomic globals instead of thread-locals (#1743)
- SAL: more sync between test and EL threads (#1749, bug report credit @buttaface)
- update code of conduct to version 1.4 (#1753)
SwiftNIO 2.25.1
SwiftNIO 2.25.0
SwiftNIO 2.24.0
SemVer Minor
- HTTPObjectAggregator implementation (#1664, patch credit to @AndriusA)
- Conform TimeAmount to AdditiveArithmetic (#1691, patch credit to @joshrutkowski)
SemVer Patch
- Implement
cleanupSocket(unixDomainSocketPath:)
for Windows (#1654, patch credit to @compnerd) - Implement network interface enumeration for Windows (#1647, patch credit to @compnerd)
- Correct return value for messaging on Windows (#1667, patch credit to @compnerd)
- Silence error on Windows (#1668, patch credit to @compnerd)
- Carve away more of
System.swift
on Windows (#1669, patch credit to @compnerd) - Implement
sendmsg
andrecvmsg
on Windows (#1674, patch credit to @compnerd) - Expose
LINGER
as a public type on Windows (#1675, patch credit to @compnerd) - Extract control message handling into a separate protocol (#1678, patch credit to @compnerd)
- Implement address resolution on Windows (#1684, patch credit to @compnerd)
- Fix incorrect new names for deprecated APIs (#1672)
- Add multiple channel handlers in a single async call. (#1683)
Other Changes
- NIOUDPEchoServer use AddressedEnvelope as InboundIn and OutboundOut (#1666, patch credit to @fabianfett)
- NIO: reflow some comments (NFC) (#1677, patch credit to @compnerd)
- Removes misleading docs for EventLoopFuture.whenComplete(_:) (#1687, patch credit to @jemmons)
- Print the usage if no args are provided to the build_podspecs script (#1665)
- Add watchOS deployment to PodSpec build script (#1679)
- Remove symbolicate-linux-fatal from Docker (#1670)
SwiftNIO 2.23.0
SemVer Minor
- Add
ByteBuffer.storageCapacity
, the capacity of the underlying storage (#1629, patch credit to @gcjenkinson) - Cleanup Unix socket pathname on server socket close or bind (#1637, patch credit to @AndriusA)
- Add helper methods to
EventLoopFuture
for unwrapping optional values and executing blocking work on aDispatchQueue
(#1656, #1662, patch credit to @gcjenkinson)
SemVer Patch
- Increased the default initial size for
AdaptiveRecvByteBufferAllocator
from 1024 to 2048 (#1641, patch credit to @AndriusA) - Fixed a bug where scheduling a task in the distant future would result in a crash on Darwin based platforms (#1642, patch credit to @gcjenkinson)
- Numerous fixes and improvements to Windows support (#1633, #1634, #1635, #1636, #1638, #1639, #1640, #1645, #1646, #1652, #1653, #1657, #1658, #1659, #1660, #1661, patch credit to @compnerd)
- Minor cleanups of Windows compatability code (#1663)
Other Changes
SwiftNIO 2.22.1
SwiftNIO 2.22.0
SwiftNIO 2.21.0
Semver Minor
- Define
EventLoopGroupProvider
type for third-party libraries to use the common pattern of asking users forEventLoopGroup
s. (#1609) (patch credit to @pokryfka) - Deprecated
ByteBuffer.clear(minimumCapacity:)
which used a typealias for anInt32
as an argument to one that uses anInt
instead. (#1610) - Enhanced
NIOFoundationCompat
to provide fast-path for writingDataProtocol
andContiguousBytes
conforming types intoByteBuffer
s. (#1615) - Fixed an issue where server channels would be closed due to
EINVAL
firing unexpectedly on Apple platforms, and changed the error reporting in these cases. (#1598) (patch credit to @cyberdelia)
Semver Patch
- Improved performance of task scheduling by reducing refcounting in our
Heap
implementation. (#1614) - Made the
epoll
implementation available on Android. (#1621) (patch credit to @compnerd)
Other
SwiftNIO 2.20.2
Semver Patch
- Fixed error including non-modularised header when compiling SwiftNIO from SwiftPM-generated Xcode project. (#1605)
SwiftNIO 2.20.1
SemVer Patch
- Don't use 0xdeadbeef for dead pointers as it breaks some iOS builds. (#1604)