stack v0.1.3.0 Release Notes
-
Major changes:
- Detect when a module is compiled but not listed in the cabal file (#32)
- A warning is displayed for any modules that should be added to
other-modules
in the .cabal file - These modules are taken into account when determining whether a package needs to be built
- A warning is displayed for any modules that should be added to
- Respect TemplateHaskell addDependentFile dependency changes (#105)
- TH dependent files are taken into account when determining whether a package needs to be built.
- โ
Overhauled target parsing, added
--test
and--bench
options #651- For details, see Build commands documentation
Other enhancements:
- Set the
HASKELL_DIST_DIR
environment variable #524 - ๐ Track build status of tests and benchmarks #525
- โ
--no-run-tests
#517 - ๐ Targets outside of root dir don't build #366
- โ Upper limit on number of flag combinations to test #543
- ๐ Fuzzy matching support to give better error messages for close version numbers #504
--local-bin-path
global option. Use to change where binaries get placed on a--copy-bins
#342- Custom snapshots #111
- ๐ฆ --force-dirty flag: Force treating all local packages as having dirty files (useful for cases where stack can't detect a file change)
- ๐ GHC error messages: display file paths as absolute instead of relative for better editor integration
- โ Add the
--copy-bins
option #569 - โ Give warnings on unexpected config keys #48
- โ Remove Docker
pass-host
option - Don't require cabal-install to upload #313
- ๐ฆ Generate indexes for all deps and all installed snapshot packages #143
- Provide
--resolver global
option #645- Also supports
--resolver nightly
,--resolver lts
, and--resolver lts-X
- Also supports
- ๐ Make
stack build --flag
error when flag or package is unknown #617 - Preserve file permissions when unpacking sources #666
- ๐
stack build
etc work outside of a project list-dependencies
command #638- โฌ๏ธ
--upgrade-cabal
option tostack setup
#174 --exec
option #651--only-dependencies
implemented correctly #387
๐ Bug fixes:
- 0๏ธโฃ Extensions from the
other-extensions
field no longer enabled by default #449 - ๐ Fix: haddock forces rebuild of empty packages #452
- Don't copy over executables excluded by component selection #605
- ๐ Fix: stack fails on Windows with git package in stack.yaml and no git binary on path #712
- ๐ Fixed GHCi issue: Specifying explicit package versions (#678)
- ๐ Fixed GHCi issue: Specifying -odir and -hidir as .stack-work/odir (#529)
- ๐ Fixed GHCi issue: Specifying A instead of A.ext for modules (#498)
- Detect when a module is compiled but not listed in the cabal file (#32)