Releases: apple/swift-openapi-generator
Releases · apple/swift-openapi-generator
Swift OpenAPI Generator 0.1.7
New Features in Preview
You can try out upcoming features by enabling the following feature flags on the CLI, or in the config file:
multipleContentTypes
: support for handling multiple request and response body content types; note that the support for propagating the Accept header has not landed yet and is tracked by #160
This feature will become the default behavior in 0.2.0, so you can help provide early feedback by explicitly turning it on in your project.
What's Changed
SemVer Patch
- Improve the diagnostic for when a schema is unsupported by @czechboy0 in #164
- [Bug] Handle the '\r\n' newline correctly by @czechboy0 in #169
- [Generator] Multiple content types support by @czechboy0 in #146
Other Changes
- Add tests for responses with examples by @simonjbeaumont in #166
Full Changelog: 0.1.6...0.1.7
Swift OpenAPI Generator 0.1.6
New Features in Preview
You can try out upcoming features by enabling the following feature flags on the CLI, or in the config file:
proposal0001
: improved OpenAPI -> Swift type, property, and other name conversion, for details, check out the proposal SOAR-0001strictOpenAPIValidation
: catches more issues in the input OpenAPI document, helping reduce the number of times non-compiling code is generated, for details, check out the PR
These features will become the default behavior in 0.2.0, so you can help provide early feedback by explicitly turning them on in your project.
What's Changed
SemVer Patch
- Validate incoming OpenAPI docs using OpenAPIKit's built-in validation by @czechboy0 in #130
- Command Plugin for generating the source code by @MahdiBM in #98
- fix: Correct data type of date-formatted strings by @yanniks in #137
- Add dry run option to CLI by @denil-ct in #123
- Add the ability to set feature flags by @czechboy0 in #139
- Enable the generated server-side code to validate the content-type. by @takeshi-1000 in #140
- Deprecation warnings not emitted when calling operations that are deprecated by @czechboy0 in #153
- Fix an incorrect reference in the API stability article by @czechboy0 in #154
- Fix server handler Sendability warnings by @czechboy0 in #156
- Calculate required response header parameters for initialize by @takeshi-1000 in #150
- Update to OpenAPIKit 3.0.0-alpha.9 by @simonjbeaumont in #147
- [SOAR-0001] Implement Encoding for Property Names by @denil-ct in #89
- Hide strict OpenAPI validation behind a feature flag by @czechboy0 in #162
Other Changes
- Move ContentType.identifier logic into the translator by @czechboy0 in #141
- [NFC] Inject asSwiftSafeName as a dependency by @czechboy0 in #148
- Fix various typos in docc articles by @gjcairo in #155
- [Generator] Design away EncodableBodyContent by @czechboy0 in #152
- [NFC] Refactor PetstoreConsumerTests to allow multiple versions by @czechboy0 in #157
- [Generator] Consistent style for initializing local variables by @czechboy0 in #159
- Add a proposal state for when merged behind a feature flag by @czechboy0 in #161
- [Proposal] SOAR-0001 Improved OpenAPI -> Swift name mapping by @denil-ct in #95
New Contributors
- @yanniks made their first contribution in #137
- @takeshi-1000 made their first contribution in #140
- @gjcairo made their first contribution in #155
Full Changelog: 0.1.5...0.1.6
Swift OpenAPI Generator 0.1.5
What's Changed
SemVer Patch
- Lower unsupported platform minimum versions by @czechboy0 in #126
Full Changelog: 0.1.4...0.1.5
Swift OpenAPI Generator 0.1.4
What's Changed
SemVer Patch
- Emit YAML processing errors that Xcode can display by @macblazer in #81
- Add
await
andProtocol
to the identifiers escaping rules by @denil-ct in #88 - Emit a descriptive error when running the generator on iOS, tvOS, or watchOS by @czechboy0 in #87
- Generate deprecation annotations based on OpenAPI document by @simonjbeaumont in #92
- Support Yams 5.0 (support 4.0.0 ..< 6.0.0) by @simonjbeaumont in #111
- Generate @Frozen enums for operation outputs and request/response bodies by @simonjbeaumont in #109
Other Changes
- Specify default code listing language for DocC catalog by @denil-ct in #85
- Fix a typo in the name of the transformingFirstLetter method by @michalsrutek in #90
- docs: Update proposal process by @simonjbeaumont in #91
- Fix typo in comments in docker-compose files by @simonjbeaumont in #93
- Move DocC and integration tests into separate CI pipelines by @simonjbeaumont in #110
- Simplify swift-format soundness script by @simonjbeaumont in #108
- Full compatibility with the "ExistentialAny" upcoming feature by @MahdiBM in #99
- Add finer-grain reference tests for translation phase by @simonjbeaumont in #103
- Disable ExistentialAny temporarily by @czechboy0 in #122
- [Tests] Add an integration test product for easier iteration by @czechboy0 in #121
New Contributors
- @denil-ct made their first contribution in #85
- @macblazer made their first contribution in #81
- @michalsrutek made their first contribution in #90
- @MahdiBM made their first contribution in #99
Full Changelog: 0.1.3...0.1.4
Swift OpenAPI Generator 0.1.3
What's Changed
SemVer Patch
- Use operation summary and description in generated function docs by @simonjbeaumont in #67
- Add support for .yml extension (openapi.yml and openapi-generator-config.yml) by @Kyle-Ye in #77
- Bumps OpenAPIKit to version 3.0.0-alpha.7 fixing an issue with trailing slashes. by @miguel-arrf in #69
Other Changes
- [Docs] Update the generator minimum version by @czechboy0 in #68
- docs: Add missing subcommand to manual CLI invocation example by @miguel-arrf in #76
- Create an Unresolved* typealias for all supported OpenAPI types by @andrewse02 in #74
- docs: Update instructions for running developer scripts by @Kyle-Ye in #80
New Contributors
- @Kyle-Ye made their first contribution in #77
- @miguel-arrf made their first contribution in #76
Full Changelog: 0.1.2...0.1.3
Swift OpenAPI Generator 0.1.2
What's Changed
SemVer Patch
- Support empty string OpenAPI identifiers by @simonjbeaumont in #59
- Relax minimum macOS requirement to 10.15 by @andrewse02 in #63
Other Changes
- Build IntegrationTest package as part of CI pipeline by @simonjbeaumont in #56
- docs: Emphasize target setting in Xcode tutorial by @simonjbeaumont in #58
- [Docs] Add a link to the WWDC talk by @czechboy0 in #60
New Contributors
- @andrewse02 made their first contribution in #63
Full Changelog: 0.1.1...0.1.2
Swift OpenAPI Generator 0.1.1
What's Changed
SemVer Patch
- [Docs] Document the Converter type and all the cases it needs to support by @czechboy0 in #50
- [Generator] Choose the serialization method based on content type by @czechboy0 in #48
Other Changes
- CI: remove temporary gitconfig workaround by @yim-lee in #47
- [Proposal] Add a lightweight proposal process by @czechboy0 in #49
- [Releases] Add a release config by @czechboy0 in #53
New Contributors
- @yim-lee made their first contribution in #47
- @czechboy0 made their first contribution in #49
Full Changelog: 0.1.0...0.1.1
0.1.0 – Initial release
Initial release.