Skip to content

Releases: apple/swift-nio

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

SwiftNIO 2.68.0

01 Jul 13:13
fc79798
Compare
Choose a tag to compare

SemVer Minor

  • NIOSendableBox: allow off-loop initialisation iff Value is Sendable (#2753)

SemVer Patch

  • Throw an appropriate error from the writer when the channel closed (#2744)

Other Changes

  • Convert the NIOFileSystem example code to a Snippet (#2746, #2750 patch credit to @tayloraswift)
  • Fix link to NIOFileSystem from NIO index page (#2747)

SwiftNIO 2.67.0

17 Jun 14:11
e5a216b
Compare
Choose a tag to compare

SemVer Minor

  • Add API for setting last accessed and last modified file times (#2735)

SemVer Patch

  • 304 Not Modified Broken with Response Compression Enabled (#2737, patch credit to @dimitribouniol)
  • Silence warning about missing include in macOS builds (#2741, patch credit to @gwynne)

Other Changes

  • Update availability guard on tests (#2739)

SwiftNIO 2.66.0

03 Jun 15:25
9428f62
Compare
Choose a tag to compare

SemVer Minor

  • Add ByteBuffer support to BufferedWriter (#2707)
  • Add withTemporaryDirectory (#2708)
  • Replace R with ReturnType (#2709)
  • Add a version of 'write' for ByteBuffer to WritableFileHandleProtocol (#2730)

SemVer Patch

  • Remove surplus Sendable requirements from FileSystem with methods (#2706)
  • concurrency takeover safe for 6.0 (#2710)
  • Release file handles back to caller on failure to take ownership (#2715)
  • clean up @retroactive conformances (#2719)
  • Remove storage indirection for FileSystemError (#2726)
  • Improve rename error (#2731)
  • Add a fallback path if renameat2 fails (#2733)

Other Changes

  • Fix race in TCPThroughputBenchmark (#2724, patch credit to @ser-0xff)
  • Exclude unused privacy manifests. (#2716)
  • No longer need test discovery command line. (#2717)
  • Update PosixSingletons+ConcurrencyTakeOver.swift (#2721)
  • Add slack to rst allocation tests (#2722)
  • testSimpleMPTCP should not fail for ENOPROTOOPT (#2725)