v2.0.0 Beta 5
Pre-release
Pre-release
adam-fowler
released this
21 May 16:37
·
128 commits
to main
since this release
Breaking changes
- Allow for LogRequestsMiddleware to filter headers logged. PR #433
- Add
services
parameter toApplication.init
. PR #438 - Don't add
@_exported
to Foundation symbols. PR #449 - Add requirement that channel is accessible in
ServerChildChannel.Value
. PR #450 HTTPChannelBuilder
renamedHTTPServerBuilder
and buildsServer
instead ofServerChildChannel
. PR #452Address
renamed back toBindAddress
Minor release changes
- Make
RequestBody.init(asynsSequence:)
public. - Make
LocalFileSystem.init()
public. PR #451 from @alephao - Ensure tracing span records correct duration. PR #435
- Add support for compiling against Musl. PR #446
Patch release changes
- Return 404 when user attempts to load folder from
FileMiddleware
. PR #432 - Include more descriptive error messages when returning errors. PR #431
- Add
content-length
header if we pass in a body to the router test framework - Optimize TrieRouter by using array of structs. PR #443
- Rely on NIO defaults for `maxMessagesPerRead. PR #441
- Minor optimisations, reducing number of allocations. PR #454