Skip to content

Releases: kylef/swiftenv

1.4.0

18 Jul 17:49
Compare
Choose a tag to compare

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.

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

26 Jul 13:54
Compare
Choose a tag to compare

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

11 Oct 22:47
Compare
Choose a tag to compare

Enhancements

  • Adds usage and summaries when using swiftenv --help with a subcommand.

  • Adds a manpage for swiftenv and swiftenv-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

11 Oct 22:47
Compare
Choose a tag to compare

Enhancements

  • Only create shims for swift* and lldb* 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 using swiftenv install.

1.1.0

17 Jul 13:14
Compare
Choose a tag to compare

Enhancements

  • Add a --skip-existing/-s flag to swiftenv install to skip installation
    if version is already installed.
  • Adds support for Swift toolchains installed into
    ~/Library/Developer/Toolchains/ on OS X.

1.0.2

31 May 22:34
Compare
Choose a tag to compare

Bug Fixes

  • Adds support for installing preview snapshots such as 3.0-preview-1-SNAPSHOT-2016-05-31-a.
  • swiftenv init will now cause a rehash if the version of swiftenv has changed.

1.0.1

24 May 04:24
Compare
Choose a tag to compare

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

21 Mar 23:15
Compare
Choose a tag to compare

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 to swiftenv versions to show where the version was
    installed.

0.5.0

03 Feb 10:17
Compare
Choose a tag to compare

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 Swift 2.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.

0.4.0

24 Dec 00:31
Compare
Choose a tag to compare
Enhancements
  • Adds support for command and argument completions.