[ANN] GHCup 0.1.40.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

  • Introduction of “channel aliases” wrt #1155
    • as of now: prereleases, cross and vanilla
    • use via e.g. ghcup config add-release-channel cross
  • Implement pager support wrt #1118
    • like git… there’s a difference between ghcup --help and ghcup -h now
  • Add explicit support for OpenSUSE wrt #1124
  • Add explicit support for OpenBSD wrt #1138 (still WIP)
  • Support tui list item selection via mouse click #1158
  • proper aarch64 Alpine support

Improvements and bug fixes

  • Context Menu improvements wrt #1102
    • GHC(s) can be selected from a list of installed GHCs in bootstrap-ghc, hadrian-ghc, and HLS target-ghcs
    • Build system can be selected from choices
    • All the text edit inputs require opening an edit box by pressing “Enter”
    • The help message an error message are also shown as the user types.
  • Fix ‘ghcup run’ on windows, wrt #1106
  • Print aeson decoding error when metadata decoding fails wrt #1113
  • laxer forward compatible metadata parsing (e.g. on unknown distros)

Links


Teaser of some of the context menu improvements:

348455309-82e9b187-1e99-445a-a920-0ec8d2b58aa1

36 Likes