Skip to content

Commit 096a76a

Browse files
committed
Update ChangeLog
1 parent 0d1a3d2 commit 096a76a

File tree

1 file changed

+36
-14
lines changed

1 file changed

+36
-14
lines changed

ChangeLog.md

Lines changed: 36 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,37 @@
44

55
Release notes:
66

7+
* For the _next_ stack release after this one, we are planning
8+
changes to our Linux releases, including dropping our Ubuntu,
9+
Debian, CentOS, and Fedora package repositories and switching to
10+
statically linked binaries. See
11+
[#2534](https://github.com/commercialhaskell/stack/issues/2534).
12+
Note that upgrading without a package manager has gotten easier
13+
with new binary upgrade support in `stack upgrade` (see the Major
14+
Changes section below for more information). In addition, the
15+
get.haskellstack.org script no longer installs from Ubuntu,
16+
Debian, CentOS, or Fedora package repositories. Instead it places
17+
a generic binary in /usr/local/bin.
18+
719
Major changes:
820

9-
* `stack ghci` now defaults to skipping the build of target packages, because
10-
support has been added for invoking "initial build steps", which create
11-
autogen files and run preprocessors. The `--no-build` flag is now deprecated
12-
because it should no longer be necessary. See
13-
[#1364](https://github.com/commercialhaskell/stack/issues/1364)
1421
* Stack will now always use its own GHC installation, even when a suitable GHC
1522
installation is available on the PATH. To get the old behaviour, use
1623
the `--system-ghc` flag or run `stack config set system-ghc --global true`.
1724
Docker- and Nix-enabled projects continue to use the GHC installations
1825
in their environment by default.
1926

20-
NB: Scripts that previously used stack in combination with a system GHC
21-
installation should now include a `stack setup` line or use the `--install-ghc`
22-
flag.
23-
[#2221](https://github.com/commercialhaskell/stack/issues/2221)
27+
NB: Scripts that previously used stack in combination with a system GHC
28+
installation should now include a `stack setup` line or use the `--install-ghc`
29+
flag.
30+
[#2221](https://github.com/commercialhaskell/stack/issues/2221)
31+
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)
37+
2438
* Stack is now capable of doing binary upgrades instead of always
2539
recompiling a new version from source. Running `stack upgrade` will
2640
now default to downloading a binary version of Stack from the most
@@ -33,8 +47,10 @@ Behavior changes:
3347
* Passing `--resolver X` with a Stack command which forces creation of a global
3448
project config, will pass resolver X into the initial config.
3549
See [#2579](https://github.com/commercialhaskell/stack/issues/2229).
50+
3651
* Switch the "Run from outside project" messages to debug-level, to
3752
avoid spamming users in the normal case of non-project usage
53+
3854
* If a remote package is specified (such as a Git repo) without an explicit
3955
`extra-dep` setting, a warning is given to the user to provide one
4056
explicitly.
@@ -88,6 +104,17 @@ Other enhancements:
88104
* The install location for GHC and other programs can now be configured with the
89105
`local-programs-path` option in `config.yaml`.
90106
[#1644](https://github.com/commercialhaskell/stack/issues/1644)
107+
* Added option to add nix dependencies as nix GC roots
108+
* Proper pid 1 (init) process for `stack exec` with Docker
109+
* Dump build logs if they contain warnings.
110+
[#2545](https://github.com/commercialhaskell/stack/issues/2545)
111+
* Docker: redirect stdout of `docker pull` to stderr so that
112+
it will not interfere with output of other commands.
113+
* Nix & docker can be activated at the same time, in order to run stack in a nix-shell
114+
in a container, preferably from an image already containing the nix dependencies
115+
in its /nix/store
116+
* Stack/nix: Dependencies can be added as nix GC roots, so they are not removed
117+
when running `nix-collect-garbage`
91118

92119
Bug fixes:
93120

@@ -179,9 +206,6 @@ Behavior changes:
179206

180207
Other enhancements:
181208

182-
* Nix & docker can be activated at the same time, in order to run stack in a nix-shell
183-
in a container, preferably from an image already containing the nix dependencies
184-
in its /nix/store
185209
* Use the `store` package for binary serialization of most caches.
186210
* Only require minor version match for Docker stack exe.
187211
This way, we can make patch releases for version bounds and similar
@@ -191,8 +215,6 @@ Other enhancements:
191215
See [#2243](https://github.com/commercialhaskell/stack/issues/2243)
192216
* Stack/Nix: Sets `LD_LIBRARY_PATH` so packages using C libs for Template Haskell can work
193217
(See _e.g._ [this HaskellR issue](https://github.com/tweag/HaskellR/issues/253))
194-
* Stack/nix: Dependencies can be added as nix GC roots, so they are not removed
195-
when running `nix-collect-garbage`
196218
* Parse CLI arguments and configuration files into less permissive types,
197219
improving error messages for bad inputs.
198220
[#2267](https://github.com/commercialhaskell/stack/issues/2267)

0 commit comments

Comments
 (0)