stack v1.7.1 Release Notes
Release Date: 2018-04-27 // about 6 years ago-
β¬οΈ See https://haskellstack.org for installation and upgrade instructions.
π Changes since v1.6.5:
π Release notes:
- aarch64 (64-bit ARM) bindists are now available for the first time.
- π§ Statically linked Linux bindists are no longer available, due to difficulty with GHC 8.2.2 on Alpine Linux.
- π§ 32-bit Linux GMP4 bindists for CentOS 6 are no longer available, since GHC 8.2.2 is no longer being built for that platform.
Major changes:
- β¬οΈ Upgrade from Cabal 2.0 to Cabal 2.2
Behavior changes:
- π§
stack setup
no longer uses different GHC configure options on Linux
0οΈβ£ distributions that use GCC with PIE enabled by default. GHC detects
βͺ this itself since ghc-8.0.2, and Stack's attempted workaround for older
π versions caused more problems than it solved. stack new
no longer initializes a project if the project template contains
a stack.yaml file.
Other enhancements:
- A new sub command
ls
has been introduced to stack to view
local and remote snapshots present in the system. Usestack ls snapshots --help
to get more details about it. - π
list-dependencies
has been deprecated. The functionality has
π to accessed through the newls dependencies
interface. See
#3669
for details. - Specify User-Agent HTTP request header on every HTTP request.
π See #3628 for details. stack setup
looks for GHC bindists and installations by any OS key
that is compatible (rather than only checking a single one). This is
π§ relevant on Linux where different distributions may have different
combinations of libtinfo 5/6, ncurses 5/6, and gmp 4/5, and will allow
π simpifying the setup-info metadata YAML for future GHC releases.- π The build progress bar reports names of packages currently building.
- π§
stack setup --verbose
causes verbose output of GHC configure process.
π See #3716 - π Improve the error message when an
extra-dep
from a path or git reference can't be found
π See #3808 - π Nix integration is now disabled on windows even if explicitly enabled,
π since it isn't supported. See
#3600 - π
stack build
now supports a new flag--keep-tmp-files
to retain intermediate
files and directories for the purpose of debugging.
It is best used with ghc's equivalent flag,
π i.e.stack build --keep-tmp-files --ghc-options=-keep-tmp-files
.
π See #3857 - π Improved error messages for snapshot parse exceptions
- π
stack unpack
now supports a--to /target/directory
option to
π¦ specify where to unpack the package into - π
stack hoogle
now supports a new flag--server
that launches local
π Hoogle server on port 8080. See
#2310
π Bug fixes:
- The script interpreter's implicit file arguments are now passed before other
π arguments. See #3658.
In particular, this makes it possible to pass-- +RTS ... -RTS
to specify
RTS arguments used when running the script. - Don't ignore the template
year
parameter in config files, and clarify the
π surrounding documentation. See
#2275. - Benchmarks used to be run concurrently with other benchmarks
π and build steps. This is non-ideal because CPU usage of other processes
may interfere with benchmarks. It also prevented benchmark output from
π being displayed by default. This is now fixed. See
#3663. - π¦
stack ghci
now allows loading multiple packages with the same
π module name, as long as they have the same filepath. See
#3776. stack ghci
no longer always adds a dependency onbase
. It is
now only added when there are no local targets. This allows it to
π be to load code that uses replacements forbase
. See
#3589stack ghci
now uses correct paths for autogen files with
#3791- π¦ When a package contained sublibraries, stack was always recompiling the
π¦ package. This has been fixed now, no recompilation is being done because of
π sublibraries. See #3899. - The
get-stack.sh
install script now matches manual instructions
when it comes to Debian/Fedora/CentOS install dependencies. - Compile Cabal-simple with gmp when using Nix.
π See #2944 stack ghci
now replaces the stack process with ghci. This improves
π¦ signal handling behavior. In particular, handling of Ctrl-C. To make
this possible, the generated files are now left behind after exit.
The paths are based on hashing file contents, and it's stored in the
system temporary directory, so this shouldn't result in too much
π garbage. See
#3821.
π Thanks to all our contributors for this release:
- Alexey Kuleshevich
- Andrei Dziahel
- Andrew Cowie
- Daniel Bergey
- David Baynard
- Domen KoΕΎar
- Don Waldhalm
- Emanuel Borsboom
- Geoffrey Noel
- Ivan Kasatenko
- Jan von Loewenstein
- Joshua Simmons
- Kirill Elagin
- Krishnan Parthasarathi
- Luke Murphy
- Matt Spaulding
- Matthias Braun
- Maximilian Tagher
- Michael Sloan
- Michael Snoyman
- Mihai Maruseac
- Mike Pilgrem
- Mitchell Rosen
- Nicolas Mattia
- Niklas HambΓΌchen
- Oleg Grenrus
- Reuben D'Netto
- Robert J. Macomber
- Sibi Prabakaran
- silky
- Simon Hengel
- Tero LaxstrΓΆm
- tswelsh
- Yuji Yamamoto