stack v2.7.1 Release Notes
-
๐ Changes since v2.5.1.1:
Behavior changes:
stack repl
now always warns about GHCi problems with loading multiple packages. It also sets now proper working directory when invoked with one package. See #5421custom-setup
dependencies are now properly initialized forstack dist
. This makesexplicit-setup-deps
no longer required and that option was removed. See #4006
Other enhancements:
Nix integration now passes
ghcVersion
(in addition to existingghc
) toshell-file
as an identifier that can be looked up in a compiler attribute set.Nix integration now allows Nix integration if the user is ready in nix-shell. This gets rid of "In Nix shell but reExecL is False" error.
๐ฆ
stack list
is a new command to list package versions in a snapshot. See #5431๐ Consider GHC 9.0 a tested compiler and remove warnings.
๐ง
custom-preprocessor-extensions
is a new configuration option for allowing stack to be aware of any custom preprocessors you have added toSetup.hs
. See #3491โ Added
--candidate
flag toupload
command to upload a package candidate rather than publishing the package.Error output using
--no-interleaved-output
no longer prepends indentating whitespace. This allows emacs compilation-mode and vim quickfix to locate and track errors. See #5523
๐ Bug fixes:
0๏ธโฃ
stack new
now suppports branches other thanmaster
as default for GitHub repositories. See #5422๐ Ignore all errors from
hi-file-parser
. See #5445 and #5486.๐ Support basic auth in package-indices. See #5509.
โ Add support for parsing
.hi
. files from GHC 8.10 and 9.0. See hi-file-parser#2.