Skip to content

v2.6.0

Latest
Compare
Choose a tag to compare
@adam-fowler adam-fowler released this 28 Dec 11:18
· 2 commits to main since this release
17d8de6

Minor release changes

  • Add RequestBody.consumeWithInboundCloseHandler and RequestBody.consumeWithCancellationOnInboundClose for cancelling requests with either long process times or streamed responses. #631, #634, #636
  • Add computed variable Router.routes that list all routes added to Router. #624
  • Add Router.validate() to check if any routes clash. Call this from Route.buildResponder and assert if it throws an error. #637
  • Rename HTTP2UpgradeChannel.Configuration to HTTP2ChannelConfiguration. #612
  • Removed default additionalChannelHandlers from HTTP1Channel. #623
  • Conform RequestBody.Source to Sendable. #628
  • Update swift-nio-http2 to v1.34.1. #635 from @bcbod2002
  • Assert on creating a cookie with sameSite set to none and with secure set to false as this is invalid. #610

Patch release changes

  • Separate HTTP2Channel setup from HTTP2UpgradeChannel. #612
  • Use NIOAsyncChannelInboundStream in router testing framework. #633
  • Follow symbolic links when reading a file's attributes in LocalFileSystem. #642

Other changes

  • Use Apple's swift-format for formatting source code.