Swift 6.1 Release Process

Swift 6.1 Release Process

This post describes the release process, and estimated schedule for Swift 6.1.

Snapshots of Swift 6.1

Downloadable snapshots of the Swift 6.1 release branch will be posted regularly as part of continuous integration testing. As support is available, snapshot downloads will be added for newly supported platforms.

Once Swift 6.1 is released, the official final builds will also be posted in addition to the snapshots.

Getting Changes into Swift 6.1

On November 13th, 2024 the release/6.1 branch will be cut from main in the swift repository and related project repositories. This will contain the changes that will be released in Swift 6.1. After the branch is cut, changes can be landed on the branch via pull request if they meet the criteria for the release.

Philosophy on Taking Changes into Swift 6.1

  • All language and API changes for Swift 6.1 will go through the Swift Evolution process. Evolution proposals should aim to be completed by the branch date in order to increase their chances of impacting the Swift 6.1 release. Exceptions will be considered on a case-by-case basis, particularly if they tie in with the core goal of the release.
  • Other changes (e.g., bug fixes, diagnostic improvements, SourceKit interface improvements) will be accepted based on their risk and impact.
  • Low-risk test tweaks will also be accepted late into the release branch if it aids in the qualification of the release.
  • As the release converges, the criteria for accepted changes will become increasingly restrictive.

Impacted Repositories

The following repositories will have a release/6.1 branch to track
sources as part of Swift 6.1 release:

The llvm-project and swift-experimental-string-processing will have a corresponding swift/release/6.1 branch.

*The swift-package-manager repository will be branched on November 13th, 2024. However, it will automatically merge changes from main into release/6.1 until December 20th, 2024.

Release Managers

The overall management of the release will be overseen by the following individuals, who will announce when stricter control of change goes into effect for the Swift 6.1 release as the release converges.

Platform Release Managers

Please feel free to post on the development forum or contact Ted Kremenek directly concerning any questions about the release management process.

Pull Requests for Release Branch

In order for a pull request to be considered for inclusion in the release branch (release/6.1 ) after it has been cut, the pull request must have:

  • A title starting with a designation containing the release version number of the target branch.
  • This form filled out in its description. An item that is not applicable may be left blank or completed with an indication thereof, but must not be omitted altogether.

To switch to this template when drafting a pull request in a swiftlang repository in a browser, append the template=release.md query parameter to the current URL and refresh. For example:

-https://github.com/swiftlang/swift/compare/main...my-branch?quick_pull=1
+https://github.com/swiftlang/swift/compare/main...my-branch?quick_pull=1&template=release.md

All changes going on the release/6.1 branch must go through pull requests that are accepted by the corresponding release manager.

12 Likes