Swift 6.1 Released
This release includes new language enhancements to improve productivity, diagnostics improvements, package traits, and ongoing work to improve data-race safety usability and compile times.
→ swift.org/blog/swift-6.1-released/
Swift 6.1 introduces enhancements to improve productivity and data-race safety, extending the nonisolated keyword to types and extensions for better concurrency control and improving task group type inference.
It adds the @objc @implementation attribute for porting Objective-C implementations to Swift, supports trailing commas in various syntactic contexts, and introduces package traits for conditional compilation in SwiftPM.
Swift Testing now supports custom traits for setup/teardown logic, and Swift-DocC offers a more readable symbol link disambiguation method using parameter and return types. The release also enables background indexing for SwiftPM projects in SourceKit-LSP, enhancing editing features, and is available via Xcode 16.3 or the swiftly version manager for macOS and Linux.
Category:
Tag:
Year: