stack v1.1.2 Release Notes
-
๐ Release notes:
- Official FreeBSD binaries are now available #1253.
Major changes:
- Extensible custom snapshots implemented. These allow you to define snapshots ๐ which extend other snapshots. See #863. Local file custom โก๏ธ snapshots can now be safely updated without changing their name. Remote custom snapshots should still be treated as immutable.
Behavior changes:
- ๐
stack path --compiler
was added in the last release, to yield a path to the compiler. Unfortunately,--compiler
is a global option that is useful to use withstack path
. The same functionality is now provided bystack path --compiler-exe
. See #2123 - ๐ฆ For packages specified in terms of a git or hg repo, the hash used in the location has changed. This means that existing downloads from older stack versions won't be used. This is a side-effect of the fix to #2133
- โฌ๏ธ
stack upgrade
no longer pays attention to local stack.yaml files, just the global config and CLI options. #1392 stack ghci
now uses:add
instead of:load
, making it potentially work better with user scripts. See #1888
Other enhancements:
- Grab Cabal files via Git SHA to avoid regressions from Hackage revisions #2070
- ๐ Custom snapshots now support
ghc-options
. - ๐ Package git repos are now re-used rather than re-cloned. See #1620
- ๐
DESTDIR
is filtered from environment when installing GHC. See #1460 - ๐
stack haddock
now supports--hadock-arguments
. See #2144 - Signing: warn if GPG_TTY is not set as per
man gpg-agent
๐ Bug fixes:
- ๐ Now ignore project config when doing
stack init
orstack new
. See #2110 - ๐ Packages specified by git repo can now have submodules. See #2133
- ๐ Fix of hackage index fetch retry. See re-opening of #1418
- ๐ HPack now picks up changes to filesystem other than package.yaml. See #2051
- ๐ "stack solver" no longer suggests --omit-packages. See #2031
- ๐ Fixed an issue with building Cabal's Setup.hs. See #1356
- ๐ Package dirtiness now pays attention to deleted files. See #1841
- ๐
stack ghci
now usesextra-lib-dirs
andextra-include-dirs
. See #1656 - Relative paths outside of source dir added via
qAddDependentFile
are now checked for dirtiness. See #1982 - ๐จ Signing: always use
--with-fingerprints