1.2.02026-09-22
Swiftly 1.2.0 focuses on platform support and installation reliability: new Linux distros, several fixes for macOS SDK/Xcode resolution, a self-uninstall command, and a big internal migration to Swift's Subprocess library for process management.
Highlights
- Self-uninstall support. swiftly can now remove itself, in addition to individual toolchains (#344).
- uninstall accepts multiple selectors in one invocation, e.g. swiftly uninstall 5.9 5.10 (#413).
- New platform support: Ubuntu 26.04, Debian 13 (#575) and Fedora 41, with Fedora/UBI9 switched from yum to dnf (#530, #529).
- x.y.z-snapshot toolchain versions are now recognized, fixing installs of versions like 6.4-snapshot (#549, #561).
- swiftly list --format json now includes each toolchain's install location (#502).
- Process management was migrated to Swift's Subprocess library, replacing ad hoc Foundation.Process usage (#410, later bumped to 1.0.0 in #558).
Fixes & Improvements
- Fixed a runtime crash and cleaned up messaging in self-update (#415, #417, #440).
- swiftly run -h now shows help instead of erroring (#452), and --version no longer errors with quick (#458).
- --use reliably selects the requested toolchain (#456), and error messages when a .swift-version toolchain is missing are clearer (#540).
- Xcode selector resolution, macOS SDK existence checks, and the simulated CLT/SDK layout were all fixed for more reliable macOS installs (#455, #480, #541).
- The macOS SDK is no longer installed into the user account (#486), and the TOOLCHAINS environment variable is now set correctly when proxying on macOS (#491).
- Fixed swiftly deleting itself when installed via Homebrew on Linux (#503) and GPG key import during install (#453).
- SWIFTLYBINDIR is now prepended to PATH (#492); symlinks are followed correctly when resolving target files (#460); zip was added as a required Linux dependency (#451).
- Unlinked-toolchain warnings now go to stderr instead of stdout (#459), and the update-available message uses a plain ASCII arrow (#448).
- swiftly init no longer wraps its post-install script incorrectly (#500) and is more resilient on new platforms (#588); env.sh command expansion was fixed (#591); the verbose flag now propagates to the macOS installer (#583).
- Release naming keeps an explicit patch version starting with Swift 6.4 (#595), and the pkg installer's temp file now uses the correct platform file extension (#552).
Documentation
- Added a troubleshooting guide (#479).
- Fixed Zsh auto-completion setup instructions (#411), re-ordered uninstall instructions (#389), fixed broken doc links (#519), and fixed two typos (#474).
New Contributors
* @tomassliz made their first contribution in #411
* @incertum made their first contribution in #433
* @xwu made their first contribution in #448
* @gibachan made their first contribution in #452
* @bkhouri made their first contribution in #456
* @timsneath made their first contribution in #474
* @ahoppen made their first contribution in #487
* @marcprux made their first contribution in #503
* @ktoso made their first contribution in #561
Full Changelog: https://github.com/swiftlang/swiftly/compare/1.1.4...1.2.0
<details>
<summary>Full PR list (raw)</summary>
* Fix runtime error in self-update by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/415
* Remove redundant check for updates message in self-update by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/417
* use HTTPRequestExecutorImpl client for libarchive by @justice-adams-apple in https://github.com/swiftlang/swiftly/pull/420
* Add a simple test for any self-update subcommand parse errors by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/418
* Testing: withMockedHome: Forward errors from function under test by @etcwilde in https://github.com/swiftlang/swiftly/pull/424
* Support multiple toolchain selectors with uninstall by @plemarquand in https://github.com/swiftlang/swiftly/pull/413
* [Documentation] re-order uninstall instructions by @justice-adams-apple in https://github.com/swiftlang/swiftly/pull/389
* Bump swift version to 6.2.0 to support new macOS SDK in CI by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/426
* Fix Zsh auto-completions setup instructions by @tomassliz in https://github.com/swiftlang/swiftly/pull/411
* Clean up unused code and replace Path with URL to resolve warnings by @belkhadir in https://github.com/swiftlang/swiftly/pull/407
* Add ability to self uninstall swiftly by @louisunlimited in https://github.com/swiftlang/swiftly/pull/344
* chore: restrict GitHub workflow permissions - future-proof by @incertum in https://github.com/swiftlang/swiftly/pull/433
* Work around read bytes main by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/442
* Bump package dependencies and libarchive by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/428
* Update message: prefer ASCII arrow by @xwu in https://github.com/swiftlang/swiftly/pull/448
* Fix self update macOS by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/440
* Fix build warnings by @SimplyDanny in https://github.com/swiftlang/swiftly/pull/445
* Add zip as a dependency on Linux distributions by @plemarquand in https://github.com/swiftlang/swiftly/pull/451
* Fix swiftly run -h to show help message by @gibachan in https://github.com/swiftlang/swiftly/pull/452
* Use Subprocess for process management by @cmcgee1024 in https://github.com/swiftlang/swiftly/
1.1.42026-09-15
What's Changed
* Bump version to 1.1.4 by @shahmishal in https://github.com/swiftlang/swiftly/pull/593
* Keep explicit patch version in release naming starting with Swift 6.4 by @shahmishal in https://github.com/swiftlang/swiftly/pull/592
Full Changelog: https://github.com/swiftlang/swiftly/compare/1.1.3...1.1.4
1.1.32026-06-18
What's Changed
* [1.1] [cherry-pick] Update tmpfile for swiftly pkg to use platform file extension by @justice-adams-apple in https://github.com/swiftlang/swiftly/pull/553
Full Changelog: https://github.com/swiftlang/swiftly/compare/1.1.2...1.1.3
1.1.22026-06-05
What's Changed
* Docs: fix broken links (#519) by @shahmishal in https://github.com/swiftlang/swiftly/pull/535
* [1.1] Add support for Swift 6.4.x snapshot by @shahmishal in https://github.com/swiftlang/swiftly/pull/550
Full Changelog: https://github.com/swiftlang/swiftly/compare/1.1.1...1.1.2
1.1.12025-12-15
What's Changed
* Fix the self update for macOS so that the installer is executed by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/441
* Update the version to 1.1.1 by @shahmishal in https://github.com/swiftlang/swiftly/pull/444
* Work around unable to read all of the bytes error by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/435
* Add release branches to the pull request checks by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/467
* Fix two minor typos (#474) by @heckj in https://github.com/swiftlang/swiftly/pull/475
* Add a troubleshooting guide by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/478
* [Cherry-pick] Ensure the macOS SDK exists at install time by @justice-adams-apple in https://github.com/swiftlang/swiftly/pull/481
Known Issue:
Self update swiftly from version 1.1.0 fails with macOS
Full Changelog: https://github.com/swiftlang/swiftly/compare/1.1.0...1.1.1
1.1.02025-10-17
What's Changed
* Make "swift-" prefix optional in MainSnapshotParser by @kateinoigakukun in https://github.com/swiftlang/swiftly/pull/240
* Add a global variable cpuArch by @danny1113 in https://github.com/swiftlang/swiftly/pull/216
* Print file URLs without leading file schema by @rauhul in https://github.com/swiftlang/swiftly/pull/244
* Update Swift NIO dependency by @rauhul in https://github.com/swiftlang/swiftly/pull/243
* Merge updates from release/1.0 to the main branch by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/248
* Installation workflow improvements by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/249
* Remove rehashing instructions when using the fish shell (#250) by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/252
* feature: Omit internal access control, if let shorthand, fix typos by @KeoFoxy in https://github.com/swiftlang/swiftly/pull/256
* Change the default install path for macOS pkgs (#259) by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/263
* updates the abstracts for each of the HowTo guides, and renames the topic heading from 'HOWTOS' to 'Guides' by @heckj in https://github.com/swiftlang/swiftly/pull/258
* Update swiftly README for the 1.0.0 release by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/236
* Use the swiftly 1.0.0 release for the GH workflows by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/276
* Fix typo in DESIGN.md by @MaxDesiatov in https://github.com/swiftlang/swiftly/pull/285
* Polish welcome message by @SimplyDanny in https://github.com/swiftlang/swiftly/pull/273
* broad swiftly-doc content edit pass by @heckj in https://github.com/swiftlang/swiftly/pull/268
* Update system pkg deps to main by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/290
* Update dependencies by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/293
* Convert swift.org API usages to use OpenAPI generated API by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/253
* Move E2E testing into GH action for Linux by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/296
* Migrate swiftly to swift testing by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/304
* Document the TMPDIR environment variable for better discovery by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/308
* Add pkg title as "swiftly" by @louisunlimited in https://github.com/swiftlang/swiftly/pull/280
* Convert file downloading to go through the OpenAPI abstraction by @jakepetroules in https://github.com/swiftlang/swiftly/pull/309
* Migrate swiftly to Swift 6 with concurrency checks by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/310
* Remove swiftly from the path during proxying by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/311
* Enable MemberImportVisibility by @plemarquand in https://github.com/swiftlang/swiftly/pull/320
* Add SDKROOT when proxying on macOS based on xcrun information by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/316
* Make the toolchains directory location configurable by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/324
* Fix list-available showing wrong toolchain in use by @louisunlimited in https://github.com/swiftlang/swiftly/pull/314
* Improve path management and filesystem operation ergonomics by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/318
* Convert argument parser option strings into FilePath for paths by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/329
* Improve word wrapping by @roulpriya in https://github.com/swiftlang/swiftly/pull/327
* Add a modeled command-line for better checking by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/330
* Model lipo invocations with a modeled command structure and a test by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/331
* Add version check and prompt for self update by @louisunlimited in https://github.com/swiftlang/swiftly/pull/313
* Add ability to temporarily unlink swiftly by @plemarquand in https://github.com/swiftlang/swiftly/pull/315
* Model additional system commands by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/332
* Smoke test swiftly on nightly snapshot toolchains by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/337
* Fixup relative readme link by @plemarquand in https://github.com/swiftlang/swiftly/pull/336
* Model remaining commands by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/339
* doc: update uninstall swiftly instructions by @louisunlimited in https://github.com/swiftlang/swiftly/pull/338
* Build swiftly release cleanup by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/335
* Place the correct program and arguments into RunProgramError by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/347
* Append file extension to downloaded toolchain by @plemarquand in https://github.com/swiftlang/swiftly/pull/355
* Cleanup Uninstall message by @plemarquand in https://github.com/swiftlang/swiftly/pull/356
* Add devcontainer by @plemarquand in https://github.com/swiftlang/swiftly/pull/357
* Bump OpenAPI depdendencies to support building on Windows. by @patricktcoakley in https://github.com/swiftlang/swiftly/pull/354
* Create CODEOWNERS by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/295
* Generate command models from argument parser info JSON files by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/345
* Do not move symlink swiftly into the bin directory by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/365
* Find symlink managed swiftly when creating proxies by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/367
* Adding FileLock by @roulpriya in https://github.com/swiftlang/swiftly/pull/361
* Add macOS job to pull request workflow by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/364
* Update the swiftly version used in the nightly smoke tests by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/371
* Update nightly smoke test for macOS to use the nightly toolchain by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/372
* Refactor text wrapping implementation with improved logic by @roulpriya in https://github.com/swiftlang/swiftly/pull/374
* Remove fedora 39 from the night smoke test checks by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/379
* Refactoring output print to message by @roulpriya in https://github.com/swiftlang/swiftly/pull/377
* Add JSON output for use command by @roulpriya in https://github.com/swiftlang/swiftly/pull/380
* Remove the swiftly bootstrap version by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/385
* Refactor list-available command to support json format by @roulpriya in https://github.com/swiftlang/swiftly/pull/387
* Refactor list command to support json format by @roulpriya in https://github.com/swiftlang/swiftly/pull/388
* Json Progress File by @roulpriya in https://github.com/swiftlang/swiftly/pull/391
* Add progress reporter protocol by @roulpriya in https://github.com/swiftlang/swiftly/pull/394
* json output install by @roulpriya in https://github.com/swiftlang/swiftly/pull/392
* Add an option to self-update to provide the swiftly version to update by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/370
* Replace hardcoded config fallback version with dynamic constant by @belkhadir in https://github.com/swiftlang/swiftly/pull/381
* Fix shared mutable state problem with install test by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/399
* Tests: Disable Git Commit Signing in Tests by @etcwilde in https://github.com/swiftlang/swiftly/pull/397
* Remove swiftly update message from swiftly run command by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/401
* Add a nightly 6.2 toolchain verification for swiftly by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/400
* Fix main-snapshot nightly check for macOS
1.0.12025-06-13
What's Changed
* Update swiftly README for the 1.0.0 release (#236) by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/267
* Change swiftly version to 1.0.1-dev on release/1.0 branch by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/287
* Use the swiftly 1.0.0 release for the GH workflows by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/286
* Adjust system package dependencies for Swift 6.1 by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/289
* Polish welcome msg for release 1.0 branch by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/288
* Remove swiftly from the path during proxying by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/321
* Add SDKROOT when proxying on macOS based on xcrun information by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/325
* Move release 1.0 to swift 6.1 by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/305
* Make the toolchains directory location configurable by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/326
* Fix list-available showing wrong toolchain in use (#314) by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/328
* Update swiftly version to 1.0.1 in preparation for a patch release by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/341
Full Changelog: https://github.com/swiftlang/swiftly/compare/1.0.0...1.0.1
1.0.02025-05-01
What's Changed
* Update swiftly version to 1.0.0 and add upgrade routine for 0.4.0 by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/237
* Update Swift NIO dependency by @rauhul in https://github.com/swiftlang/swiftly/pull/242
* Make updates better and more resilient by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/245
* Installation workflow improvements by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/238
* Remove rehashing instructions when using the fish shell by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/250
* Change the default install path for macOS pkgs by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/259
* Update the abstracts for the HowTo guides, Rename HOWTOS to Guides by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/264
Full Changelog: https://github.com/swiftlang/swiftly/compare/0.4.0...1.0.0
v0.4.0预发布2025-05-01
What's Changed
* style: remove an unnecessary empty line in update-fish-config.sh by @kkebo in https://github.com/swiftlang/swiftly/pull/106
* improve API usages around String/Data/ByteBuffer by @weissi in https://github.com/swiftlang/swiftly/pull/109
* fix(install): use source instead of . in fish by @kkebo in https://github.com/swiftlang/swiftly/pull/105
* Update README.md with contributing by @parispittman in https://github.com/swiftlang/swiftly/pull/113
Delete CODEOF_CONDUCT.md by @parispittman in https://github.com/swiftlang/swiftly/pull/114
* Update usage of unsafe API, upgrade libarchive to 3.7.4, upgrade async http client by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/120
* Fix NIOTooManyBytesError that sometimes occurs during XCTests by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/129
* macOS support for swiftly by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/121
* Mock out test interactions with swift.org and github.com by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/133
* Add DocC documentation for swiftly by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/131
* Merge installation logic into swiftly as an init subcommand by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/127
* Use swift.org API for getting releases and some snapshot toolchains by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/153
* Integrate SwiftFormat into the swiftly project dependencies by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/158
* Enhancements to the release build script by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/165
* Remove all usage of the GitHub API by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/172
* Add signature cert and package identifier parameters to package script by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/174
* Fix package install detection for packages that are partially installed by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/178
* Verify the libarchive payload by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/181
* Add a github workflow for Linux based on the swiftlang template by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/184
* Add new Linux platforms: Ubuntu 24.04, Debian 12, Fedora 39 by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/173
* Add post-merge CI and build release workflows by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/185
* Swiftly proxies by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/155
* Provide actionable instructions on a format failure in pull requests by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/190
* Download toolchains using proxy if one is set in the environment by @vsarunas in https://github.com/swiftlang/swiftly/pull/189
* Add documentation related build and checks to GitHub workflows by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/186
* Streamline the swiftly init process by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/177
* Fix a documentation bug involving sha sum by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/194
* Make release package file names more uname friendly on Linux by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/193
* Restore amazon linux 2 as the default release build platform by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/192
* Update README.md by @heckj in https://github.com/swiftlang/swiftly/pull/198
* Adopt the static linux sdk by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/196
* Create documentation for shell auto-completions by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/200
* Conform Swiftly's Error type to CustomStringConvertible by @plemarquand in https://github.com/swiftlang/swiftly/pull/203
* Adopt OpenAPI for fetching current swiftly releases by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/205
* Check prefix for the current user on Linux when finding the shell by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/206
* Convert workflows to self-hosted with Swiftly by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/195
* Fix typo by @taji-taji in https://github.com/swiftlang/swiftly/pull/207
* Prepare for the 0.4.0 release by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/214
* Update doc title from SwiftlyDocs to Swiftly by @shahmishal in https://github.com/swiftlang/swiftly/pull/217
* Revert "Update doc title from SwiftlyDocs to Swiftly" by @shahmishal in https://github.com/swiftlang/swiftly/pull/219
* Getting started guide cleanup by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/220
* Consistency in y/n prompts #141 fix by @johnbute in https://github.com/swiftlang/swiftly/pull/222
* Handle run with the --help flag so that it brings up the help by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/225
* Update documentation and online help around global default toolchains by @cmcgee1024 in https://github.com/swiftlang/swiftly/pull/224
* Foreground process fix by @johnbute in https://github.com/swiftlang/swiftly/pull/226
New Contributors
* @weissi made their first contribution in https://github.com/swiftlang/swiftly/pull/109
* @parispittman made their first contribution in https://github.com/swiftlang/swiftly/pull/113
* @vsarunas made their first contribution in https://github.com/swiftlang/swiftly/pull/189
* @taji-taji made their first contribution in https://github.com/swiftlang/swiftly/pull/207
* @shahmishal made their first contribution in https://github.com/swiftlang/swiftly/pull/217
* @johnbute made their first contribution in https://github.com/swiftlang/swiftly/pull/222
Full Changelog: https://github.com/swiftlang/swiftly/compare/0.3.0...0.4.0
v0.3.0预发布2024-05-08
Highlighted changes
Verify PGP signatures (#94)
Swiftly will now verify the PGP signature of your download before installing the swift toolchain
Full release notes
- Fix decoding error in self-update. PR #90 from @kkebo
- Update swift package versions. PR #98
- Verify PGP signatures of toolchains before install #94
Release notes for swiftly-install.sh (v0.4.0)
- Print warning when existing installation exists
- Support fish shell. PRs #72, #91 from @kkebo