The Swift Package Index Blog

Supporting Swift 5.9 Betas

Posted Monday, June 12, 2023.

Back in April, we were proud to announce that we supported Swift 5.8 within one week of the official release, adding it to our compatibility matrix so you could know whether the package you were considering would work with the latest version of Swift.

How could we improve on adding support for a new Swift version after just one week of it being available? We could add support for Swift 5.9 one week after the release of the first beta version!

So, that’s the announcement! The Swift Package Index now supports Swift 5.9 packages and will soon show macro products contained within them.

A build compatibility matrix showing compatibility with Swift 5.9.

We also support building documentation with Swift 5.9, but as it’s still in beta, we have made that opt-in for now. If you’d like to build your package documentation with 5.9, you can let us know via a .spi.yml manifest file in your package’s repository.

Note: For the next few days, you may see question mark icons against the Swift 5.9 beta column in the matrix. Please bear with us while our systems process the build backlog.

The Swift Package Index is a search engine for Swift packages with one goal. To help you make better decisions about dependencies. For more information, the best place to start is with the Frequently Asked Questions.