Fwd: [ANN] cabal-install-3.12.1.0 (and accompanying libraries) released

Artem Pelenitsyn a.pelenitsyn at gmail.com
Fri Jun 28 18:37:24 UTC 2024


Dear all,

The cabal release team brings you the release of the cabal-install tool,
version 3.12.1.0. This is the first release of the tool in the 3.12 series,
and, hence, the first cabal-install supporting Cabal 3.12 packaged with GHC
9.10.1. We also update the three main libraries.

   - cabal-install: The command-line interface for Cabal and Hackage.
   <https://hackage.haskell.org/package/cabal-install-3.12.1.0>
   - Cabal: A framework for packaging Haskell software
   <https://hackage.haskell.org/package/Cabal-3.12.1.0>
   - Cabal-syntax: A library for working with .cabal files
   <https://hackage.haskell.org/package/Cabal-syntax-3.12.1.0>
   - cabal-install-solver: The command-line interface for Cabal and Hackage.
   <https://hackage.haskell.org/package/cabal-install-solver-3.12.1.0>

The binaries for cabal-install are available on our website
<https://downloads.haskell.org/cabal/cabal-install-3.12.1.0/> and can be
installed via GHCup manually, e.g.:

   - Linux x86_64 (static, alpine3_18):

   ghcup --no-cache install cabal -u
'https://downloads.haskell.org/cabal/cabal-install-3.12.1.0/cabal-install-3.12.1.0-x86_64-linux-alpine3_18.tar.xz'
3.12.1.0

   - MacOS AArch64:

   ghcup --no-cache install cabal -u
'https://downloads.haskell.org/cabal/cabal-install-3.12.1.0/cabal-install-3.12.1.0-aarch64-darwin.tar.xz'
3.12.1.0

   - Windows:

   ghcup --no-cache install cabal -u
'https://downloads.haskell.org/cabal/cabal-install-3.12.1.0/cabal-install-3.12.1.0-x86_64-windows.zip'
3.12.1.0

   - or a similar command for your platform using the binaries provided on
   the website
   - as usual, cabal update && cabal install cabal-install-3.12.1.0 is an
   option too.

We expect the official GHCup channel to be updated with the 3.12.1.0
binaries soon.
<https://discourse.haskell.org/t/cabal-install-3-12-1-0-and-accompanying-libraries-released/9830#what-is-new-1>What
is new

*Performance*

   - Significant speedups during cabal startup due to use of the latest tar

*Project Organization*

   - Support for asm, cmm, and js sources in executable components
   - Support for per-component builds when coverage is enabled
   - Haskell files in explicit source directories take precedence over
   autogenerated Haskell files
   - Fix precedence for PATH for build-tools-depends (executables from PATH
   don’t shadow executables from build-tool-depends anymore)

*UX*

   - Errors now have error codes, which will be documented on
   https://errors.haskell.org
   - A new subcommand, cabal path, which can be used to get information
   about the paths cabal will use within a project
   - Support for authentication tokens for uploading to Hackage
   - --(test-)show-details=direct is now the default
   - Shorten solver rejection messages by removing repetition
   - Show provenance of project constraints

*Interaction with GHC*

   - Support for loading multiple components into one repl session
   - Support for the --semaphore flag to enable interaction with GHC Job
   Server protocol
   - Support for GHC2024
   - Support for language extensions ExtendedLiterals¸ ListTuplePuns, and
   TypeAbstractions

*Other Compilers*

   - Micro Haskell (MHS) has been added as a known compiler. We don’t have
   support for driving it yet, though.

See the release notes
<https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.12.1.0.md>
for more details and other changes.
<https://discourse.haskell.org/t/cabal-install-3-12-1-0-and-accompanying-libraries-released/9830#contributors-2>
Contributors

50^2, Adam Gundry, Andrea Bedini, Andreas Abel, Andreas Klebinger, Arjun
Kathuria, Artem Pelenitsyn, BasLaa, Bas Laarakker, Ben Gamari, Bodigrim,
Brandon Chinn, brandon s allbery kf8nh, Bryan Richter, Colton Clemmer,
Csaba Hruska, cydparser, Daniel Trstenjak, David Binder, David
Christiansen, Edwin Marshall, Elodie Lander, Erik de Castro Lopo, Felix
Yan, fendor, Finley, Francesco Ariis, Francesco Gazzetta, Fraser Tweedale,
Gershom Bazerman, Hamish Mackenzie, Hécate Moonlight, Ikko Eltociear
Ashimine, Jana Chadt, Javier Sagredo, Jean-Paul Calderone, Jens Petersen,
Jessica Hamilton, John Paul Adrian Glaubitz, Josh Meredith, Julia Longtin,
Julian Ospald, Kazuki Okamoto, Kristen Kozak, Krzysztof Gogolewski,
liamzee, Liisi Kerik, Lin Runze, Malte Neuss, malteneuss, Marcin
Szamotulski, Matthew Pickering, Mel Zuser, Michael Peyton Jones, Mike
Pilgrem, Mikolaj Konarski, mixphix, Oleg Grenrus, Ondřej Šebek, Patrick
Augusto, Patrick Dougherty, Peter Becich, Phil de Joux, Pierre Le Marre,
Rebecca Turner, Rodrigo Mesquita, Ryan Scott, Samuel Thibault, Sander,
Sebastian Tee, Sergey Vinokurov, Shae Erisson, sheaf, Simon Hengel, Siyuan
Chen, Sören Tempel, SuganyaAK, Suganya Raju, Sylvain Henry, Taylor Fausak,
Teo Camarasu, Tom Ellis, tomjaguarpaw, Tommy Bidne, Tom Smeding, Torsten
Schmits, Tristan Cacqueray, Troels Henriksen, Wismill, Yvan Sraka, Zoe Zuser

We thank all contributors as well as our reviewers, QA testers, devops, and
others without whom this release wouldn’t be possible.
<https://discourse.haskell.org/t/cabal-install-3-12-1-0-and-accompanying-libraries-released/9830#feedback-3>
Feedback

Please, report any issues you notice with the 3.12.1.0 release on our
GitHub: https://github.com/haskell/cabal

— cabal release team (Artem, Brandon, Francesco, Gershom, Hécate, Mikołaj)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/cabal-devel/attachments/20240628/59c7ee7e/attachment.html>


More information about the cabal-devel mailing list