Skip to content

Concurrent Externality

Choose a tag to compare

@mattpolzin mattpolzin released this 09 Sep 14:15
· 14 commits to main since this release
1b6ab9d

Firstly and most importantly, read over the 3.x -> 4.0.0 migration guide when upgrading to this major version of OpenAPIKit.

High Level Overview

Version 4 of OpenAPIKit continues to support the OpenAPI Specification at both versions 3.0.x and 3.1.x via separate modules. You can find OAS 3.0.x support in the OpenAPIKit30 module and OAS 3.1.x support in the OpenAPIKit module.

OpenAPIKit has dropped support for some older versions of Swift. Swift 5.8+ is now required.

OpenAPIKit v4.0.0 adds support for dereferencing external references; now OpenAPI documents that are spread across multiple files with OpenAPI references between them can be loaded. This new support does require a bit of extra work on the part of the code using OpenAPIKit -- more on that in the README.

This release also adds Sendable conformances throughout so that OpenAPIKit types can be used in modern Swift concurrency code. The aforementioned external dereferencing is done in an async compatible way as well because loading in a large OpenAPI document defined by many files can potentially benefit greatly from concurrency.

Full Changelog Since Latest Release Candidate: 4.0.0-rc.5...4.0.0
Full Changelog Since Last Major Release: 3.7.0...4.0.0