The Cabal team is excited to announce the release of cabal-install 3.4. This is the third release of the 3.0 release series, bringing a support for the Cabal-Version: 3.4 .cabal file format. This introduces a number of user-facing features including:
- Support for GHC 9.0
- Package sublibrary dependency syntax
- Allowing omission of the
default-languagedeclaration - A mixins field allowing the user to specify a sublibrary
- Many other features
In addition, the cabal-install frontend itself has gained a number of new features including:
- New
active-repositoriescabal.projectfields allowing users to specify an order and various ways of combining package repositories - Improvements to
cabal init - A rework of the
cabal v2-sdistcommand.cabal v1-sdistis removed as of this version -
source-repository-packagedirectories are no longer local - A new
list-bincommand -
cabal sandboxis now removed in favor of default nix-style builds -
cabal listnow accepts regular expressions - More rich
index-statesyntax.v2-freezesavesindex-state
I’d also like to thank the many contributors who offered patches, tickets, and other help in the preparation of this release. We appreciate all of your help!
For a full set of release notes, see https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.4.0.0.md. If you have issues, we’d love to hear about there here: https://github.com/haskell/cabal/issues.
Happy hacking!
Emily