
See README https://github.com/commercialhaskell/stack#how-to-install for installation and upgrade instructions. Note: while stack-0.1.4.1 is on Hackage, the only change is to a comment so that stack’s haddocks build. Therefore, no new binaries were generated. Functionally, v0.1.4.0 is identical to v0.1.4.1. Note: we have stopped uploading new versions to the Fedora 20 repository, since that version of Fedora has reached end of life https://fedoraproject.org/wiki/End_of_life. If you are using Fedora 20, use stack upgrade or download the general Linux binary https://github.com/commercialhaskell/stack/wiki/Downloads#linux. Major changes: - You now have more control over how GHC versions are matched, e.g. “use exactly this version,” “use the specified minor version, but allow patches,” or “use the given minor version or any later minor in the given major release.” The default has switched from allowing newer later minor versions to a specific minor version allowing patches. For more information, see #736 https://github.com/commercialhaskell/stack/issues/736 and #784 https://github.com/commercialhaskell/stack/pull/784. - Support added for compiling with GHCJS - stack can now reuse prebuilt binaries between snapshots. That means that, if you build package foo in LTS-3.1, that binary version can be reused in LTS-3.2, assuming it uses the same dependencies and flags. #878 https://github.com/commercialhaskell/stack/issues/878 Other enhancements: - Added the --docker-env argument, to set environment variables in Docker container. - Set locale environment variables to UTF-8 encoding for builds to avoid “commitBuffer: invalid argument” errors from GHC #793 https://github.com/commercialhaskell/stack/issues/793 - Enable translitation for encoding on stdout and stderr #824 https://github.com/commercialhaskell/stack/issues/824 - By default, stack upgrade automatically installs GHC as necessary #797 https://github.com/commercialhaskell/stack/issues/797 - Added the ghc-options field to stack.yaml #796 https://github.com/commercialhaskell/stack/issues/796 - Added the extra-path field to stack.yaml - Code page changes on Windows only apply to the build command (and its synonyms), and can be controlled via a command line flag (still defaults to on) #757 https://github.com/commercialhaskell/stack/issues/757 - Implicitly add packages to extra-deps when a flag for them is set #807 https://github.com/commercialhaskell/stack/issues/807 - Use a precompiled Setup.hs for simple build types #801 https://github.com/commercialhaskell/stack/issues/801 - Set —enable-tests and —enable-benchmarks optimistically #805 https://github.com/commercialhaskell/stack/issues/805 - --only-configure option added #820 https://github.com/commercialhaskell/stack/issues/820 - Check for duplicate local package names - Stop nagging people that call stack test #845 https://github.com/commercialhaskell/stack/issues/845 - --file-watch will ignore files that are in your VCS boring/ignore files #703 https://github.com/commercialhaskell/stack/issues/703 - Add --numeric-version option Bug fixes: - stack init --solver fails if GHC_PACKAGE_PATH is present #860 https://github.com/commercialhaskell/stack/issues/860 - stack solver and stack init --solver check for test suite and benchmark dependencies #862 https://github.com/commercialhaskell/stack/issues/862 - More intelligent logic for setting UTF-8 locale environment variables #856 https://github.com/commercialhaskell/stack/issues/856 - Create missing directories for stack sdist - Don’t ignore .cabal files with extra periods #895 https://github.com/commercialhaskell/stack/issues/895 - Deprecate unused --optimizations flag - Truncated output on slow terminals #413 https://github.com/commercialhaskell/stack/issues/413