v2.9.1
See https://haskellstack.org/ for installation and upgrade instructions.
Changes since v2.7.5:
Behavior changes:
stack build --coverage
will generate a unified coverage report, even if there is only one*.tix
file, in case a package has tested the library of another package that has not tested its own library. See #5713stack --verbose
no longer includes the lengthy raw snapshot layer (rsl) in the debug output by default. The newstack --[no-]rsl-in-log
flag enables or disables the inclusion of the rsl in the debug output.
Other enhancements:
- Bump to Hpack 0.35.0.
- On Windows, the installer now sets
DisplayVersion
in the registry, enabling tools likewinget
to properly read the version number. - Adds flag
--script-no-run-compile
(disabled by default) that uses the--no-run
option withstack script
(and forces the--compile
option). This enables a command likestack --script-no-run-compile Script.hs
to behave likestack script <arguments> --no-run --compile -- Script.hs
but without having to list all the<arguments>
in the Stack interpreter options comment inScript.hs
on the command line. That may help test that scripts compile in CI (continuous integration). See #5755 - Fuller help is provided at the command line if a subcommand is missing (for example,
stack ls
now yields the equivalent ofstack ls --help
). See #809 - Add build option
--cabal-verbosity=VERBOSITY
to specify the Cabal verbosity level (the option accepts Cabal's numerical and extended syntax). See #1369 - Add the possibility of a
sh
script to customise fully GHC installation. See #5585 tools
subcommand added tostack ls
, to list stack's installed tools.stack uninstall
shows how to uninstall Stack.--ghc-variant
acceptsint-native
as a variant.
Bug fixes:
- Fix
stack clean --full
, so that the files to be deleted are not in use. See #5714 - Fix an inconsistency in the pretty formatting of the output of
stack build --coverage
- Fix repeated warning about missing parameters when using
stack new
- Include
pantry-0.5.6
: Remove operational and mirror keys from bootstrap key set. See #53 - Pass any CPP options specified via
cpp-options:
in the Cabal file to GHCi using GHC's-optP
flag. See #5608 - On Unix-like operating systems, respect the
with-gcc
option when installing GHC. See #5609 - Fixed logic in
get_isa()
inget-stack.sh
to exclude systems that don't have x86 in theiruname -m
output. See #5792. - Fixed output of
stack ls snapshots local
on Windows, to behave like that on Unix-like operating systems. - Fix non-deterministic test failures when executing a test suite for a multi-project repository with parallelism enabled. See #5024
Thanks to all our contributors for this release:
- ARATA Mizuki
- citrusmunch
- Dan Brooks
- Danila Danko
- Emanuel Borsboom
- HallowedDust5
- hs211216
- Idris Raja
- Josh Soref
- Julian Ospald
- Leo Sin
- Maciej Bielecki
- Malte Neuss
- malteneuss
- Marc Etter
- Matt Audesse
- Michael Snoyman
- Mike Pilgrem
- Naoya Yamashita
- Phil de Joux
- Sibi Prabakaran
- Tom Sydney Kerckhove