Releases: apple/swift-openapi-generator
Releases · apple/swift-openapi-generator
Swift OpenAPI Generator 1.0.0-alpha.1
What's Changed
SemVer Major ⚠️ API-breaking changes
- [Generator] Multipart support by @czechboy0 in #366
- [Bug] Fix multipart schema inference for allOf/anyOf/oneOf of primitive types and non-binary arrays by @czechboy0 in #391
- Move to Swift 5.9 as the minimum version by @czechboy0 in #394
- Use the package access modifier for generated code by @czechboy0 in #393
SemVer Minor
- Add visionOS to Package.swift to emit useful compilation errors by @simonjbeaumont in #398
- Bump to 1.0.0-alpha.1 by @czechboy0 in #400
SemVer Patch
- Remove the base64 feature flag by @czechboy0 in #401
Other Changes
- SOAR-0009 - Typesafe multipart with streaming by @czechboy0 in #369
- Undeprecate tests that used to test deprecated code by @czechboy0 in #395
Full Changelog: 0.3.5...1.0.0-alpha.1
Swift OpenAPI Generator 0.3.5
What's Changed
SemVer Patch
- Fix a bug in path parameter ordering by @czechboy0 in #380
- Skip inferred properties by @czechboy0 in #381
- Add deprecated annotations on shorthand functions for deprecated operations by @simonjbeaumont in #384
- Fix compilation of tests on older macOS by @simonjbeaumont in #385
Other Changes
- Add README badges by @czechboy0 in #370
Full Changelog: 0.3.4...0.3.5
Swift OpenAPI Generator 0.3.4
What's Changed
SemVer Patch
- Fix inline response headers by @czechboy0 in #355
- Bump OpenAPIKit to 3.0.0-rc.3 and recognize more base64/binary encoding locations by @czechboy0 in #357
- Use granular RetroactiveAttribute feature guard by @rnro in #359
- Bump to OpenAPIKit 3.0.0 by @czechboy0 in #362
- Fix spelling of retroactive guard by @rnro in #363
- Bump OpenAPIKit to 3.0.1 by @czechboy0 in #365
Other Changes
- Add some new swift-format 5.9 rules by @czechboy0 in #356
Full Changelog: 0.3.3...0.3.4
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