Just released: cabal 3.8.1.0

I’m proud to announce 3.8.1.0 version of Cabal the library and cabal-install the tool. It’s the fruit of concerted effort of innumerous collaborators, from users, through developers, to mentors, caretakers and administrators of our linked community and infrastructure sections. You, people, rock.

This version works with the just released GHC 9.4.1 (in fact, for Windows it’s probably necessary) and is already available from GHCup and other channels. More technical details, APIs, changelogs and regressions can be found at Release cabal v3.8.1.0 · haskell/cabal · GitHub.

The release is huge, so let me mention only a few random highlights:

Cabal badly needs your feedback and your contributions. Please keep them coming.

45 Likes

Awesome! I was looking forward to cabal run scripts caching:

$ cat ./script.hs          
#!/usr/bin/env cabal
{- cabal:
build-depends: base
             , shell-conduit
default-extensions:
-}

import           Data.Conduit.Shell

main :: IO ()
main = run $ do
  pacman "-Q" $| wc "-l"
  date
$ time ./script.hs 
1390
Fri 12 Aug 09:55:37 CEST 2022
./script.hs  0.56s user 0.14s system 99% cpu 0.712 total
$ time ./script.hs
1390
Fri 12 Aug 09:55:39 CEST 2022
./script.hs  0.03s user 0.02s system 96% cpu 0.053 total
8 Likes

I just wanted to add that cabal 3.8.1.0 includes my very first (modest) contribution to the project. It has been a pleasure working with the team! Go find 'em on GitHub! :smiley:

11 Likes

Actually, it includes more than one contribution from you, not counting the dev env improvements. Both much appreciated. :slight_smile:

4 Likes