Skip to content

Swift OpenAPI Runtime 0.3.0

Compare
Choose a tag to compare
@czechboy0 czechboy0 released this 27 Sep 08:18
· 58 commits to main since this release
1eaf236

⚠️ API-breaking changes

This release changes the ClientTransport, ClientMiddleware, ServerTransport, and ServerMiddleware protocols in line with the approved proposals SOAR-0004 and SOAR-0005. See the proposals for details on how to migrate.

The TL;DR is:

  • the HTTP currency types are now imported from swift-http-types
  • unstructured bodies, which were previous either Foundation.Data or Swift.String are now OpenAPIRuntime.HTTPBody, which represents an async sequence of byte chunks, unlocking fully streaming use cases

What's Changed

SemVer Minor

Full Changelog: 0.2.5...0.3.0