swiftenv v1.4.0 Release Notes
Release Date: 2018-07-18 // almost 8 years ago-
โจ Enhancements
- You can now instruct
swiftenv installto both locally and globally set the installed swift version.--set-localand--set-globalrespectively will set the current Swift version.
The default behaviour will set the global version by default when
swiftenv installwas provided an explicit version. When installing with theSWIFT_VERSIONenvironment value or the.swift-versionfile 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 installnow accepts--usercommand which allows you to install Swift into your home directory instead of requiring root.
๐ Bug Fixes
๐ On macOS,
swiftenv uninstallwould fail to uninstall some installed binary toolchains due to-RELEASEbeing 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.
- You can now instruct
Previous changes from v1.3.0
-
โจ Enhancements
- ๐ New
--verifyoption 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
SWIFTENV_VERIFY. - โ Added local cache for Swift binaries for 3.0.2, 3.1, 3.1.1.
swiftenv installwill now resume any failed downloads instead of restarting
the download process when restarting an install.- ๐
swiftenv install --verbosewill 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.
- ๐ New