What's new in Swift 6.0.3?

I could not find anything like release notes or version history on the swift.org site.

1 Like

Being as it's a patch release, I would guess it's just plugging some compiler bugs and possibly performance issues; I doubt there is anything anyone could reasonably call a 'feature'.

The Xcode 16.2 release notes lists the following:

Resolved Issues

  • Fixed: Apps using Swift/C++ interoperability may not be back deployable to operating systems earlier than iOS 16, watchOS 9, and tvOS 16. (140823785)

Known Issues

  • Memory leaks can occur when calling async functions bridged from Objective-C and building in the Swift 6 language mode. (134442168)Workaround: Pass -checked-async-objc-bridging=off to the Swift compiler using ā€œOther Swift Flagsā€ in Xcode build settings.
  • Xcode targets using Swift/C++ interoperability and having a deployment target of less than iOS 16 or tvOS 16 may not build for iOS or tvOS simulators. (141232269)

Swift Package Manager

Resolved Issues

  • Fixed an issue where lldb couldnā€™t attach to the Swift Testing host binary. (136630386)
2 Likes

I suggest they provide us with some information about changes in the compiler on the swift website or something :thinking:

3 Likes

That would be niceā€¦itā€™s good to know what was fixed before upgrading, and also if it could provide benefit to upgradingā€¦

1 Like

It's a fairly substantial patch release, as the previous patch releases branched from release/6.0 much earlier, and this 6.0.3 release was the first to come back to the recent 6.0 branch again. Compare the much fewer commits that made it into 6.0.2.

You can do the same on github easily for SwiftPM or any other Swift repo you're interested in.