Skip to content

v2.0.0 Release Candidate 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@adam-fowler adam-fowler released this 01 Jul 08:18
· 88 commits to main since this release
0e6de71

Breaking changes

  • HummingbirdJobs has been moved into its own repository https://github.com/hummingbird-project/swift-jobs.
  • Add FileIdentifier associated type to FileProvider. PR #487
  • Use RouterPath instead of String in Router endpoint functions. PR #491
  • Environment.shared has been removed.
  • DateCache is no longer a public symbol
  • MediaType.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 tagged unavailable. PR #486
  • MiddlewareGroup.add returns self 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 @availables 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 the Router. PR #484

Other changes

  • Fix Swift 6 concurrency errors in HTTP2 and TransportServices tests. PR #481