[ANN] GHCup-0.1.22.0 released

How to upgrade

ghcup upgrade

If you haven’t installed yet, follow the instructions at: https://www.haskell.org/ghcup/

Changelog

New features

  • A help screen/tutorial in the TUI by @lsmor (Luis Morillo)
  • Beef up --overwrite-version, fixes #998
    • e.g. ghcup compile hls -g master --overwrite-version='%v-%h' --ghc 9.4.8 will produce a binary called haskell-language-server-wrapper-<version-from-cabal-file>-<short-git-commit-hash>… refer to ghcup compile hls --help for more information
  • Allow to set ghcup msys2 environment wrt #982
  • Add mechanism to warn on new metadata versions, fixes #860
  • Add pre-install message support via ghcup metadata, wrt #1016
  • Allow to remove all unset versions, fixes #1019
    • e.g.: ghcup gc --unset

Improvements and bug fixes

  • Fix potential HSEC-2024-0002
  • Fix TUI crash in windows terminal 1.19 #1013
  • Clean up on git clone errors, fixes #1004
  • Error out on empty UserSettings wrt #922
  • Fix failure mode when metadata is garbage, fixes #921
  • Be less confusing when user tries to ‘set’ ghcup in TUI, fixes #923
  • Fix prefetch for cross bindists
  • Fix misinterpretation of ‘+’ in URI paths, fixes #408
  • Stricter (and better) file uri handling
  • Set LD=ld.bfd on Alpine linux during bindist configure
  • Add rocky/void detection
  • Logging improvements
  • Remove the “show all tool” config in the TUI
  • Fix opening changelog on windows
  • Don’t remove share dir link prematurely
  • Require user to explicitly choose subcommand for ‘ghcup config’
  • Don’t download twice when trying stack decoding

Refactoring and maintenance

  • Large TUI code cleanup by @lsmor (Luis Morillo)… more coming up soon
  • Allow building with tar instead of libarchive (mainly to make contributions easier)
18 Likes

help/tutorial screenshots:

9 Likes