@@ -27,23 +27,37 @@ Bug fixes:
2727
2828Release notes:
2929
30+ * For the _ next_ stack release after this one, we are planning
31+ changes to our Linux releases, including dropping our Ubuntu,
32+ Debian, CentOS, and Fedora package repositories and switching to
33+ statically linked binaries. See
34+ [ #2534 ] ( https://github.com/commercialhaskell/stack/issues/2534 ) .
35+ Note that upgrading without a package manager has gotten easier
36+ with new binary upgrade support in ` stack upgrade ` (see the Major
37+ Changes section below for more information). In addition, the
38+ get.haskellstack.org script no longer installs from Ubuntu,
39+ Debian, CentOS, or Fedora package repositories. Instead it places
40+ a generic binary in /usr/local/bin.
41+
3042Major changes:
3143
32- * ` stack ghci ` now defaults to skipping the build of target packages, because
33- support has been added for invoking "initial build steps", which create
34- autogen files and run preprocessors. The ` --no-build ` flag is now deprecated
35- because it should no longer be necessary. See
36- [ #1364 ] ( https://github.com/commercialhaskell/stack/issues/1364 )
3744* Stack will now always use its own GHC installation, even when a suitable GHC
3845 installation is available on the PATH. To get the old behaviour, use
3946 the ` --system-ghc ` flag or run ` stack config set system-ghc --global true ` .
4047 Docker- and Nix-enabled projects continue to use the GHC installations
4148 in their environment by default.
4249
43- NB: Scripts that previously used stack in combination with a system GHC
44- installation should now include a ` stack setup ` line or use the ` --install-ghc `
45- flag.
46- [ #2221 ] ( https://github.com/commercialhaskell/stack/issues/2221 )
50+ NB: Scripts that previously used stack in combination with a system GHC
51+ installation should now include a ` stack setup ` line or use the ` --install-ghc `
52+ flag.
53+ [ #2221 ] ( https://github.com/commercialhaskell/stack/issues/2221 )
54+
55+ * ` stack ghci ` now defaults to skipping the build of target packages, because
56+ support has been added for invoking "initial build steps", which create
57+ autogen files and run preprocessors. The ` --no-build ` flag is now deprecated
58+ because it should no longer be necessary. See
59+ [ #1364 ] ( https://github.com/commercialhaskell/stack/issues/1364 )
60+
4761* Stack is now capable of doing binary upgrades instead of always
4862 recompiling a new version from source. Running ` stack upgrade ` will
4963 now default to downloading a binary version of Stack from the most
@@ -56,8 +70,10 @@ Behavior changes:
5670* Passing ` --resolver X ` with a Stack command which forces creation of a global
5771 project config, will pass resolver X into the initial config.
5872 See [ #2579 ] ( https://github.com/commercialhaskell/stack/issues/2229 ) .
73+
5974* Switch the "Run from outside project" messages to debug-level, to
6075 avoid spamming users in the normal case of non-project usage
76+
6177* If a remote package is specified (such as a Git repo) without an explicit
6278 ` extra-dep ` setting, a warning is given to the user to provide one
6379 explicitly.
@@ -111,9 +127,17 @@ Other enhancements:
111127* The install location for GHC and other programs can now be configured with the
112128 ` local-programs-path ` option in ` config.yaml ` .
113129 [ #1644 ] ( https://github.com/commercialhaskell/stack/issues/1644 )
114- * ` stack build ` and related commands now allow the user to disable debug symbol stripping
115- with new ` --no-strip ` , ` --no-library-stripping ` , and ` --no-executable-shipping ` flags,
116- closing [ #877 ] ( https://github.com/commercialhaskell/stack/issues/877 ) .
130+ * Added option to add nix dependencies as nix GC roots
131+ * Proper pid 1 (init) process for ` stack exec ` with Docker
132+ * Dump build logs if they contain warnings.
133+ [ #2545 ] ( https://github.com/commercialhaskell/stack/issues/2545 )
134+ * Docker: redirect stdout of ` docker pull ` to stderr so that
135+ it will not interfere with output of other commands.
136+ * Nix & docker can be activated at the same time, in order to run stack in a nix-shell
137+ in a container, preferably from an image already containing the nix dependencies
138+ in its /nix/store
139+ * Stack/nix: Dependencies can be added as nix GC roots, so they are not removed
140+ when running ` nix-collect-garbage `
117141
118142Bug fixes:
119143
@@ -205,9 +229,6 @@ Behavior changes:
205229
206230Other enhancements:
207231
208- * Nix & docker can be activated at the same time, in order to run stack in a nix-shell
209- in a container, preferably from an image already containing the nix dependencies
210- in its /nix/store
211232* Use the ` store ` package for binary serialization of most caches.
212233* Only require minor version match for Docker stack exe.
213234 This way, we can make patch releases for version bounds and similar
@@ -217,8 +238,6 @@ Other enhancements:
217238 See [ #2243 ] ( https://github.com/commercialhaskell/stack/issues/2243 )
218239* Stack/Nix: Sets ` LD_LIBRARY_PATH ` so packages using C libs for Template Haskell can work
219240 (See _ e.g._ [ this HaskellR issue] ( https://github.com/tweag/HaskellR/issues/253 ) )
220- * Stack/nix: Dependencies can be added as nix GC roots, so they are not removed
221- when running ` nix-collect-garbage `
222241* Parse CLI arguments and configuration files into less permissive types,
223242 improving error messages for bad inputs.
224243 [ #2267 ] ( https://github.com/commercialhaskell/stack/issues/2267 )
0 commit comments