Releases: apple/swift-nio
Releases · apple/swift-nio
SwiftNIO 2.59.0
SemVer Minor
- Added
ByteBuffer.hexDump(format:)
(#2475, patch credit to @natikgadzhi) - Make the initializers of
NIOThreadPoolError
public (#2503, patch credit to @omochi) - Make
ByteBuffer
Codable (#2509, patch credit to @natikgadzhi) EventLoopFuture/Promise
: onlySendable
ifValue
isSendable
(#2496)- HTTP1: Support users opting-out of us setting framing headers. (#2508)
- Support for custom protocols in
DatagramBootstrap
(#2516)
SemVer Patch
- HTTP1: Simplify header separator and crlf (#2513, patch credit to @alex-taffe)
- Update
CNIOLLHTTP
to latestnodejs/llhttp
(#2512)
Other Changes
- Docs: explain the basic safe usage of
ByteBuffer
(#2499, patch credit to @natikgadzhi) - Match casing of reference links to the casing of the actual referenced declaration/module (#2500, patch credit to @tayloraswift)
- Update nightly allocation limits (#2502)
SwiftNIO 2.58.0
SemVer Minor
- Add support for using
EventLoop
s as custom actor executor (#2388) - Add new
EventLoop
singletons (#2471) - Add bootstrap APIs for VSOCK sockets (#2479)
SemVer Patch
- Fix huge compile time of setUUIDBytes (#2482, patch credit to @sidepelican)
- Get Android building again after #2479 (#2490, patch credit to @finagolfin)
- Make
System.coreCount
aware of cgroup2 (#2394) - Don't lose or delay writes before
channelActive
(#2486)
SPI(AsyncChannel) changes
- Rename the
waitForFinalResult()
methods and provide anELF
convenience (#2483) - Add testing interfaces for the stream and writer of the
NIOAsyncChannel
(#2488) - Provide throwing
finish
method on test stream (#2493) - Fix leaked promise in
NIOTypedApplicationProtocolNegotiationHandler
(#2489) - Add async TCP echo example (#2463)
- Avoid using deinit to fulfil the protocol negotiation promise (#2497)
Other Changes
- Correct malformed codelink (#2484, patch credit to @tayloraswift)
- Update contributor email address (#2481)
- Fix 5.9 and nightly allocation limits (#2485) (#2487)
SwiftNIO 2.57.0
SwiftNIO 2.56.0
SwiftNIO 2.55.0
SemVer Minor
- Make
NIO[Throwing]AsyncSequenceProducer.Source
Sendable
(#2459)
SemVer Patch
- Add support for Musl libc (#2449)
- Close Channel when input & output are closed (#2450)
- Correct a few Musl additions from #2449 for Android, plus error if libc not found (#2451, patch credit to @finagolfin)
- Use #if canImport(Darwin) where possible (#2446)
Other Changes
- Update RediStack URL in README.md (#2445)
- Allow opt-out of PII in CONTRIBUTORS.txt (#2453, patch credit to @therealbnut)
- Update mailmap to unify Gwynne's email addresses (#2454, patch credit to @gwynne)
- Fix several minor typos in comments found in various files (#2455, patch credit to @gwynne)
- Fix last remaining test on Android (#2457, patch credit to @finagolfin)
- Adopt the Swift CoC (#2440)
- Updated allocation counters in 5.9 (#2456)
SPI(AsyncChannel) changes
SwiftNIO 2.54.0
SemVer Minor
EmbeddedChannel
:getOption(ChannelOptions.allowRemoteHalfClosure)
should notfatalError
(#2429)
SemVer Patch
- Pooled control message storage. (#2422, patch credit to @ser-0xff)
- NIOPOSIX happy eyeballs now hops to the connection event loop when using a custom resolver to avoid data races (#2436)