Skip to content

Commit 667f5c4

Browse files
committed
Merge remote-tracking branch 'upstream/master' into random-test-ghc-env
2 parents fe761f9 + de309ad commit 667f5c4

File tree

154 files changed

+1323
-813
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+1323
-813
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ about: Report a bug in Stack
55

66
Please follow the steps below for reporting a bug:
77

8-
Make sure that you are using the latest release (currently stack-2.7.3).
8+
Make sure that you are using the latest release (currently stack-2.7.5).
99
See the [upgrade instructions](http://docs.haskellstack.org/en/stable/install_and_upgrade/#upgrade) to upgrade.
1010

1111
Please use the following schema for your bug report:

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Feature Request
33
about: Request a feature be added to Stack, or discuss such a feature
44
---
55

6-
Make sure that you are using the latest release (currently stack-2.7.3).
6+
Make sure that you are using the latest release (currently stack-2.7.5).
77
See the [upgrade instructions](http://docs.haskellstack.org/en/stable/install_and_upgrade/#upgrade) to upgrade.
88

99
Please state as clearly as possible what feature you are recommending,

.github/workflows/unit-tests.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,25 @@ jobs:
4747
matrix:
4848
include:
4949
- os: ubuntu-latest
50-
stack-yaml: stack-ghc-88.yaml
51-
extra-suffix: ""
52-
stack-args: ""
53-
- os: ubuntu-latest
54-
stack-yaml: stack-ghc-810.yaml
55-
extra-suffix: ""
56-
stack-args: ""
57-
- os: ubuntu-latest
58-
stack-yaml: stack-nightly.yaml
50+
stack-yaml: stack.yaml
5951
extra-suffix: ""
6052
stack-args: ""
6153
- os: ubuntu-latest
6254
stack-yaml: stack.yaml
6355
extra-suffix: "alpine"
6456
stack-args: "--docker --system-ghc --no-install-ghc --flag stack:static"
57+
- os: ubuntu-latest
58+
stack-yaml: stack-ghc-902.yaml
59+
extra-suffix: ""
60+
stack-args: ""
6561
- os: windows-latest
6662
stack-yaml: stack.yaml
6763
extra-suffix: ""
6864
stack-args: ""
65+
- os: windows-latest
66+
stack-yaml: stack-ghc-902.yaml
67+
extra-suffix: ""
68+
stack-args: ""
6969
- os: macos-latest
7070
stack-yaml: stack.yaml
7171
extra-suffix: ""

CONTRIBUTING.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,17 @@ entry and
5454
[documentation](https://github.com/commercialhaskell/stack/tree/master/doc/)
5555
updates with your pull request.
5656

57+
## Backwards Compatability
58+
59+
The `stack` executable does not need to, and does not, strive for the same broad
60+
compatability with versions of GHC that a library package (such as `pantry`)
61+
would seek. Instead, the `stack` executable aims to define a well-known
62+
combination of dependencies on which it relies. That is applies in particular to
63+
the `Cabal` package, where the `stack` executable aims to support one, and only
64+
one, version of `Cabal` with each release of the executable. At the time of
65+
writing (April 2022) that combination is defined by resolver `lts-17.5` (for
66+
GHC 8.10.4, and including `Cabal-3.2.1.0`) - see `stack.yaml`.
67+
5768
## Code Quality
5869

5970
The Stack projects uses [HLint](https://github.com/ndmitchell/hlint) as a code

ChangeLog.md

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,57 @@
55

66
Release notes:
77

8-
**Changes since v2.7.3:**
8+
**Changes since v2.7.5:**
99

1010
Major changes:
1111

1212
Behavior changes:
1313

14-
* cloning git repositories isn't per sub-directory anymore, see [#5411](https://github.com/commercialhaskell/stack/issues/5411)
14+
* `stack build --coverage` will generate a unified coverage report, even if
15+
there is only one `*.tix` file, in case a package has tested the library of
16+
another package that has not tested its own library. See
17+
[#5713](https://github.com/commercialhaskell/stack/issues/5713)
18+
19+
Other enhancements:
20+
21+
* Bump to `hpack-0.35.0`.
22+
* On Windows, the installer now sets `DisplayVersion` in the registry, enabling
23+
tools like `winget` to properly read the version number.
24+
25+
Bug fixes:
26+
27+
* Fix `stack clean --full`, so that the files to be deleted are not in use. See
28+
[#5714](https://github.com/commercialhaskell/stack/issues/5714)
29+
* Fix an inconsistency in the pretty formatting of the output of
30+
`stack build --coverage`
31+
32+
## v2.7.5
33+
34+
**Changes since v2.7.3:**
35+
36+
Behavior changes:
37+
38+
* Cloning git repositories isn't per sub-directory anymore, see
39+
[#5411](https://github.com/commercialhaskell/stack/issues/5411)
1540

1641
Other enhancements:
1742

1843
* `stack setup` supports installing GHC for macOS aarch64 (M1)
1944

45+
* `stack upload` supports authentication with a Hackage API key (via
46+
`HACKAGE_KEY` environment variable).
47+
2048
Bug fixes:
2149

2250
* Ensure that `extra-path` works for case-insensitive `PATH`s on Windows.
2351
See [rio#237](https://github.com/commercialhaskell/rio/pull/237)
2452
* Fix handling of overwritten `ghc` and `ghc-pkg` locations.
2553
[#5597](https://github.com/commercialhaskell/stack/pull/5597)
54+
* Fix failure to find package when a dependency is shared between projects.
55+
[#5680](https://github.com/commercialhaskell/stack/issues/5680)
56+
* `stack ghci` now uses package flags in `stack.yaml`
57+
[#5434](https://github.com/commercialhaskell/stack/issues/5434)
58+
2659

2760
## v2.7.3
2861

@@ -55,8 +88,6 @@ Bug fixes:
5588
[GHC issue 20074](https://gitlab.haskell.org/ghc/ghc/-/issues/20074)
5689
* Track changes to `setup-config` properly to avoid reconfiguring on every change.
5790
See [#5578](https://github.com/commercialhaskell/stack/issues/5578)
58-
* `stack ghci` now uses package flags in `stack.yaml`
59-
[#5434](https://github.com/commercialhaskell/stack/issues/5434)
6091

6192

6293
## v2.7.1

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2015-2021, Stack contributors
1+
Copyright (c) 2015-2022, Stack contributors
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

Setup.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
2+
23
module Main (main) where
34

45
import Data.List ( nub, sortBy )

0 commit comments

Comments
 (0)