Skip to content

Commit 7b17c90

Browse files
committed
Release preparation
1 parent 4f058d0 commit 7b17c90

File tree

8 files changed

+22
-19
lines changed

8 files changed

+22
-19
lines changed

ChangeLog.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# Changelog
22

3-
## Unreleased changes
3+
## v3.1.0.1 (release candidate)
44

55
Release notes:
66

7+
* The change in major version from 2.x to 3.1 marks the dropping of support for
8+
versions of GHC before 8.4, deprecated in Stack 2.15.1.
9+
710
**Changes since v2.15.7:**
811

912
Behavior changes:

cabal.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ constraints:
165165
, socks ==0.6.1
166166
, split ==0.2.5
167167
, splitmix ==0.1.0.5
168-
, stack ==2.16.0
168+
, stack ==3.1.0.1
169169
, static-bytes ==0.1.0
170170
, stm ==2.5.1.0
171171
, stm-chans ==3.0.0.9

doc/GUIDE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ also known as *snapshots*. We mentioned the LTS snapshots, and you can get quite
507507
a bit of information about it at
508508
[https://www.stackage.org/lts](https://www.stackage.org/lts), including:
509509

510-
* The appropriate value (`lts-22.13`, as is currently the latest LTS)
510+
* The appropriate value (`lts-22.28`, as is currently the latest LTS)
511511
* The GHC version used
512512
* A full list of all packages available in this snapshot
513513
* The ability to perform a Hoogle search on the packages in this snapshot
@@ -525,25 +525,25 @@ towards by default as well).
525525

526526
## Snapshots and changing your compiler version
527527

528-
Let's explore package sets a bit further. Instead of `lts-22.13`, let's change
528+
Let's explore package sets a bit further. Instead of `lts-22.28`, let's change
529529
our `stack.yaml` file to use the
530530
[latest nightly](https://www.stackage.org/nightly). Right now, this is currently
531-
2024-03-20 - please see the snapshot from the link above to get the latest.
531+
2024-07-05 - please see the snapshot from the link above to get the latest.
532532

533533
Then, commanding `stack build` again will produce:
534534

535535
~~~text
536536
stack build
537-
# Downloaded nightly-2024-03-20 build plan.
537+
# Downloaded nightly-2024-07-05 build plan.
538538
# build output ...
539539
~~~
540540

541541
We can also change snapshots on the command line, which can be useful in a
542542
Continuous Integration (CI) setting, like on Travis. For example, command:
543543

544544
~~~text
545-
stack --snapshot lts-21.25 build
546-
# Downloaded lts-21.25 build plan.
545+
stack --snapshot lts-22.27 build
546+
# Downloaded lts-22.27 build plan.
547547
# build output ...
548548
~~~
549549

doc/global_flags.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ specific configuration [option](yaml_configuration.md#ghc-variant).
8787

8888
## `--[no-]hpack-force` flag
8989

90-
:octicons-tag-24: UNRELEASED
90+
[:octicons-tag-24: 3.1.1](https://github.com/commercialhaskell/stack/releases/tag/v3.1.1)
9191

9292
Default: Disabled
9393

doc/yaml_configuration.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ Integer indicating how many simultaneous downloads are allowed to happen.
984984

985985
### default-init-snapshot
986986

987-
:octicons-tag-24: UNRELEASED
987+
[:octicons-tag-24: 3.1.1](https://github.com/commercialhaskell/stack/releases/tag/v3.1.1)
988988

989989
Default: As for the [`stack init`](init_command.md) command when no snapshot is
990990
specified at the command line.
@@ -1113,7 +1113,7 @@ compiler's binary directory - will take precedence over those specified here
11131113

11141114
### file-watch-hook
11151115

1116-
:octicons-tag-24: UNRELEASED
1116+
[:octicons-tag-24: 3.1.1](https://github.com/commercialhaskell/stack/releases/tag/v3.1.1)
11171117

11181118
Specifies the location of an executable or `sh` shell script to be run after
11191119
each attempted build with
@@ -1218,7 +1218,7 @@ This option is incompatible with `system-ghc: true`.
12181218

12191219
### global-hints-location
12201220

1221-
:octicons-tag-24: UNRELEASED
1221+
[:octicons-tag-24: 3.1.1](https://github.com/commercialhaskell/stack/releases/tag/v3.1.1)
12221222

12231223
Default:
12241224

@@ -1296,7 +1296,7 @@ Template Haskell.
12961296

12971297
### hpack-force
12981298

1299-
:octicons-tag-24: UNRELEASED
1299+
[:octicons-tag-24: 3.1.1](https://github.com/commercialhaskell/stack/releases/tag/v3.1.1)
13001300

13011301
Default: `false`
13021302

@@ -1411,7 +1411,7 @@ modify-code-page: false
14111411

14121412
### msys-environment
14131413

1414-
:octicons-tag-24: UNRELEASED
1414+
[:octicons-tag-24: 3.1.1](https://github.com/commercialhaskell/stack/releases/tag/v3.1.1)
14151415

14161416
Restrictions: Windows systems only.
14171417

@@ -2156,7 +2156,7 @@ esac
21562156

21572157
### `--file-watch` post-processing
21582158

2159-
:octicons-tag-24: UNRELEASED
2159+
[:octicons-tag-24: 3.1.1](https://github.com/commercialhaskell/stack/releases/tag/v3.1.1)
21602160

21612161
On Unix-like operating systems and Windows, Stack's `build --file-watch`
21622162
post-processing can be fully customised by specifying an executable or a `sh`

package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
spec-version: 0.35.0
33

44
name: stack
5-
version: '3.1.0.0'
5+
version: '3.1.0.1'
66
synopsis: The Haskell Tool Stack
77
description: |
88
Please see the documentation at <https://docs.haskellstack.org>

src/Stack/Init.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ getRecommendedSnapshots snapshots =
638638
-- |Yields the minimum LTS supported by Stack.
639639
minSupportedLts :: SnapName
640640
-- See https://github.com/commercialhaskell/stack/blob/master/ChangeLog.md
641-
-- under Stack version UNRELEASED.
641+
-- under Stack version 3.1.1.
642642
minSupportedLts = LTS 12 0
643643

644644
findCabalDirs ::

stack.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
cabal-version: 2.0
22

3-
-- This file has been generated from package.yaml by hpack version 0.37.0.
3+
-- This file has been generated from package.yaml by hpack version 0.36.0.
44
--
55
-- see: https://github.com/sol/hpack
66

77
name: stack
8-
version: 3.1.0.0
8+
version: 3.1.0.1
99
synopsis: The Haskell Tool Stack
1010
description: Please see the documentation at <https://docs.haskellstack.org>
1111
for usage information.

0 commit comments

Comments
 (0)