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 theSWIFT_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.
- You can now instruct
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
SWIFTENV_VERIFY
. - โ 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.
- ๐ New