<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">This is the second release candidate for stack-1.7 (the first was short-lived and never widely announced). </div><div class=""><br class=""></div><div class="">Binaries for supported platforms are available here: <a href="https://github.com/commercialhaskell/stack/releases/tag/v1.7.0.3" class="">https://github.com/commercialhaskell/stack/releases/tag/v1.7.0.3</a>.</div><div class=""><br class=""></div><div class="">You easily upgrade to it using: `stack upgrade --binary-version=1.7.0.3`</div><div class=""><br class=""></div><div class="">## Changes since v1.6.5:</div><div class=""><br class=""></div><div class=""><div class="">Release notes:</div><div class=""><br class=""></div><div class="">* aarch64 (64-bit ARM) bindists are now available for the first time.</div><div class="">* Statically linked Linux bindists are no longer available, due to difficulty with GHC 8.2.2 on Alpine Linux.</div><div class="">* 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.</div></div><div class=""><div class=""><br class=""></div><div class="">Major changes:</div><div class=""><br class=""></div><div class="">* Upgrade from Cabal 2.0 to Cabal 2.2</div></div><div class=""><br class=""></div><div class=""><div class="">Behavior changes:</div><div class=""><br class=""></div><div class="">* `stack setup` no longer uses different GHC configure options on Linux</div><div class=""> distributions that use GCC with PIE enabled by default. GHC detects</div><div class=""> this itself since ghc-8.0.2, and Stack's attempted workaround for older</div><div class=""> versions caused more problems than it solved.</div><div class=""><br class=""></div><div class="">* `stack new` no longer initializes a project if the project template contains</div><div class=""> a stack.yaml file.</div></div><div class=""><br class=""></div><div class=""><div class="">Other enhancements:</div><div class=""><br class=""></div><div class="">* `stack unpack` now supports a `--to /target/directory` option to</div><div class=""> specify where to unpack the package into</div><div class="">* `stack hoogle` now supports a new flag `--server` that launches local</div><div class=""> Hoogle server on port 8080. See</div><div class=""> [#2310](<a href="https://github.com/commercialhaskell/stack/issues/2310" class="">https://github.com/commercialhaskell/stack/issues/2310</a>)</div><div class=""><div class="">* A new sub command `ls` has been introduced to stack to view</div><div class=""> local and remote snapshots present in the system. Use `stack ls</div><div class=""> snapshots --help` to get more details about it.</div><div class="">* `list-dependencies` has been deprecated. The functionality has</div><div class=""> to accessed through the new `ls dependencies` interface. See</div><div class=""> [#3669](<a href="https://github.com/commercialhaskell/stack/issues/3669" class="">https://github.com/commercialhaskell/stack/issues/3669</a>)</div><div class=""> for details.</div><div class="">* Specify User-Agent HTTP request header on every HTTP request.</div><div class=""> See [#3628](<a href="https://github.com/commercialhaskell/stack/issues/3628" class="">https://github.com/commercialhaskell/stack/issues/3628</a>) for details.</div><div class="">* `stack setup` looks for GHC bindists and installations by any OS key</div><div class=""> that is compatible (rather than only checking a single one). This is</div><div class=""> relevant on Linux where different distributions may have different</div><div class=""> combinations of libtinfo 5/6, ncurses 5/6, and gmp 4/5, and will allow</div><div class=""> simpifying the setup-info metadata YAML for future GHC releases.</div><div class="">* The build progress bar reports names of packages currently building.</div><div class="">* `stack setup --verbose` causes verbose output of GHC configure process.</div><div class=""> See [#3716](<a href="https://github.com/commercialhaskell/stack/issues/3716" class="">https://github.com/commercialhaskell/stack/issues/3716</a>)</div><div class="">* Improve the error message when an `extra-dep` from a path or git reference can't be found</div><div class=""> See [#3808](<a href="https://github.com/commercialhaskell/stack/pull/3808" class="">https://github.com/commercialhaskell/stack/pull/3808</a>)</div><div class="">* Nix integration is now disabled on windows even if explicitly enabled,</div><div class=""> since it isn't supported. See</div><div class=""> [#3600](<a href="https://github.com/commercialhaskell/stack/issues/3600" class="">https://github.com/commercialhaskell/stack/issues/3600</a>)</div><div class="">* `stack build` now supports a new flag `--keep-tmp-files` to retain intermediate</div><div class=""> files and directories for the purpose of debugging.</div><div class=""> It is best used with ghc's equivalent flag,</div><div class=""> i.e. `stack build --keep-tmp-files --ghc-options=-keep-tmp-files`.</div><div class=""> See [#3857](<a href="https://github.com/commercialhaskell/stack/issues/3857" class="">https://github.com/commercialhaskell/stack/issues/3857</a>)</div><div class="">* Improved error messages for snapshot parse exceptions</div></div><div class=""><br class=""></div><div class="">Bug fixes:</div><div class=""><br class=""></div><div class="">* When a package contained sublibraries, stack was always recompiling the</div><div class=""> package. This has been fixed now, no recompilation is being done because of</div><div class=""> sublibraries. See [#3899](<a href="https://github.com/commercialhaskell/stack/issues/3899" class="">https://github.com/commercialhaskell/stack/issues/3899</a>).</div><div class="">* The `get-stack.sh` install script now matches manual instructions</div><div class=""> when it comes to Debian/Fedora/CentOS install dependencies.</div><div class="">* Compile Cabal-simple with gmp when using Nix.</div><div class=""> See [#2944](<a href="https://github.com/commercialhaskell/stack/issues/2944" class="">https://github.com/commercialhaskell/stack/issues/2944</a>)</div><div class="">* `stack ghci` now replaces the stack process with ghci. This improves</div><div class=""> signal handling behavior. In particular, handling of Ctrl-C. To make</div><div class=""> this possible, the generated files are now left behind after exit.</div><div class=""> The paths are based on hashing file contents, and it's stored in the</div><div class=""> system temporary directory, so this shouldn't result in too much</div><div class=""> garbage. See</div><div class=""> [#3821](<a href="https://github.com/commercialhaskell/stack/issues/3821" class="">https://github.com/commercialhaskell/stack/issues/3821</a>).</div></div><div class=""><div class="">* The script interpreter's implicit file arguments are now passed before other</div><div class=""> arguments. See [#3658](<a href="https://github.com/commercialhaskell/stack/issues/3658" class="">https://github.com/commercialhaskell/stack/issues/3658</a>).</div><div class=""> In particular, this makes it possible to pass `-- +RTS ... -RTS` to specify</div><div class=""> RTS arguments used when running the script.</div><div class="">* Don't ignore the template `year` parameter in config files, and clarify the</div><div class=""> surrounding documentation. See</div><div class=""> [#2275](<a href="https://github.com/commercialhaskell/stack/issues/2275" class="">https://github.com/commercialhaskell/stack/issues/2275</a>).</div><div class="">* Benchmarks used to be run concurrently with other benchmarks</div><div class=""> and build steps. This is non-ideal because CPU usage of other processes</div><div class=""> may interfere with benchmarks. It also prevented benchmark output from</div><div class=""> being displayed by default. This is now fixed. See</div><div class=""> [#3663](<a href="https://github.com/commercialhaskell/stack/issues/3663" class="">https://github.com/commercialhaskell/stack/issues/3663</a>).</div><div class="">* `stack ghci` now allows loading multiple packages with the same</div><div class=""> module name, as long as they have the same filepath. See</div><div class=""> [#3776](<a href="https://github.com/commercialhaskell/stack/pull/3776" class="">https://github.com/commercialhaskell/stack/pull/3776</a>).</div><div class="">* `stack ghci` no longer always adds a dependency on `base`. It is</div><div class=""> now only added when there are no local targets. This allows it to</div><div class=""> be to load code that uses replacements for `base`. See</div><div class=""> [#3589](<a href="https://github.com/commercialhaskell/stack/issues/3589#issuecomment" class="">https://github.com/commercialhaskell/stack/issues/3589#issuecomment</a>)</div><div class="">* `stack ghci` now uses correct paths for autogen files with</div><div class=""> [#3791](<a href="https://github.com/commercialhaskell/stack/issues/3791" class="">https://github.com/commercialhaskell/stack/issues/3791</a>)</div></div></body></html>