Send Some Love
Pre-release
Pre-release
This release is mostly about rounding off concurrency support to the extent where strict concurrency checking can be enabled in CI and downstream projects can use OpenAPIKit in async contexts.
Breaking Changes
In order to conform to the Sendable protocol, some breaking changes were made to the AnyCodable type. This is the type used extensively for "examples" and "vendor extensions" in OpenAPIKit.
- The constructor for
AnyCodablenow requires knowledge at compile time that the value it is initialized with isSendable. - Array and Dictionary literal protocol conformances had to be dropped. Anywhere you were relying on implicit conversion from e.g.
["hello": 1]to anAnyCodable, wrap the literal with an explicit call to init:.init(["hello": 1]).