Releases: kylef/swiftenv
1.4.0
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.
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.
1.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.
1.2.1
Enhancements
-
Adds usage and summaries when using
swiftenv --helpwith a subcommand. -
Adds a manpage for
swiftenvandswiftenv-install.$ man swiftenv $ man swiftenv-install
Bug Fixes
- Fixes detecting Swift release toolchains on macOS.
- Fixes an issue where
swiftenv installwouldn'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 execagainst unknown commands. - Swift preview versions such as
3.0-preview-1will be detected as binary versions when usingswiftenv install.
1.1.0
1.0.2
1.0.1
Enhancements
- Added
swiftenv install --list-snapshotswhich 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 uninstallwill now uninstall Swift toolchains on OS X.swiftenv uninstallwill 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 installon Linux will incorrectly
determine URL for the Swift binaries. - Adds a
--verbosemode toswiftenv versionsto show where the version was
installed.
0.5.0
Enhancements
-
The
swift-prefix for versions is now optional. -
swiftenv installnow has a--listoption:$ swiftenv install --list
-
swiftenv installis capable of building Swift2.2-devfrom source. -
swiftenv installnow takes URLs to a Swift binary package. -
swiftenv installwas 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.