Skip to content

Releases: apple/swift-nio

SwiftNIO 2.77.0

27 Nov 11:28
dca6594
Compare
Choose a tag to compare

What's Changed

SemVer Minor

  • Add new protocol for ChannelHandler to get buffered bytes in the channel handler by @johnnzhou in #2918
  • Add WebSocketFrame.reservedBits OptionSet by @adam-fowler in #2971
  • Add ByteBuffer methods getUTF8ValidatedString and readUTF8ValidatedString by @adam-fowler in #2973
  • EventLoopFuture.waitSpinningRunLoop() by @weissi in #2985

SemVer Patch

  • EmbeddedEventLoop/Channel: check correct thread by @weissi in #2951
  • Fix NIOAsyncSequenceProducer watermark strategy. by @FranzBusch in #2952
  • BaseSocketChannel flushNow IONotificationState changes by @rnro in #2954
  • Fix leaking technique by @asdf-bro in #2963
  • Use Swift 6.0 docs pipeline by @rnro in #2966
  • Remove sendable checking from NIOLock and NIOLockedValueBox by @glbrntt in #2968
  • Close channel during upgrade, if client closes input by @adam-fowler in #2756
  • Use condition variable in NIOThreadPool by @glbrntt in #2964
  • Better handle ECONNRESET on connected datagram sockets. by @Lukasa in #2979
  • Only toggle production state when above/below watermark by @glbrntt in #2996
  • Prevent crash in Happy Eyeballs Resolver by @Lukasa in #3003

Other Changes

Full Changelog: 2.76.1...2.77.0

SwiftNIO 2.76.1

24 Oct 12:27
9140817
Compare
Choose a tag to compare

What's Changed

SemVer Patch

  • workaround Xcode 15.4 bug with swift build --arch x86_64 --arch arm64 by @weissi in #2945

Full Changelog: 2.76.0...2.76.1

SwiftNIO 2.76.0

23 Oct 16:25
f6230d3
Compare
Choose a tag to compare

What's Changed

SemVer Minor

SemVer Patch

  • Adopt NIOThrowingAsyncSequenceProducer 2nd try by @rnro in #2917
  • Add future wait benchmark to catch memory leaks by @rnro in #2931
  • Fix Windows build break. by @jeffdav in #2935
  • Fix withConnectedSocket in async mode by @Lukasa in #2937
  • Fix Windows build for NIOCore. by @jeffdav in #2938
  • NIOPosix on Darwin: inherit main thread QoS by @weissi in #2944

Other Changes

New Contributors

Full Changelog: 2.75.0...2.76.0

SwiftNIO 2.75.0

14 Oct 12:35
f7dc3f5
Compare
Choose a tag to compare

What's Changed

SemVer Minor

  • Add EventLoop APIs for simpler scheduling of callbacks by @simonjbeaumont in #2759
  • Add convenience conformances to ByteCount by @clintonpi in #2909
  • Add removeHandler(context: ChannelHandlerContext) to SynchronousOperations of ChannelPipeline by @supersonicbyte in #2912
  • [NIOFileSystem] Provide an API to specify allowing unlimited sized reads by @clintonpi in #2914

SemVer Patch

  • A DatagramChannelTest now waits for writes by @rnro in #2905
  • Throw error when the max read amount is greater than ByteBuffer can tolerate by @clintonpi in #2911

Other Changes

New Contributors

Full Changelog: 2.74.0...2.75.0

SwiftNIO 2.74.0

02 Oct 15:46
6652060
Compare
Choose a tag to compare

What's Changed

SemVer Minor

  • Add ByteBuffer Hex init & write by @ali-ahsan-ali in #2837
  • Add functions for reading and writing length-prefixed data with customizable encodings for the length by @hamzahrmalik in #2867

SemVer Patch

  • ConditionLock deallocs its pthread_cond_t in more cases by @rnro in #2901

Full Changelog: 2.73.0...2.74.0

2.73.0

25 Sep 11:50
1b33db2
Compare
Choose a tag to compare

What's Changed

SemVer Minor

  • Make ByteBuffer's description more useful by @supersonicbyte in #2864
  • Expose UDP_MAX_SEGMENTS via System by @rnro in #2891
  • Add new ChannelOption to get the amount of buffered outbound data in the Channel by @johnnzhou in #2849
  • Add an AcceptBackoffHandler to the async server bootstraps by @FranzBusch in #2782

SemVer Patch

Other Changes

New Contributors

Full Changelog: 2.72.0...2.73.0

2.72.0

03 Sep 18:15
9746cf8
Compare
Choose a tag to compare

What's Changed

SemVer Minor

SemVer Patch

  • Make assumeIsolated work with SerialExecutors that are backed by EventLoops by @fabianfett in #2865

New Contributors

Full Changelog: 2.71.0...2.72.0

2.71.0

02 Sep 13:03
30df855
Compare
Choose a tag to compare

What's Changed

SemVer Minor

  • Adopt strict concurrency and Sendable in NIOConcurrencyHelpers by @Lukasa in #2832
  • Adopt strict concurrency in _NIODataStructures by @Lukasa in #2835
  • Provide documentation and context information for NIOTooManyBytesError by @cmcgee1024 in #2831

SemVer Patch

Other Changes

New Contributors

Full Changelog: 2.70.0...2.71.0

SwiftNIO 2.70.0

05 Aug 15:28
4c4453b
Compare
Choose a tag to compare

What's Changed

SemVer Minor

SemVer Patch

Other Changes

New Contributors

Full Changelog: 2.69.0...2.70.0

SwiftNIO 2.69.0

25 Jul 07:20
e4abde8
Compare
Choose a tag to compare

What's Changed

SemVer Minor

  • Add manual control to NIOLockedValueBox by @glbrntt in #2786
  • ChannelHandler: provide static (un)wrap(In|Out)bound(In|Out) by @weissi in #2791

SemVer Patch

Other Changes

Full Changelog: 2.68.0...2.69.0