Releases: kylef/swiftenv
1.4.0
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.
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.
1.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.
1.2.1
Enhancements
-
Adds usage and summaries when using
swiftenv --help
with a subcommand. -
Adds a manpage for
swiftenv
andswiftenv-install
.$ man swiftenv $ man swiftenv-install
Bug Fixes
- Fixes detecting Swift release toolchains on macOS.
- Fixes an issue where
swiftenv install
wouldn't emit an error if it couldn't find instructions to install the given version.
1.2.0
Enhancements
- Only create shims for
swift*
andlldb*
binaries found within Xcode installs. Before we created shims for all executable tools found in Xcode and created shims for tools like ctags, cc, clang, etc. - Adds support for installing binary GM releases.
Bug Fixes
- Expose not found errors when using
swiftenv exec
against unknown commands. - Swift preview versions such as
3.0-preview-1
will be detected as binary versions when usingswiftenv install
.
1.1.0
1.0.2
1.0.1
Enhancements
- Added
swiftenv install --list-snapshots
which shows you a list of snapshots for your platform.
Bug Fixes
- Adds support for building Swift 2.2.1 from source, and installing 2.2.1 development snapshots.
swiftenv uninstall
will now uninstall Swift toolchains on OS X.swiftenv uninstall
will now inform you if you're trying to uninstall a version of Swift bundled with Xcode.
1.0.0
Enhancements
- Supports installing final Swift releases such as
2.2
.
Bug Fixes
- Swift toolchains 'latest' version is no longer shown in
swiftenv versions
on OS X. - Fixes a problem where
swiftenv install
on Linux will incorrectly
determine URL for the Swift binaries. - Adds a
--verbose
mode toswiftenv versions
to show where the version was
installed.
0.5.0
Enhancements
-
The
swift-
prefix for versions is now optional. -
swiftenv install
now has a--list
option:$ swiftenv install --list
-
swiftenv install
is capable of building Swift2.2-dev
from source. -
swiftenv install
now takes URLs to a Swift binary package. -
swiftenv install
was updated to use the new binary swift.org release URLs.
Bug Fixes
- Fixes an issue where using shims would suppress error messages when the
configured version was not installed. - Allows the completion to work when using swiftenv installed from Homebrew.