Skip to content

Conversation

@kateinoigakukun
Copy link
Contributor

@kateinoigakukun kateinoigakukun commented Aug 28, 2025

The public type JSONSchema depends on OrderedDictionary from the swift-collections package, and the Sendable conformance of JSONSchema requires that OrderedDictionary also be Sendable.
The OrderedDictionary only gained Sendable conformance in version 1.1.01, so we need to require at least that version.

Footnotes

  1. https://github.com/apple/swift-collections/commit/17b6c8f5c79b28595cbd6efb9719582ea4ab240e

The public type `JSONSchema` depends on `OrderedDictionary` from the
swift-collections package, and the `Sendable` conformance of
`JSONSchema` requires that `OrderedDictionary` also be `Sendable`.
The `OrderedDictionary` only gained `Sendable` conformance in version
1.1.0[^1], so we need to require at least that version.

[^1: apple/swift-collections@17b6c8f
Copy link
Owner

@mattt mattt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for this, Saito-san!

@mattt mattt merged commit 4c6f246 into mattt:main Aug 28, 2025
1 check passed
@mattt
Copy link
Owner

mattt commented Aug 28, 2025

This change is now live in 1.3.1

@kateinoigakukun
Copy link
Contributor Author

Thank you for the quick release!

@kateinoigakukun kateinoigakukun deleted the yt/bump-min-swift-collections branch October 9, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants