Releases: apple/swift-openapi-generator
Releases · apple/swift-openapi-generator
Swift OpenAPI Generator 0.3.3
What's Changed
SemVer Patch
- Safe server variable names when used in Swift identifiers by @czechboy0 in #351
- [Generator] Include partial errors in oneOf/anyOf decoding errors by @czechboy0 in #350
Other Changes
- Disable warnings-as-errors for nightlies by @czechboy0 in #353
Full Changelog: 0.3.2...0.3.3
Swift OpenAPI Generator 0.3.2
What's Changed
SemVer Patch
- [Bugfix] Detect more schema type reference cycles. by @czechboy0 in #335
- Respect the input order when filtering by @czechboy0 in #337
- Handle malformed content types by @czechboy0 in #339
- Remove swift-syntax/swift-format as generator dependencies by @czechboy0 in #343
- [Generator] Generate server variables by @czechboy0 in #348
Other Changes
- Bump swift-format to 5.9 by @czechboy0 in #340
- Update server tutorial codebase, fixes #333 by @tib in #338
- Add a soundness --fix flag by @czechboy0 in #345
- Disable "respectsExistingLineBreaks" in .swift-format for more consistent styling by @PARAIPAN9 in #346
- Enable more CI warnings by @czechboy0 in #347
New Contributors
Full Changelog: 0.3.1...0.3.2
Swift OpenAPI Generator 0.3.1
What's Changed
SemVer Patch
- Support base64-encoded data by @rnro in #326
- Add support for filtering OpenAPI document by @simonjbeaumont in #319
- Relax dependency on SwiftSyntax and SwiftFormat to 508..<510 by @mbrandonw in #331
- Support recursive types by @czechboy0 in #330
Other Changes
- Fixes #165 - Enable documentation comment validation in swift-format by @PARAIPAN9 in #188
- Improve structured Swift representation for recursive type support by @czechboy0 in #334
- Add proposal SOAR-0008: OpenAPI document filtering by @simonjbeaumont in #303
New Contributors
- @rnro made their first contribution in #326
- @mbrandonw made their first contribution in #331
Full Changelog: 0.3.0...0.3.1
Swift OpenAPI Generator 0.3.0
See the full announcement on the Swift forums1.
What's Changed
SemVer Minor
- Async bodies + swift-http-types adoption by @czechboy0 in #245
- Enable all feature flags for 0.3.0 by @czechboy0 in #296
- Use HTTP code and range names from swift-http-types by @czechboy0 in #298
- Propagate nullability through references by @czechboy0 in #300
- Skip type: string + format: binary in object properties by @czechboy0 in #313
SemVer Patch
- Fixes #276 - Unknown configuration options should throw an error by @PARAIPAN9 in #297
- Generate shorthand throwing APIs for providing inputs and handling outputs by @simonjbeaumont in #308
- Fix a bug around optional request bodies by @czechboy0 in #322
Other Changes
- [Proposal] SOAR-0004: Streaming request and response bodies by @czechboy0 in #254
- [Proposal] SOAR-0005: Adopting the Swift HTTP Types package by @czechboy0 in #255
- Skip building generated Github APIs in compat test by @simonjbeaumont in #290
- Update integration test to 0.3.0 APIs and temporarily use main by @simonjbeaumont in #310
- Split client and server examples into separate packages by @simonjbeaumont in #311
- Add SOAR-0007 proposal: Shorthand APIs for inputs and outputs by @simonjbeaumont in #291
- Add docker-compose file for 5.10 CI by @simonjbeaumont in #317
- Add an SSWG badge to the README by @czechboy0 in #323
- Update all examples and integration tests to 0.3.0 by @czechboy0 in #325
Full Changelog: 0.2.3...0.3.0
Swift OpenAPI Generator 0.2.3
New feature flags
urlEncodedForm
enables support for generating Codable types forapplication/x-www-form-urlencoded
request bodies
What's Changed
SemVer Patch
- Add url form encoder & decoder by @bfrearson in #283
- Bump OpenAPIKit to RC.2 by @czechboy0 in #293
- YAML diagnostics collector should have stable output by @czechboy0 in #295
Other Changes
- Fixes #78 - Explicitly name reusable header types as 'response header' types by @PARAIPAN9 in #284
- Move warning about strict concurrency into PlatformChecks.swift by @simonjbeaumont in #289
New Contributors
- @bfrearson made their first contribution in #283
Full Changelog: 0.2.2...0.2.3
Swift OpenAPI Generator 0.2.2
What's Changed
SemVer Patch
- Add support for nullable schemas by @czechboy0 in #248
- Bump OpenAPIKit to beta.5 by @czechboy0 in #266
- Escape negative numbers in integer-backed enums by @PARAIPAN9 in #274
- [Generator] Fix nested coding by @czechboy0 in #271
Other Changes
- Fixes #114 - Add scoped imports by @PARAIPAN9 in #184
- Audit for the word "content" incorrectly used to refer to body in public API by @czechboy0 in #256
- Use per-type imports everywhere by @czechboy0 in #264
- Add compatibility suite with selected OpenAPI documents by @simonjbeaumont in #267
- Delete temporary build directories in compatibility test by @simonjbeaumont in #277
- Run integration test in $TMPDIR or /tmp by @simonjbeaumont in #279
- Compile with -warnings-as-errors in CI (incl. StrictSendability) by @simonjbeaumont in #281
- Generate all requested modes in parallel by @simonjbeaumont in #280
New Contributors
- @PARAIPAN9 made their first contribution in #184
Full Changelog: 0.2.1...0.2.2
Swift OpenAPI Generator 0.2.1
What's Changed
SemVer Patch
- Support integer-backed enums by @czechboy0 in #242
Other Changes
- Update GreetingService for 0.2.0 and update docs by @czechboy0 in #240
- Update Supported-OpenAPI-features.md by @czechboy0 in #243
Full Changelog: 0.2.0...0.2.1
Swift OpenAPI Generator 0.2.0
See the full announcement on the Swift forums.
What's Changed
SemVer Minor
- Prepare 0.2.0 release (API breaking changes) by @czechboy0 in #218
- Stop generating empty input/output structs (query, headers, ...) by @czechboy0 in #235
- Include parameters in the content type name by @czechboy0 in #236
SemVer Patch
- Bump OpenAPIKit - fixes a server variable parsing issue by @czechboy0 in #233
Other Changes
- Fix typos by @Sajjon in #237
- Docs fixes by @czechboy0 in #238
New Contributors
Full Changelog: 0.1.13...0.2.0
Swift OpenAPI Generator 0.1.13
What's Changed
SemVer Patch
- [Generator] Integrate the new URI and String coders by @czechboy0 in #226
Full Changelog: 0.1.12...0.1.13
Swift OpenAPI Generator 0.1.12
What's Changed
SemVer Patch
- Support OpenAPI 3.1 in addition to 3.0 by @czechboy0 in #219
- Allow refs to oneOf/anyOf inside a oneOf with a discriminator by @czechboy0 in #224
- Allow non-unique values in oneOf.discriminator.mapping by @czechboy0 in #225
Full Changelog: 0.1.11...0.1.12