Swift 5.8 Released!
Swift 5.8 is now officially released! 🎉 This release includes major additions to the language and standard library, including hasFeature to support piecemeal adoption of upcoming features, an improved developer experience, improvements to tools in the Swift ecosystem including Swift-DocC, Swift Package Manager, and SwiftSyntax, refined Windows support, and more.
→ swift.org/blog/swift-5.8-released/
Swift 5.8 introduces features to prepare for Swift 6, including the hasFeature directive and conditional attributes for incremental adoption, alongside enhancements like concise magic file names and regex literals.
The result builder implementation improves compile-time performance and diagnostics, leveraging Swift 5.7’s closure inference, while Swift-DocC gains dynamic layout options and extension documentation support.
Swift Package Manager adds target-level feature flags, token authentication for registries, and binary executable support, with explicit Foundation imports for newer manifests.
SwiftSyntax’s new Swift-based parser enhances error recovery, and Windows support improves with reduced environment dependencies, static ICU linking, and better C++ interoperability and path handling.
Category:
Tag:
Year: