v1.6.0.20171202
Pre-release
Pre-release
This is the first release candidate for v1.6.1.
Changes since the last v1.6 pre-release (v1.6.0.20171022):
Behavior changes:
- The
package-indices
setting with Hackage no longer works with the
00-index.tar.gz
tarball, but must use the01-index.tar.gz
file
to allow revised packages to be found. - The
GHCRTS
environment variable will no longer be passed through to
every program stack runs. Instead, it will only be passed through
commands likeexec
,runghc
,script
,ghci
, etc.
See #3444. ghc-options:
for specific packages will now come after the options
specified for all packages / particular sets of packages. See
#3573.- The
pvp-bounds
feature is no longer fully functional, due to some
issues with the Cabal library's printer. See
#3550.
Other enhancements:
- Plan construction will detect if you add an executable-only package
as a library dependency, resulting in much clearer error
messages. See:
#2195. - Addition of
--ghc-options
tostack script
to pass options directly
to GHC. See:
#3454 - Add hpack
package.yaml
to build Stack itself - Add
ignore-revision-mismatch
setting. See:
#3520. - Log when each individual test suite finishes. See:
#3552. - Avoid spurious rebuilds when using
--file-watch
by not watching files for
executable, test and benchmark components that aren't a target. See:
#3483. - Stack will now try to detect the width of the running terminal
(only on POSIX for the moment) and use that to better display
output messages. Work is ongoing, so some messages will not
be optimal yet. The terminal width can be overriden with the
new--terminal-width
command-line option (this works even on
non-POSIX). - Passing non local packages as targets to
stack ghci
will now
cause them to be used as-package
args along with package
hiding. - Detect when user changed .cabal file instead of package.yaml. This
was implemented upstream in hpack. See
#3383. - Automatically run
autoreconf -i
as necessary when aconfigure
script is missing. See
#3534 - GHC bindists can now be identified by their SHA256 checksum in addition to
their SHA1 checksum, allowing for more security in download. - For filesystem setup-info paths, it's no longer assumed that the
directory is writable, instead a temp dir is used. See
#3188.
Bug fixes:
- When
--pvp-bounds
is enabled for sdist or upload, internal
dependencies could cause errors when uploaded to hackage. This is
fixed, see #3290 - Fixes a bug where nonexistent hackage versions would cause stack to
suggest the same package name, without giving version info. See
#3562 - Fixes a bug that has existed since 1.5.0, where
stack setup --upgrade-cabal
would say that Cabal is already the latest
version, when it wasn't. - Ensure that an
extra-dep
from a local directory is not treated as
a$locals
for GHC options purposes. See
#3574. - Building all executables only happens once instead of every
time. See
#3229 for
more info.