Swift 4.1 Released!

Swift 4.1 is now officially released! It contains updates to the core language, including more support for generics, new build options, as well as minor enhancements to Swift Package Manager and Foundation. There was also significant progress made in stabilizing the ABI.

swift.org/blog/swift-4.1-released/

Apple released Swift 4.1 as a minor update that maintains source compatibility with Swift 4.0. It adds generics features such as conditional conformance and synthesised Equatable and Hashable support. Along with build options like code size optimisation and new platform conditions for imports and target environments.

Foundation now offers better strategies for JSON encoding and decoding keys, while the Swift Package Manager improves dependency resolution in mixed-scheme graphs. The release advances ABI stability for Swift 5 with various under-the-hood changes, and Xcode 9.3 includes a migrator to ease updates from earlier versions.


Category:

Tag:

Year: