Use this tag only for questions directly related to changes in version 5.7 of Apple's Swift programming language. Use the tag [swift] for more general language questions, or the tags [ios], [cocoa], [apple-watch] etc. for questions about developing on Apple platforms.
Swift 5.7 is a version of the Swift language developed by Apple and was released 12th September 2022 with Xcode 14.0.
The following language, standard library, and Swift Package Manager proposals were implemented in Swift 5.7.
Concurrency
- SE-0302: Sendable and @Sendable closures
- SE-0329: Clock, Instant, and Duration
- SE-0336: Distributed Actor Isolation
- SE-0338: Clarify the Execution of Non-Actor-Isolated Async Functions
- SE-0340: Unavailable From Async Attribute
- SE-0343: Concurrency in Top-level Code
- SE-0344: Distributed Actor Runtime
Type System Enhancements
- SE-0309: [Unlock existentials for all protocols]
- SE-0326: [Enable multi-statement closure parameter/result type inference]
- SE-0328: Structural opaque result types
- SE-0341: Opaque Parameter Declarations
- SE-0345: if let shorthand for shadowing an existing optional variable
- SE-0346: Lightweight same-type requirements for primary associated types
- SE-0347: Type inference from default expressions
- SE-0348: buildPartialBlock for result builders
- SE-0352: Implicitly Opened Existentials
- SE-0353: Constrained Existential Types
- SE-0358: Primary Associated Types in the Standard Library
- SE-0360: Opaque result types with limited availability
- SE-0361: Extensions on bound generic types
String Processing
- SE-0350: Regex Type and Overview
- SE-0351: Regex builder DSL
- SE-0354: Regex Literals
- SE-0355: Regex Syntax and Run-time Construction
- SE-0357: Regex-powered string processing algorithms
- SE-0363: Unicode for String Processing
Pointer Usability
- SE-0333: Expand usability of withMemoryRebound
- SE-0334: Pointer API Usability Improvements
- SE-0349: Unaligned Loads and Stores from Raw Memory
Swift Package Manager
- SE-0292: Package Registry Service
- SE-0339: Module Aliasing For Disambiguation