Skip to content

v2.0.0 Release Candidate 4

Pre-release
Pre-release
Compare
Choose a tag to compare
@adam-fowler adam-fowler released this 23 Aug 09:49
· 44 commits to main since this release
80fd368

Breaking changes

  • Removed allocator from RequestContext. #521
  • Server uses ResponseWriter to write HTTP response. #519
  • Removed ResponseBodyWriter.withTrailingHeaders. #519
  • ResponseBodyWriter closure should call finish(_:) once it is finished. It can also supply trailingHeaders to the `finish(_:) call. #519

Minor release changes

  • Added new Configuration parameter availableConnectionDelegate to control how many connections the server accepts. #518
  • Implemented MaximumAvailableConnections conforming to AvailableConnectionsDelegate which limits the number of connections the server allows to a specific amount. #518
  • Add support for binding server to NWEndpoint. #525
  • Add map to ResponseBodyWriter to support simple transforms of response bodies #526

Patch release changes

  • Fix compile errors for Musl. #517
  • Fix errors when compiling in Swift 6 mode. #523

Other changes

  • Always use fulfillment in tests. #524