Skip to content

SwiftNIO 2.3.0

Compare
Choose a tag to compare
@Lukasa Lukasa released this 19 Jun 17:16

Semver Minor

  • Enable TCP_NODELAY by default on all TCP channels. (#1020)
  • Enabled heuristic to control whether NIO will copy data from ByteBuffer to Data or whether it will share the buffer, as well as APIs to explicitly control that choice. (#1046)
  • Fixed issue where fcntl failing to set an accepted socket into non-blocking mode would cause the closure of the entire listening socket. (#1041)
  • Add a HTTP client upgrade handler. (#1001)
  • Made EmbeddedChannel.isWritable mutable. (#1023)
  • Added CircularBuffer.modify. (#1009)

Semver Patch

  • Returned a NIOFileHandle(path:) constructor that was accidentally removed. (#1045)
  • Fixed an issue where setting a socket to non-blocking mode could clobber any other flags on that socket. (#1040)
  • Fixed an issue where IPv6 tests would incorrectly run on a system without appropriate IPv6 support. (#1028)
  • Improved AcceptHandler to prevent it swallowing errors when attempting to quiesce channels. (#1015)
  • Added optimisation tips document. (#1024)
  • Extra EmbeddedChannel testing. (#1033)
  • Added continuous performance reporting. (#1044)
  • Miscellaneous testing & documentation cleanups and improvements. (#1043, #1034, #1032, #1026, #1025, #1022, #1021, #1019, #1016, #1013)