Skip to content

Commit

Permalink
v1.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
borsboom committed Apr 25, 2018
1 parent 783158f commit 681c800
Show file tree
Hide file tree
Showing 32 changed files with 55 additions and 77 deletions.
64 changes: 21 additions & 43 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,7 @@
# Changelog


## Unreleased changes

Release notes:

Major changes:

Behavior changes:

Other enhancements:

Bug fixes:


## v1.7.0.3 (release candidate)

Other enhancements:

* `stack unpack` now supports a `--to /target/directory` option to
specify where to unpack the package into
* `stack hoogle` now supports a new flag `--server` that launches local
Hoogle server on port 8080. See
[#2310](https://github.com/commercialhaskell/stack/issues/2310)

Bug fixes:

* When a package contained sublibraries, stack was always recompiling the
package. This has been fixed now, no recompilation is being done because of
sublibraries. See [#3899](https://github.com/commercialhaskell/stack/issues/3899).
* The `get-stack.sh` install script now matches manual instructions
when it comes to Debian/Fedora/CentOS install dependencies.
* Compile Cabal-simple with gmp when using Nix.
See [#2944](https://github.com/commercialhaskell/stack/issues/2944)
* `stack ghci` now replaces the stack process with ghci. This improves
signal handling behavior. In particular, handling of Ctrl-C. To make
this possible, the generated files are now left behind after exit.
The paths are based on hashing file contents, and it's stored in the
system temporary directory, so this shouldn't result in too much
garbage. See
[#3821](https://github.com/commercialhaskell/stack/issues/3821).


## v1.7.0.1 (release candidate)
## v1.7.1

Release notes:

Expand All @@ -60,7 +19,6 @@ Behavior changes:
distributions that use GCC with PIE enabled by default. GHC detects
this itself since ghc-8.0.2, and Stack's attempted workaround for older
versions caused more problems than it solved.

* `stack new` no longer initializes a project if the project template contains
a stack.yaml file.

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

Bug fixes:

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


## v1.6.5

Bug fixes:

* Some unnecessary rebuilds when no files were changed are now avoided, by
having a separate build cache for each component of a package. See
[#3732](https://github.com/commercialhaskell/stack/issues/3732).
Expand Down
8 changes: 4 additions & 4 deletions doc/GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ With that out of the way, let's dig a little bit more into these package sets,
also known as *snapshots*. We mentioned the LTS resolvers, and you can get quite a bit of
information about it at [https://www.stackage.org/lts](https://www.stackage.org/lts), including:

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

## Resolvers and changing your compiler version

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

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

```
michael@d30748af6d3d:~/helloworld$ stack --resolver lts-11.5 build
Downloaded lts-11.5 build plan.
michael@d30748af6d3d:~/helloworld$ stack --resolver lts-11.6 build
Downloaded lts-11.6 build plan.
# build output ...
```

Expand Down
2 changes: 1 addition & 1 deletion etc/scripts/install-many-stack-releases.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env stack
{- stack script
--resolver lts-11.5
--resolver lts-11.6
--package base
--package directory
--package filepath
Expand Down
2 changes: 1 addition & 1 deletion etc/scripts/stack.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
resolver: lts-11.5
resolver: lts-11.6
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: stack
version: '1.7.0.4'
version: '1.7.1'
synopsis: The Haskell Tool Stack
description: ! 'Please see the README.md for usage information, and
the wiki on Github for more details. Also, note that
Expand Down
2 changes: 1 addition & 1 deletion stack-nightly.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: nightly-2018-04-23
resolver: nightly-2018-04-25

# docker:
# enable: true
Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-11.5
resolver: lts-11.6

# docker:
# enable: true
Expand Down
2 changes: 1 addition & 1 deletion test/integration/lib/StackTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ isMacOSX = os == "darwin"
-- the main @stack.yaml@.
--
defaultResolverArg :: String
defaultResolverArg = "--resolver=lts-11.5"
defaultResolverArg = "--resolver=lts-11.6"

-- | Remove a file and ignore any warnings about missing files.
removeFileIgnore :: FilePath -> IO ()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-11.5
resolver: lts-11.6
name: snapshot-modify-lts
drop-packages:
- zlib
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
resolver: lts-11.5
resolver: lts-11.6
name: local-snapshot
packages:
- archive: package-0.1.2.3.tar.gz
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
resolver: lts-11.5
resolver: lts-11.6
name: remote-snapshot
packages:
- archive: https://hackage.haskell.org/package/ghc-prim-0.5.1.1/ghc-prim-0.5.1.1.tar.gz
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-11.5
resolver: lts-11.6
packages:
- '.'
extra-deps: []
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-11.5
resolver: lts-11.6
packages:
- '.'
extra-deps: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ packages:
- location: https://hackage.haskell.org/package/half-0.2.2.3/half-0.2.2.3.tar.gz
extra-dep: false
extra-deps: []
resolver: lts-11.5
resolver: lts-11.6
2 changes: 1 addition & 1 deletion test/integration/tests/2195-depend-on-exe/files/stack.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
resolver: lts-11.5
resolver: lts-11.6
2 changes: 1 addition & 1 deletion test/integration/tests/32-unlisted-module/files/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-11.5
resolver: lts-11.6
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
resolver: lts-11.5
resolver: lts-11.6
packages:
- '.'
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-11.5
resolver: lts-11.6
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-11.5
resolver: lts-11.6
extra-deps:
- bytestring-0.10.6.0
packages:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-11.5
resolver: lts-11.6

packages:
- ./local-mmorph
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
resolver: lts-11.5
resolver: lts-11.6
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-11.5
resolver: lts-11.6
2 changes: 1 addition & 1 deletion test/integration/tests/366-non-root-dir/files/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-11.5
resolver: lts-11.6
Original file line number Diff line number Diff line change
@@ -1 +1 @@
resolver: lts-11.5
resolver: lts-11.6
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-11.5
resolver: lts-11.6
2 changes: 1 addition & 1 deletion test/integration/tests/717-sdist-test/files/stack.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-11.5
resolver: lts-11.6
packages:
- package-with-th
- package-with-working-th
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-11.5
resolver: lts-11.6
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
resolver: lts-11.5
resolver: lts-11.6
packages: []
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
resolver: lts-11.5
resolver: lts-11.6
packages:
- auto-update-0.1.2.1
2 changes: 1 addition & 1 deletion test/integration/tests/haddock-options/files/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-11.5
resolver: lts-11.6
build:
haddock-arguments:
haddock-args:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-11.5
resolver: lts-11.6
extra-deps: []
flags: {}
extra-package-dbs: []
2 changes: 1 addition & 1 deletion test/integration/tests/multi-test/files/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ packages:
- sub-package
- cyclic
extra-deps: []
resolver: lts-11.5
resolver: lts-11.6

0 comments on commit 681c800

Please sign in to comment.