Ghcup Hs Versions Save

v0.1.22.0

2 months ago

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)

v0.1.20.0

6 months ago

New features

  • support TUI on windows thanks to the work from vty and brick maintainers (Chris Hackett, Timofey Zakrevskiy, Jonathan Daugherty, ...), wrt #912
  • support JS and wasm cross compilers wrt #838, thanks to Sylvain Henry and IOG
  • Support stacks installation strategy and metadata wrt #892
    • you can now enable stacks installation method via ghcup config set url-source '["GHCupURL", "StackSetupURL"]'... for more information, check the documentation

Improvements and bug fixes

  • fix segfault in TUI when hitting enter early wrt #887
  • Improve key handling in TUI, fixes #875
  • add explicit support for Void Linux and Rocky Linux (this requires a metadata version bump to ghcup-0.0.8.yaml)
  • optparse cli interface now has a test suite thanks to Lei Zhu, wrt #862

v0.1.19.5

10 months ago

v0.1.19.4

10 months ago

v0.1.19.3

10 months ago
  • Implement support for nightlies, wrt #824
  • Fix GC with XDG dirs, fixes #810

v0.1.19.2

1 year ago
  • Follow-up fix for JFS/ReiserFS and other filesystem that don't support d_type, fixes #787
    • the previous release had a bug that invalidated that broke it
  • Implement 'latest-prerelease' tag wrt #788
  • Fix 'Could not parse version of stray directory.DS_Store' warnings on macOs wrt #797

v0.1.19.1

1 year ago
  • Fix GHCup on JFS/ReiserFS and other filesystem that don't support d_type, fixes #766
  • Don't fail on setModificationTime, fixes #784 and many GitHub actions issues
  • Make armv7/aarch64 linux binaries more portable (built on Debian buster)
  • Improve usability on 'ghcup config add-release-channel', fixes #751
  • Make version shortcuts work with 'ghcup set', fixes #757
  • Don't implicitly smuggle in config options in ghcup config set wrt #775
  • Fix build on unix with -ftui

v0.1.19.0

1 year ago
  • restore proper support for FreeBSD and Linux armv7
  • integrate with errors.haskell.org, wrt #434
  • allow to overwrite distro detection via config wrt #421
  • Add proper support for mirrors wrt #357
  • fix a (harmless) bug in ghcup nuke on windows
  • improvements to ghcup add-release-channel wrt #708
  • fix building newer GHC from source wrt #433
  • Fix ghcup install hls -u on windows
  • Fix failure with --isolate=dir --force
  • Add --metadata-fetching-mode arg, fixes #440
  • Add content-length property to downloads
  • Fix a grave bug on armv7 during installation wrt #415
  • improve many warning/error messages (contributions by @taylorfausak)
  • some minor optimization in ghcup whereis ghcup
  • improve --keep=always to not clean up directories in certain circumstances

v0.1.17.5

2 years ago

Changes

  • Implement ghcup run subcommand wrt #137
  • Support installation of dynamic HLS bindists wrt HLS #2675 and #237
  • Fix XDG support when ~/.local/bin is a symlink wrt #311
  • Add support for quilt-style patches wrt #230, by James Hobson
  • Fix redundant upgrade warnings in ghcup upgrade
  • Fix ghcup whereis ghc for non-standard versions wrt #289
  • Don't print logs to stdout, but stderr
  • Allow unpacking legacy lzma archives wrt #307
  • Allow to disable self-upgrade functionality wrt #305
  • Fix ghcup install ghc --set when ghc is already installed wrt #291

v0.1.17.4

2 years ago

Changes

  • add --metadata-caching option, allowing to also disable yaml metadata caching wrt #278
  • make upgrading ghcup in TUI more pleasant wrt #276
  • fix parsing of atypical GHC versions (e.g. 8.10.5-patch1)
  • fix compiling HLS dynamically linked, also see #245
  • redo (and break) some of the ghcup compile <tool> interface, improving patch options and setting custom cabal.project files
  • avoid redundant update warnings wrt #283