Semver Minor
- Added a new
BSDSocketnamespace, containingBSDSocket.OptionLevelandBSDSocket.Optionfor use when configuring socket options. (#1461, #1467, #1470, #1510) (Patch credit to @compnerd) - Added
BSDSocket.ProtocolFamilyandBSDSocket.AddressFamilyto replace the libc spelling for socket address families. (#1468, #1469) (Patch credit to @compnerd) - Added ECN metadata to
AddressedEnvelope. This functionality is currently unused, but will be enabled in a future release. (#1502) - Added
ByteBuffer.writeRepeatingBytemethod to provide a fastmemset-like operation. (#1500) - Added
EventLoop.preconditionNotInEventLoopandEventLoop.assertNotInEventLoopto match existingEventLoop.preconditionInEventLoopandEventLoop.assertInEventLoop. (#1508) (Patch credit to @gwynne) - Added
MultithreadedEventLoopGroup.withCurrentThreadAsEventLoopto support taking over an existing thread and turning it into a NIO event loop. This allows NIO programs to now be single-threaded. (#1499) - Added
EventLoop.flatScheduleTaskto provide a cleaner way to support a scheduled task that returns a future. (#1497) (Patch credit to @gwynne)
Semver Patch
- Fixed an error in the UDP echo client example where the socket would not be closed after receiving the response. (#1501)
- Cleaned up uniqueness checking in NIOHTTP1. (#1507) (Patch credit to @shekhar-rajak)
- New UDP allocation tests. (#1496)
- Improved allocation counter tests. (#1476)
- Improved allocation diffing script. (#1513)
- Removed warnings. (#1481, #1493)
- Documentation improvements. (#1474, #1482, #1483, #1505)
- Added Swift 5.3 CI. (#1498)