Releases: apple/swift-openapi-runtime
Releases · apple/swift-openapi-runtime
Swift OpenAPI Runtime 1.0.0-alpha.1
What's Changed
SemVer Major ⚠️ (breaking changes)
- Change type of HTTPBody.Length.known from Int to Int64 by @simonjbeaumont in #79
- Move to Swift 5.9 as the minimum version by @czechboy0 in #80
- Remove deprecated code by @czechboy0 in #81
SemVer Minor
- Base64EncodedData initializer taking an array slice shouldn't have a label by @PARAIPAN9 in #71
- [Multipart] Add public types by @czechboy0 in #77
- [Multipart] Add converter SPI methods by @czechboy0 in #78
SemVer Patch
- [Multipart] Introduce a bytes -> frames parser by @czechboy0 in #72
- [Multipart] Add the frame -> bytes serializer by @czechboy0 in #73
- [Multipart] Add a frames -> raw parts parsing sequence by @czechboy0 in #74
- [Multipart] Add a raw parts to frames serializer sequence. by @czechboy0 in #75
- [Multipart] Validation sequence by @czechboy0 in #76
Other Changes
- Apply the same .swift-format as the generator repo by @czechboy0 in #68
- Add README badges by @czechboy0 in #70
- Bump version docs to 1.0.0-alpha.1 by @czechboy0 in #82
Full Changelog: 0.3.6...1.0.0-alpha.1
Swift OpenAPI Runtime 0.3.6
What's Changed
SemVer Patch
- [Runtime] Improved content type matching by @czechboy0 in #65
- [Runtime] Include partial errors in oneOf/anyOf decoding errors by @czechboy0 in #66
Other Changes
- Disable warnings-as-errors for nightlies by @czechboy0 in #67
Full Changelog: 0.3.5...0.3.6
Swift OpenAPI Runtime 0.3.5
What's Changed
SemVer Patch
- [Runtime] Generate server variables by @czechboy0 in #64
- Improved enriched error propagation from the transport and middlewares by @czechboy0 in #63
Other Changes
- Add a soundness --fix flag by @czechboy0 in #62
Full Changelog: 0.3.4...0.3.5
Swift OpenAPI Runtime 0.3.4
What's Changed
SemVer Patch
Other Changes
- Bump swift-format to 5.9 by @czechboy0 in #61
New Contributors
Full Changelog: 0.3.3...0.3.4
Swift OpenAPI Runtime 0.3.3
What's Changed
SemVer Patch
- [Runtime] Support recursive types by @czechboy0 in #58
Other Changes
- Enable documentation comment validation in swift-format by @PARAIPAN9 in #59
Full Changelog: 0.3.2...0.3.3
Swift OpenAPI Runtime 0.3.2
What's Changed
SemVer Patch
Other Changes
- Add docker-compose file for 5.10 CI by @simonjbeaumont in #57
New Contributors
Full Changelog: 0.3.1...0.3.2
Swift OpenAPI Runtime 0.3.1
What's Changed
SemVer Patch
- Add SPIs for throwing RuntimeError from shorthand generated APIs by @simonjbeaumont in #56
Full Changelog: 0.3.0...0.3.1
Swift OpenAPI Runtime 0.3.0
⚠️ 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
orSwift.String
are nowOpenAPIRuntime.HTTPBody
, which represents an async sequence of byte chunks, unlocking fully streaming use cases
What's Changed
SemVer Minor
- Async bodies + swift-http-types adoption by @czechboy0 in #47
Full Changelog: 0.2.5...0.3.0
Swift OpenAPI Runtime 0.2.5
What's Changed
SemVer Patch
- [Bug] Make a missing converter helper public by @czechboy0 in #54
Full Changelog: 0.2.4...0.2.5
Swift OpenAPI Runtime 0.2.4
What's Changed
SemVer Patch
- Support url form encoded bodies by @bfrearson in #53
Full Changelog: 0.2.3...0.2.4