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:
- public/private sublibraries are fully supported and no longer experimental (6. Package Description — Cabal 3.8.1.0 User's Guide)
- you can now put in your
cabal.project
something likeimport: https://www.stackage.org/lts-18.5/cabal.config
and it works (7. cabal.project Reference — Cabal 3.8.1.0 User's Guide) - new Cabal-syntax and cabal-install-solver packages have been split off
- there’s no more confusion of compiler options for the local code and for the dependencies (https://github.com/haskell/cabal/pull/7973)
- one can now define code generators in test stanzas, which is one more principled step away from Custom Setups (https://github.com/haskell/cabal/pull/7688)
Cabal badly needs your feedback and your contributions. Please keep them coming.