Upcoming change: builds will no longer install Swift 5.2 by default

Starting on November 12, 2020 we will no longer install a default Swift version for all builds.

Previously, all build environments included Swift 5.2. With this change, users will need to specify that a build requires Swift in one of three ways:

  1. Set the SWIFT_VERSION environment variable to the desired version.
  2. Include a .swift-version file in the build directory.
  3. Include a Package.swift file in the build directory. If no .swift-version file or SWIFT_VERSION environment variable is present, we’ll default to installing version 5.2.

If it’s not already present in the build cache, the required Swift version will be installed during the next build and cached for future builds.

We’re making this change because installing Swift by default made our default build image much bigger and it was used by relatively few customers. Installing fewer dependencies in our build containers means builds start up faster for most customers.

If you have questions or concerns, please let us know in the comments and we’ll be happy to address them.

Note: This release was moved from November 11th to November 12th to avoid releasing on a U.S. holiday.

2 Likes

This change has been deployed!

1 Like