Skip to content

swift-reasync 2.0.0

Latest

Choose a tag to compare

@broken-circle broken-circle released this 10 Jul 01:30
861a64f

What's New

@Reasync now handles Swift 6 strict concurrency according to the following rules:

Annotation Rule Removal Scope
async, await Remove Everywhere
@isolated(any) Remove Closure parameter types (at any nesting depth)
nonisolated(nonsending) Remove Everywhere
@concurrent Remove Everywhere
@Sendable Remove Closure parameter types (at any nesting depth)
sending Preserve
Global actors Preserve
isolated parameters Preserve
Bare nonisolated Preserve

Trivia preservation has also been expanded and refined.

Breaking Changes

@ReasyncMembers is no longer supported.