Skip to content

Commit 681c800

Browse files
committed
v1.7.1
1 parent 783158f commit 681c800

File tree

32 files changed

+55
-77
lines changed

32 files changed

+55
-77
lines changed

ChangeLog.md

Lines changed: 21 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,7 @@
11
# Changelog
22

33

4-
## Unreleased changes
5-
6-
Release notes:
7-
8-
Major changes:
9-
10-
Behavior changes:
11-
12-
Other enhancements:
13-
14-
Bug fixes:
15-
16-
17-
## v1.7.0.3 (release candidate)
18-
19-
Other enhancements:
20-
21-
* `stack unpack` now supports a `--to /target/directory` option to
22-
specify where to unpack the package into
23-
* `stack hoogle` now supports a new flag `--server` that launches local
24-
Hoogle server on port 8080. See
25-
[#2310](https://github.com/commercialhaskell/stack/issues/2310)
26-
27-
Bug fixes:
28-
29-
* When a package contained sublibraries, stack was always recompiling the
30-
package. This has been fixed now, no recompilation is being done because of
31-
sublibraries. See [#3899](https://github.com/commercialhaskell/stack/issues/3899).
32-
* The `get-stack.sh` install script now matches manual instructions
33-
when it comes to Debian/Fedora/CentOS install dependencies.
34-
* Compile Cabal-simple with gmp when using Nix.
35-
See [#2944](https://github.com/commercialhaskell/stack/issues/2944)
36-
* `stack ghci` now replaces the stack process with ghci. This improves
37-
signal handling behavior. In particular, handling of Ctrl-C. To make
38-
this possible, the generated files are now left behind after exit.
39-
The paths are based on hashing file contents, and it's stored in the
40-
system temporary directory, so this shouldn't result in too much
41-
garbage. See
42-
[#3821](https://github.com/commercialhaskell/stack/issues/3821).
43-
44-
45-
## v1.7.0.1 (release candidate)
4+
## v1.7.1
465

476
Release notes:
487

@@ -60,7 +19,6 @@ Behavior changes:
6019
distributions that use GCC with PIE enabled by default. GHC detects
6120
this itself since ghc-8.0.2, and Stack's attempted workaround for older
6221
versions caused more problems than it solved.
63-
6422
* `stack new` no longer initializes a project if the project template contains
6523
a stack.yaml file.
6624

@@ -94,6 +52,11 @@ Other enhancements:
9452
i.e. `stack build --keep-tmp-files --ghc-options=-keep-tmp-files`.
9553
See [#3857](https://github.com/commercialhaskell/stack/issues/3857)
9654
* Improved error messages for snapshot parse exceptions
55+
* `stack unpack` now supports a `--to /target/directory` option to
56+
specify where to unpack the package into
57+
* `stack hoogle` now supports a new flag `--server` that launches local
58+
Hoogle server on port 8080. See
59+
[#2310](https://github.com/commercialhaskell/stack/issues/2310)
9760

9861
Bug fixes:
9962

@@ -118,11 +81,26 @@ Bug fixes:
11881
[#3589](https://github.com/commercialhaskell/stack/issues/3589#issuecomment)
11982
* `stack ghci` now uses correct paths for autogen files with
12083
[#3791](https://github.com/commercialhaskell/stack/issues/3791)
84+
* When a package contained sublibraries, stack was always recompiling the
85+
package. This has been fixed now, no recompilation is being done because of
86+
sublibraries. See [#3899](https://github.com/commercialhaskell/stack/issues/3899).
87+
* The `get-stack.sh` install script now matches manual instructions
88+
when it comes to Debian/Fedora/CentOS install dependencies.
89+
* Compile Cabal-simple with gmp when using Nix.
90+
See [#2944](https://github.com/commercialhaskell/stack/issues/2944)
91+
* `stack ghci` now replaces the stack process with ghci. This improves
92+
signal handling behavior. In particular, handling of Ctrl-C. To make
93+
this possible, the generated files are now left behind after exit.
94+
The paths are based on hashing file contents, and it's stored in the
95+
system temporary directory, so this shouldn't result in too much
96+
garbage. See
97+
[#3821](https://github.com/commercialhaskell/stack/issues/3821).
12198

12299

123100
## v1.6.5
124101

125102
Bug fixes:
103+
126104
* Some unnecessary rebuilds when no files were changed are now avoided, by
127105
having a separate build cache for each component of a package. See
128106
[#3732](https://github.com/commercialhaskell/stack/issues/3732).

doc/GUIDE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ With that out of the way, let's dig a little bit more into these package sets,
427427
also known as *snapshots*. We mentioned the LTS resolvers, and you can get quite a bit of
428428
information about it at [https://www.stackage.org/lts](https://www.stackage.org/lts), including:
429429

430-
* The appropriate resolver value (`resolver: lts-11.5`, as is currently the latest LTS)
430+
* The appropriate resolver value (`resolver: lts-11.6`, as is currently the latest LTS)
431431
* The GHC version used
432432
* A full list of all packages available in this snapshot
433433
* The ability to perform a Hoogle search on the packages in this snapshot
@@ -444,7 +444,7 @@ default as well).
444444

445445
## Resolvers and changing your compiler version
446446

447-
Let's explore package sets a bit further. Instead of lts-11.5, let's change our
447+
Let's explore package sets a bit further. Instead of lts-11.6, let's change our
448448
`stack.yaml` file to use [the latest nightly](https://www.stackage.org/nightly). Right now,
449449
this is currently 2017-12-19 - please see the resolve from the link above to get the latest.
450450

@@ -460,8 +460,8 @@ We can also change resolvers on the command line, which can be useful in a
460460
Continuous Integration (CI) setting, like on Travis. For example:
461461

462462
```
463-
michael@d30748af6d3d:~/helloworld$ stack --resolver lts-11.5 build
464-
Downloaded lts-11.5 build plan.
463+
michael@d30748af6d3d:~/helloworld$ stack --resolver lts-11.6 build
464+
Downloaded lts-11.6 build plan.
465465
# build output ...
466466
```
467467

etc/scripts/install-many-stack-releases.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env stack
22
{- stack script
3-
--resolver lts-11.5
3+
--resolver lts-11.6
44
--package base
55
--package directory
66
--package filepath

etc/scripts/stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
resolver: lts-11.5
1+
resolver: lts-11.6

package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: stack
2-
version: '1.7.0.4'
2+
version: '1.7.1'
33
synopsis: The Haskell Tool Stack
44
description: ! 'Please see the README.md for usage information, and
55
the wiki on Github for more details. Also, note that

stack-nightly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: nightly-2018-04-23
1+
resolver: nightly-2018-04-25
22

33
# docker:
44
# enable: true

stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: lts-11.5
1+
resolver: lts-11.6
22

33
# docker:
44
# enable: true

test/integration/lib/StackTest.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ isMacOSX = os == "darwin"
208208
-- the main @stack.yaml@.
209209
--
210210
defaultResolverArg :: String
211-
defaultResolverArg = "--resolver=lts-11.5"
211+
defaultResolverArg = "--resolver=lts-11.6"
212212

213213
-- | Remove a file and ignore any warnings about missing files.
214214
removeFileIgnore :: FilePath -> IO ()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: lts-11.5
1+
resolver: lts-11.6
22
name: snapshot-modify-lts
33
drop-packages:
44
- zlib
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
resolver: lts-11.5
2+
resolver: lts-11.6
33
name: local-snapshot
44
packages:
55
- archive: package-0.1.2.3.tar.gz

0 commit comments

Comments
 (0)