# Revision history for ghcup ## 0.1.16.1 -- 2021-07-29 * Add 'nuke' subcommand wrt [#135](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/135), implemented by Arjun Kathuria * Add uninstallation powershell script on windows wrt [#150](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/150) * Improve logging * Fix building GHC cross compiler wrt [#180](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/180) * Allow to use hadrian as build system (for git based versions only) wrt [#35](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/35) * Allow passing `--flavor` to `ghcup compile ghc` * Support new GHC `bin/` directory format wrt [ghc/ghc#20074](https://gitlab.haskell.org/ghc/ghc/-/issues/20074#note_363720) * Implement `whereis` subcommand wrt [#173](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/173) * Add `--offline` switch and `prefetch` subcommand wrt [#186](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/186) * Implement ETAGs hashing for metadata downloads to speed up `ghcup list` wrt [#193](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/193) * Avoid unnecessary fetching of ghcup metadata in some commands * Avoid unnecessary update checks for some commands * Preserve mtimes on unpacked GHC tarballs on windows wrt [#187](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/187), fixing issues with `ghc-pkg` * Fix lesser bug in `ghcup list` for stray stack versions wrt [#183](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/183) * Major redo on how file removal on windows works, avoiding partial removals etc, wrt [#165](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/165) * Improve ghcup tui for screen readers wrt [github/#4](https://github.com/haskell/ghcup-hs/pull/4), thanks to Mario Lang ## 0.1.15.2 -- 2021-06-13 * Remove legacy handling of cabal binary and be more graceful about binaries not installed by ghcup (e.g. stack) * Fix GHC compilation from git * Fix 'ghcup upgrade' on windows * Allow to skip update checks via `GHCUP_SKIP_UPDATE_CHECK` * Use libarchive on windows as well, fixing unpack errors wrt [#147](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/147) ## 0.1.15.1 -- 2021-06-11 * Add Apple Silicon support * Add windows support wrt [#130](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/130) * Add stack support * Warn when /tmp doesn't have 5GB or more of disk space * Allow to compile GHC from git repo wrt [#126](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/126) * Allow to set custom ghc version when running 'ghcup compile ghc' wrt [#136](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/136) * Add date to GHC bindist names created by ghcup ## 0.1.14.2 -- 2021-05-12 * Remove dead dependency on ascii-string ## 0.1.14.1 -- 2021-04-11 * Make internal symlink target parser more lax, fixes [#119](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/119) * Prepare for hackage release ## 0.1.14 -- 2021-03-07 * Major bugfix: fix handling of stray versions wrt [#116](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/116) * Fix error messages and overhaul pretty printing wrt [#115](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/115) ## 0.1.13 -- 2021-02-26 * Support ARMv7/AARCH64 * Add command line completions for installed and available versions wrt [MR #70](https://gitlab.haskell.org/haskell/ghcup-hs/-/merge_requests/70) * Allow to cycle through set tools wrt [#114](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/114) * Fix item selection with unavailable versions wrt [#107](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/107) * Allow for dynamic post-install, post-remove and pre-compile msgs wrt [MR #68](https://gitlab.haskell.org/haskell/ghcup-hs/-/merge_requests/68) * Alert user if upgraded ghcup is shadowed by old ghcup wrt [#111](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/111) * Fix to `ghcup` directory creation and placement for the XDG install mode ([MR #49](https://gitlab.haskell.org/haskell/ghcup-hs/-/merge_requests/49)) * Do 755 permissions on executables, wrt #97 * Add [NO_COLOR](https://no-color.org/) support wrt [MR #47](https://gitlab.haskell.org/haskell/ghcup-hs/-/merge_requests/47) ## 0.1.12 -- 2020-11-21 * Fix disappearing HLS symlinks wrt #91 * improve TUI: - separators between tools sections - reverse list order so latest is on top - expand the blues selected bar - show new latest versions in bright white * allow configuration file and setting TUI hotkeys wrt #41 - see https://gitlab.haskell.org/haskell/ghcup-hs#configuration for a more in-depth explanation * add a `--set` switch to `ghcup install ghc` to automatically set as default after install * emit warnings when CC/LD is set wrt #82 * add support for version ranges in distro specifiers wrt #84 - e.g. `"(>= 19 && <= 20) || ==0.2.2"` is a valid version key for distro ## 0.1.11 -- 2020-09-23 * Add support for installing haskell-language-server, wrt #65 * When compiling GHC from source create a bindist first, store that bindist in `~/.ghcup/cache` and install it, wrt #51 * Allow to compile over existing version (`ghcup compile ghc -v 8.6.5 -b 8.6.5`) and replace it wrt #59 * simplify installing from custom bindist wrt #60 - `ghcup install ghc -u ` * fix bug when cabal isn't marked executable in bindist * fix bug when `~/.ghcup` is a valid symlink wrt #49 * Drop support for compiling cabal from source (the old bootstrap script is discontinued) ## 0.1.10 -- 2020-08-14 * Show stray Cabals (useful for pre-releases or compiled ones) ## 0.1.9 -- 2020-08-14 * Fix bug when uninstalling all cabal versions * Fix bug when setting a non-installed ghc version as current default * Use yaml instead of generated json for download info for ease of adding new GHC versions #44 * Allow pre-release versions of GHC/cabal * Add XDG dirs support (set `GHCUP_USE_XDG_DIRS`) wrt #39 * Allow to specify regex for tarball subdir (e.g. `ghc-.*`) * Allow installing arbitrary bindists more seamlessly: - e.g. installing GHC HEAD: `ghcup -n install ghc -u '{"dlHash": "", "dlSubdir": { "RegexDir": "ghc-.*"}, "dlUri": "https://gitlab.haskell.org/api/v4/projects/1/jobs/artifacts/master/raw/ghc-x86_64-fedora27-linux.tar.xz?job=validate-x86_64-linux-fedora27" }' head` * Avoid duplicate edits to .bashrc/.zshrc wrt #43 ## 0.1.8 -- 2020-07-21 * Fix bug in logging thread dying on newlines * Allow to install from arbitrary bindists: `ghcup -n install ghc -u '{"dlHash": "", "dlSubdir": "ghc-8.10.1", "dlUri": "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.10.1-release/ghc-8.10.1-x86_64-deb9-linux.tar.xz"}' 8.10.1` ## 0.1.7 -- 2020-07-20 * Fix a bug in libarchive not unpacking some uncleanly packed bindists * Improved fish support in bootstrap-haskell * Only check for upgrades when not upgrading * Fix platform detection for i386 docker images * Improve alpine support - more/proper bindists - don't fall back to glibc based bindists - install bindists with `--disable-ld-override` to avoid ld.gold bugs ## 0.1.6 -- 2020-07-13 * Create a new curses (brick) based TUI, accessible via `ghcup tui` #24 * Support multiple installed versions of cabal #23 * Improvements to `ghcup list` (show unavailable bindists for platform) * Fix redhat downloads #29 * Support for hadrian bindists (fixes alpine-8.10.1) #31 * Add FreeBSD bindists 8.6.5 and 8.8.3 * Fix memory leak during unpack ## 0.1.5 -- 2020-04-30 * Fix errors when PATH variable contains path components that are actually files * Add `--version` and `--numeric-version` options * Add `changelog` command * Also check for available GHC and Cabal updates on start * Add base versions as tags for every GHC version (these are "installable" tags and the latest GHC version matching the tag will be picked) * Added `--format-raw` to list subcommand * Allow to install X.Y versions (e.g.: ghcup install 8.8) * Implement `--keep=` to control temporary build directories cleanup * Add proper shell completions to the repo * Fix building of documentation * Allow to work in offline mode and use cached files if possible * Allow to set the downloader via `--downloader=` * Support for compiling and installing a cross GHC (see README). This is experimental. ## 0.1.4 -- 2020-04-16 * build on all platforms with curl (as a binary), wrt https://gitlab.haskell.org/haskell/ghcup-hs/issues/6 * Fix unlinking of ghc symlinks after new installation, wrt https://gitlab.haskell.org/haskell/ghcup-hs/issues/7 ## 0.1.3 -- 2020-04-15 * Fix lesser bug when skipping ghcup update ## 0.1.2 -- 2020-04-15 * Fix bug when removing the set GHC version * Fix use of undocumented `GHCUP_INSTALL_BASE_PREFIX` variable * skip upgrade if ghcup is already latest version ## 0.1.1 -- 2020-04-15 * fix awful fdopendir bug on mac bug by updating hpath-posix ## 0.1.0 * First version. Released on an unsuspecting world.