v2.0.0 Release Candidate 4
Pre-release
Pre-release
Breaking changes
- Removed
allocator
fromRequestContext
. #521 Server
usesResponseWriter
to write HTTP response. #519- Removed
ResponseBodyWriter.withTrailingHeaders
. #519 ResponseBodyWriter
closure should callfinish(_:)
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 toAvailableConnectionsDelegate
which limits the number of connections the server allows to a specific amount. #518 - Add support for binding server to
NWEndpoint
. #525 - Add
map
toResponseBodyWriter
to support simple transforms of response bodies #526
Patch release changes
Other changes
- Always use
fulfillment
in tests. #524