Skip to content

Tell me the whole story

Pre-release
Pre-release

Choose a tag to compare

@mattpolzin mattpolzin released this 08 Sep 18:43
· 21 commits to release/7_0 since this release

What's Changed

  • More informed external dereference component key function by @mattpolzin in #513

Breaking changes

External Loading
The componentKey() function required to conform to the ExternalLoader protocol has changed from taking the type of thing being loaded as its first argument to instead taking the object that has been loaded. This gives the componentKey() function more information if it is needed. It's likely a very small change to any current implementations of external loading.

Before:

static func componentKey<T>(type: T.Type, at url: URL) throws -> OpenAPIKit.OpenAPI.ComponentKey

After:

static func componentKey<T>(for object: T, at url: URL) throws -> OpenAPIKit.OpenAPI.ComponentKey

Full Changelog: 7.0.0-beta.1...7.0.0-beta.2