You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Breaking Changes
The Pattern protocol has been overhauled so that patterns can return custom match types capable of carrying additional information. The standard patterns now return details of their composition and not just the overall match.
As a consequence of the type system, differing SearchableCollection types can no longer be used as patterns in each other directly, and must now be wrapped in a LiteralPattern first. For the most part, this simply means adjusting call sites from x.matches(for: y) to x.matches(for: y.literal()).
Many types now conform to Sendable, in a few cases this restricts closures accepted by initializers to those that are @Sendable.
Collation tailoring now uses a result builder, allowing the compiler to catch some developer errors at compile time instead of at runtime. The changes are mostly source‐compatible, but a few call signatures have been altered slightly.
New Features
ExternalProcess can filter out standard error.
testFileConvertible can undo line ending changes caused by source control.
Bug Fixes
Requires Swift 5.6 (but older toolchains will not resolve to this version).
The DUCET used by the root collation has been updated.