Skip to content

Commit 189a004

Browse files
authored
Merge pull request #6793 from commercialhaskell/lts-24.3
Bump to Stackage LTS Haskell 24.4
2 parents be06675 + 80a2d66 commit 189a004

File tree

84 files changed

+145
-144
lines changed

Some content is hidden

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

84 files changed

+145
-144
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,9 @@ compatibility with a range of versions of GHC that a library package (such as
348348
Stack aims to depend on well-known packages. The specific versions on which it
349349
depends at any time are specified by `package.yaml` and `stack.yaml`. It does
350350
not aim to be compatible with more than one version of the `Cabal` package at
351-
any time. At the time of writing (June 2025) the package versions are
352-
primarily ones in Stackage snapshot LTS Haskell 24.0 (for GHC 9.10.2).
351+
any time. At the time of writing (August 2025) the package versions are
352+
primarily ones in Stackage snapshot LTS Haskell 24.4 (for GHC 9.10.2) and
353+
`pantry-0.11.0`.
353354

354355
A Stack executable makes use of Cabal (the library) through a small 'Setup'
355356
executable that it compiles from Haskell source code. The executable compiles

cabal.config

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ constraints:
99
, aeson ==2.2.3.0
1010
, aeson-warning-parser ==0.1.1
1111
, annotated-wl-pprint ==0.7.0
12-
, ansi-terminal ==1.1.2
13-
, ansi-terminal-types ==1.1
12+
, ansi-terminal ==1.1.3
13+
, ansi-terminal-types ==1.1.3
1414
, appar ==0.1.8
1515
, array ==0.5.8.0
1616
, asn1-encoding ==0.9.6
@@ -30,7 +30,7 @@ constraints:
3030
, bifunctors ==5.6.2
3131
, binary ==0.8.9.3
3232
, bitvec ==1.1.5.0
33-
, blaze-builder ==0.4.3
33+
, blaze-builder ==0.4.4
3434
, blaze-html ==0.9.2.0
3535
, blaze-markup ==0.8.3.0
3636
, byteorder ==1.0.4
@@ -55,9 +55,10 @@ constraints:
5555
, cryptohash-sha256 ==0.11.102.1
5656
, crypton ==1.0.4
5757
, crypton-conduit ==0.2.3
58-
, crypton-connection ==0.4.4
58+
, crypton-connection ==0.4.5
59+
, crypton-socks ==0.6.2
5960
, crypton-x509 ==1.7.7
60-
, crypton-x509-store ==1.6.10
61+
, crypton-x509-store ==1.6.11
6162
, crypton-x509-system ==1.6.7
6263
, crypton-x509-validation ==1.6.14
6364
, data-default ==0.8.0.1
@@ -91,8 +92,8 @@ constraints:
9192
, githash ==0.1.7.0
9293
, hackage-security ==0.6.3.1
9394
, half ==0.3.3
94-
, happy ==2.1.5
95-
, happy-lib ==2.1.5
95+
, happy ==2.1.6
96+
, happy-lib ==2.1.6
9697
, hashable ==1.5.0.0
9798
, haskell-src-exts ==1.23.1
9899
, haskell-src-meta ==0.8.15
@@ -140,7 +141,7 @@ constraints:
140141
, optparse-applicative ==0.18.1.0
141142
, optparse-simple ==0.1.1.4
142143
, os-string ==2.0.4
143-
, pantry ==0.10.1
144+
, pantry ==0.11.0
144145
, parsec ==3.1.18.0
145146
, parser-combinators ==1.3.0
146147
, path ==0.9.6
@@ -172,7 +173,6 @@ constraints:
172173
, semigroupoids ==6.0.1
173174
, serialise ==0.2.6.1
174175
, silently ==1.2.5.4
175-
, socks ==0.6.1
176176
, split ==0.2.5
177177
, splitmix ==0.1.3.1
178178
, stack ==3.8.0

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
-- specified by the snapshot specifed in Stack's project-level YAML
3434
-- configuration file (`stack.yaml`). The relevant version of GHC can be
3535
-- confirmed by reviewing the snapshot on Stackage. For example, at:
36-
-- https://www.stackage.org/lts-24.0/cabal.config.
36+
-- https://www.stackage.org/lts-24.4/cabal.config.
3737
--
3838
with-compiler: ghc-9.10.2
3939
import: cabal.config

doc/commands/list_command.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,17 @@ Error: [S-4926]
4545
tasty, retry, path, pretty, pasty, xattr, alloy, para, pappy and
4646
alure.
4747
48-
stack --snapshot lts-24.0 list base unix Win32 acme-missiles pantry
48+
stack --snapshot lts-24.4 list base unix Win32 acme-missiles pantry
4949
Error: [S-4926]
5050
* Package does not appear in snapshot (directly or indirectly): acme-missiles.
5151
52-
stack --snapshot lts-24.0 list base unix Win32 pantry
52+
stack --snapshot lts-24.4 list base unix Win32 pantry
5353
base-4.20.1.0
5454
unix-2.8.6.0
5555
Win32-2.14.1.0
5656
pantry-0.10.1
5757
58-
stack --snapshot lts-24.0 list
58+
stack --snapshot lts-24.4 list
5959
AC-Angle-1.0
6060
ALUT-2.4.0.3
6161
...

doc/commands/script_command.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ A snapshot must be specified on the command line, using the `--snapshot` option.
4949
For example:
5050

5151
~~~text
52-
stack script --snapshot lts-24.0 MyScript.hs
52+
stack script --snapshot lts-24.4 MyScript.hs
5353
~~~
5454

5555
An immutable extra-dep can be added to the snapshot on the command line with the
@@ -211,7 +211,7 @@ main = do
211211
can be compiled and run, with arguments, with:
212212

213213
~~~text
214-
stack --snapshot lts-24.0 script --package acme-missiles --compile MyScript.hs -- "Don't panic!" "Duck and cover!"
214+
stack --snapshot lts-24.4 script --package acme-missiles --compile MyScript.hs -- "Don't panic!" "Duck and cover!"
215215
~~~
216216

217217
`acme-missiles-0.3` (the most recent version in the package index) will be used.
@@ -231,7 +231,7 @@ snapshot as an extra-dep. The `stack script` command is specified using Stack's
231231

232232
~~~haskell
233233
{- stack script
234-
-- snapshot lts-24.0
234+
-- snapshot lts-24.4
235235
-- extra-dep acme-missiles-0.2
236236
-- package acme-missiles
237237
-}
@@ -333,7 +333,7 @@ A Haskell source file `MyScript.hs`, as follows:
333333

334334
~~~haskell
335335
{- stack script
336-
--snapshot lts-24.0
336+
--snapshot lts-24.4
337337
-}
338338

339339
{-# LANGUAGE OverloadedStrings #-}

doc/configure/yaml/non-project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ can be used to override the compiler (and, implicitly, its boot packages) for a
300300
Stackage snapshot, like this:
301301

302302
~~~yaml
303-
snapshot: lts-24.0
303+
snapshot: lts-24.4
304304
compiler: ghc-9.10.1
305305
compiler-check: match-exact
306306
~~~

doc/configure/yaml/project.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ installation, and various settings like build flags. It is also called a
4040
resolver since a snapshot states how dependencies are resolved. There are
4141
currently four snapshot types:
4242

43-
* LTS Haskell snapshots, e.g. `snapshot: lts-24.0`
44-
* Stackage Nightly snapshots, e.g. `snapshot: nightly-2025-07-14`
43+
* LTS Haskell snapshots, e.g. `snapshot: lts-24.4`
44+
* Stackage Nightly snapshots, e.g. `snapshot: nightly-2025-08-17`
4545
* No snapshot, just use packages shipped with the compiler. For GHC this looks
4646
like `snapshot: ghc-9.10.2`
4747
* Custom snapshot, via a URL or relative file path. For further information, see

doc/topics/Stack_and_VS_Code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ VS Code with the 'Haskell' extension can be configured in a number of ways:
150150

151151
Each time that a snapshot is used that references a different version of
152152
GHC, then GHCup must be used to install it (if GHCup has not already
153-
installed that version). For example, to use `snapshot: lts-24.0`
153+
installed that version). For example, to use `snapshot: lts-24.4`
154154
(GHC 9.10.2), the command `ghcup install ghc 9.10.2` must have been used
155155
to install GHC 9.10.2. That may be a minor inconvenience for some people,
156156
as one the primary benefits of Stack over other tools for building

doc/topics/custom_snapshot.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ available in snapshots to ensure reproducibility.
3030
~~~yaml
3131
# Inherits a specific GHC version and, implicitly, its boot packages and
3232
# specific versions of a set of other packages:
33-
snapshot: lts-24.0
33+
snapshot: lts-24.4
3434
# Overwrites the version of GHC (and, implicitly, its boot packages) specified
3535
# in the snapshot (optional):
3636
compiler: ghc-9.10.1
@@ -76,36 +76,36 @@ custom snapshot, due to Stack sharing snapshot packages whenever possible.
7676

7777
### Overriding the compiler
7878

79-
The following snapshot specification will be identical to `lts-24.0`, but
79+
The following snapshot specification will be identical to `lts-24.4`, but
8080
instead use `ghc-9.10.1` and its boot packages instead of `ghc-9.10.2` and its
8181
boot packages:
8282

8383
~~~yaml
84-
snapshot: lts-24.0 # GHC 9.10.2
84+
snapshot: lts-24.4 # GHC 9.10.2
8585
compiler: ghc-9.10.1
8686
~~~
8787

8888
### Dropping packages
8989

90-
The following snapshot specification will be identical to `lts-24.0`, but
90+
The following snapshot specification will be identical to `lts-24.4`, but
9191
without the `text` package in our snapshot. Removing this package will cause all
9292
the packages that depend on `text` to be unbuildable, but they will still be
9393
present in the snapshot.
9494

9595
~~~yaml
96-
snapshot: lts-24.0
96+
snapshot: lts-24.4
9797
drop-packages:
9898
- text
9999
~~~
100100

101101
### Hiding packages
102102

103-
The following snapshot specification will be identical to `lts-24.0`, but the
103+
The following snapshot specification will be identical to `lts-24.4`, but the
104104
`text` package will be hidden when registering. This will affect, for example,
105105
the import parser in the script command.
106106

107107
~~~yaml
108-
snapshot: lts-24.0
108+
snapshot: lts-24.4
109109
hidden:
110110
- text
111111
~~~
@@ -116,11 +116,11 @@ In order to specify GHC options for a package, you use the same syntax as the
116116
[ghc-options](../configure/yaml/non-project.md#ghc-options) key for build
117117
configuration.
118118

119-
The following snapshot specification will be identical to `lts-24.0`, but
119+
The following snapshot specification will be identical to `lts-24.4`, but
120120
provides `-O1` as a ghc-option for `text`:
121121

122122
~~~yaml
123-
snapshot: lts-24.0
123+
snapshot: lts-24.4
124124
packages:
125125
- text-2.1.2
126126
ghc-options:
@@ -139,11 +139,11 @@ packages in the `packages` list, rather than all packages in the snapshot.
139139

140140
In order to specify Cabal flags for a package, you use the same syntax as the
141141
[flags](../configure/yaml/project.md#flags) key for build configuration. The
142-
following snapshot specification will be identical to `lts-24.0`, but
142+
following snapshot specification will be identical to `lts-24.4`, but
143143
it enables the `developer` Cabal flag:
144144

145145
~~~yaml
146-
snapshot: lts-24.0
146+
snapshot: lts-24.4
147147
packages:
148148
- text-2.1.2
149149
flags:

doc/topics/haskell_and_c_code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ executables:
8383

8484
The project's `stack.yaml` file only needs to identify a snapshot:
8585
~~~yaml
86-
snapshot: lts-24.0 # GHC 9.10.2
86+
snapshot: lts-24.4 # GHC 9.10.2
8787
~~~
8888

8989
This example project can be built with Stack in the normal way (`stack build`),
@@ -220,7 +220,7 @@ The `include-dirs` key will cause the specified directory (again,
220220

221221
The project's `stack.yaml` file only needs to identify a snapshot:
222222
~~~yaml
223-
snapshot: lts-24.0 # GHC 9.10.2
223+
snapshot: lts-24.4 # GHC 9.10.2
224224
~~~
225225

226226
This example project can be built with Stack in the normal way (`stack build`),

0 commit comments

Comments
 (0)