Skip to content

SwiftNIO 1.6.0

Compare
Choose a tag to compare
@Lukasa Lukasa released this 01 May 18:43
· 1673 commits to main since this release

Semver Minor

  • Added new UnsafeEmbeddedAtomic type. (#373)
  • Added prepend, removeLast, and last to CircularBuffer. (#347)

Semver Patch

  • Removed warnings in Swift 4.2. (#374)
  • Added more license documentation for 3rd party modules. (#251)
  • Fixed an issue where connect promises could be leaked without being failed. (#337)
  • Reduced the number of memory allocations required to create an EventLoopFuture. (#373)
  • ByteBuffer's debug output is now compatible with being parsed by xxd. (#367)
  • Fixed a bug where WebSocket frames could be delivered multiple times on connection closure. (#368)
  • ByteBuffer.discardReadBytes no longer triggers a memory copy if the buffer was fully consumed. (#363)
  • Improved the ability of the compiler to specialise ByteBuffer copies of contiguous data types. (#360)
  • Worked around an optimiser bug that caused unnecessary heap allocations when writing StaticString objects into ByteBuffers. (#354)
  • Added dtrace scripts for debugging memory allocations. (#352)
  • Greatly reduced the overhead of passing HTTPRequestHead and HTTPResponseHead around the ChannelPipeline by placing them into a CoW heap-allocated box. (#351)
  • Shrunk the size of ByteBuffer and FileRegion to fewer than 3 words, ensuring that enums that wrap these types can still fit into an existential container without triggering heap allocation. (#349)
  • Fixed a bug where the HTTPServerPipelineHandler would incorrectly deliver message parts out of order. (#348)
  • Fixed a bug where Channel.localAddress and Channel.remoteAddress would be nil during channelInactive and handlerRemoved callbacks. (#346)
  • Improved the performance of HTTPHeaders[canonicalForm:] in the case where no headers with that header name exist. (#344)
  • Miscellaneous code & testing improvements. (#335, #338, #353, #356, #357, #358, #361, #362, #365, #366, #371, #375, #376)
  • Documentation improvements. (#359)