v2.0.0 Release Candidate 1
Pre-release
Pre-release
Breaking changes
- HummingbirdJobs has been moved into its own repository https://github.com/hummingbird-project/swift-jobs.
- Add
FileIdentifier
associated type toFileProvider
. PR #487 - Use
RouterPath
instead ofString
in Router endpoint functions. PR #491 Environment.shared
has been removed.DateCache
is no longer a public symbolMediaType.Category
has been converted from an enum to a struct- Add options field to RouterBuilder and add
caseInsensitive
option. PR #483 - Deprecated symbols prefixed with
HB
have now been taggedunavailable
. PR #486 MiddlewareGroup.add
returnsself
to allow for builder pattern. PR #496 from @runhum
Patch release changes
- Router bug fixes. PR #479
- Fixed issue where tracing middleware span names weren't set with the RouterBuilder. PR #480
FileMiddleware
reports the resolved endpoint as "FileMiddleware", to avoid fragmentation of metrics and tracing data. PR #482- Remove unnecessary
@available
s where they are testing against older versions of swift that we don't support. PR #490 - Use TaskLocal instead of ServiceContext to store state while running the RouterBuilder result builder. PR #488
- Fix HTTPError serialisation and move error conversion to
Response
inside theRouter
. PR #484
Other changes
- Fix Swift 6 concurrency errors in HTTP2 and TransportServices tests. PR #481