swiftenv v1.4.0 Release Notes

Release Date: 2018-07-18 // almost 6 years ago
  • ✨ Enhancements

    • You can now instruct swiftenv install to both locally and globally set the installed swift version. --set-local and --set-global respectively will set the current Swift version.

    The default behaviour will set the global version by default when swiftenv install was provided an explicit version. When installing with the SWIFT_VERSION environment value or the .swift-version file present, then the default behaviour is to not set the global or local version.

    • When installing Swift from binary, swiftenv will now detect Ubuntu-based Linux distributions such as Elementary OS and use the appropriate binary image from swift.org.

    • 🍎 On macOS, swiftenv install now accepts --user command which allows you to install Swift into your home directory instead of requiring root.

    🐛 Bug Fixes

    • 🍎 On macOS, swiftenv uninstall would fail to uninstall some installed binary toolchains due to -RELEASE being after the version in some paths that was unexpected.

    • When using swiftenv uninstall, the command would fail if there was no global set version of swift. The command can now handle missing global version.

Previous changes from v1.3.0

  • ✨ Enhancements

    • 🆕 New --verify option to swiftenv install to verify binary snapshots using
      🔧 GPG. This option expects that GPG is setup and configured to accept the Swift
      master keys. Verify can be forced with the environment variable
    • ➕ Added local cache for Swift binaries for 3.0.2, 3.1, 3.1.1.
    • swiftenv install will now resume any failed downloads instead of restarting
      the download process when restarting an install.
    • 🏗 swiftenv install --verbose will now include verbose build output while
      compiling swift.
    • ➕ Adds build instructions for Swift 3.0, 3.0.1, 3.0.2, 3.1, 3.1.1, 3.0-dev,
      3.1-dev and 4.0-dev.
    • 🏗 When building Swift from source, swiftenv will download tarballs instead of
      git cloning the repository resulting in faster download speed.
    • ➕ Adds support for Fish 2.6.