maerwald

joined 1 year ago
 

How to upgrade

ghcup upgrade

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

Changelog

New features

  • support TUI on windows thanks to the work from vty and brick maintainers (Chris Hackett, Timofey Zakrevskiy, Jonathan Daugherty, ...), wrt #912

    • this may be experimental though
  • 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 required a metadata version bump to ghcup-0.0.8.yaml)
  • optparse cli interface now has a test suite thanks to Lei Zhu, wrt #862
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

HelloJS is a wrapper that calls nodejs. Also see https://gitlab.haskell.org/ghc/ghc/-/wikis/javascript-backend/building#compiling-hello-world

GHCup doesn't manage system dependencies.

 

9.2.8 is currently the recommended GHC in GHCup, but 9.2 branch won’t get a new release anymore. Stackage LTS-21.1 has moved to 9.4.5: LTS Haskell 21.1 (ghc-9.4.5) :: Stackage Server GHC developers expressed their feeling that 9.4.5 is a good release. It’s supported well by HLS too. What are your opinions? Are there still libraries lacking for 9.4.5? Are companies using it yet? Is 9.2.8 more comfortable still?

 

This release mainly introduces nightly support. Also see: https://www.haskell.org/ghcup/guide/#nightlies

Changelog

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

How to upgrade

ghcup upgrade

How to use nightlies

Nightlies are just a nother release channel. Currently, only GHC supports nightlies, which are binary releases that are built every night from master.

To add the nightly channel, run:

ghcup config add-release-channel https://ghc.gitlab.haskell.org/ghcup-metadata/ghcup-nightlies-0.0.7.yaml

To list all nightlies from 2023, run:

ghcup list --show-nightly --tool=ghc --since=2023-01-01

Ways to install a nightly:

# by date
ghcup install ghc 2023-06-20
# by version
ghcup install ghc 9.7.20230619
# by tag
ghcup install ghc latest-nightly

 

This is mainly a bindist release.

Changelog

  • Add overloaded record dot plugin intial version (closes #3350) (#3560)
  • Binaries for GHC 9.2.8 and GHC 9.6.2

How to upgrade

ghcup install hls 2.0.0.1