Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,10 +351,10 @@ compatibility with a range of versions of GHC that a library package (such as
Stack aims to depend on well-known packages. The specific versions on which it
depends at any time are specified by `package.yaml` and `stack.yaml`. It does
not aim to be compatible with more than one version of the `Cabal` package at
any time. At the time of writing (January 2026) the package versions are
primarily ones in Stackage snapshot LTS Haskell 24.37 (for GHC 9.10.3), the
latest version of `Cabal` released on Hackage (`Cabal-3.16.0.0`),
`pantry-0.11.2`, `persistent-2.18.0.0` and the latest version of packages in
any time. At the time of writing (May 2026) the package versions are
primarily ones in Stackage snapshot LTS Haskell 24.43 (for GHC 9.10.3), the
latest version of `Cabal` released on Hackage (`Cabal-3.16.1.0`),
`pantry-0.11.2`, `persistent-2.18.1.0` and the latest version of packages in
the `tls` family (which reduce dependencies on unmaintained packages).

A Stack executable makes use of Cabal (the library) through a small 'Setup'
Expand Down
101 changes: 50 additions & 51 deletions cabal.config
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
constraints:
, Cabal ==3.16.0.0
, Cabal-syntax ==3.16.0.0
, Cabal ==3.16.1.0
, Cabal-syntax ==3.16.1.0
, Glob ==0.10.2
, OneTuple ==0.4.2
, OneTuple ==0.4.3
, QuickCheck ==2.15.0.1
, StateVar ==1.2.2
, Win32 ==2.14.1.0
, aeson ==2.2.3.0
, aeson ==2.2.5.0
, aeson-warning-parser ==0.1.1
, alex ==3.5.4.0
, alex ==3.5.4.2
, annotated-wl-pprint ==0.7.0
, ansi-terminal ==1.1.4
, ansi-terminal ==1.1.5
, ansi-terminal-types ==1.1.3
, appar ==0.1.8
, array ==0.5.8.0
, assoc ==1.1.1
, async ==2.2.5
, async ==2.2.6
, atomic-counter ==0.1.2.4
, attoparsec ==0.14.4
, attoparsec-aeson ==2.2.2.0
, auto-update ==0.2.6
, base ==4.20.2.0
, base-orphans ==0.9.3
, base-orphans ==0.9.4
, base16 ==1.0
, base16-bytestring ==1.0.2.0
, base64 ==1.0
, base64-bytestring ==1.2.1.0
, basement ==0.0.16
, bifunctors ==5.6.2
, bifunctors ==5.6.3
, binary ==0.8.9.3
, bitvec ==1.1.5.0
, bitvec ==1.1.6.0
, blaze-builder ==0.4.4.1
, blaze-html ==0.9.2.0
, blaze-markup ==0.8.3.0
, byteorder ==1.0.4
, bytestring ==0.12.2.0
, casa-client ==0.0.3
, casa-client ==0.0.4
, casa-types ==0.0.3
, case-insensitive ==1.2.1.0
, cborg ==0.2.10.0
, cereal ==0.5.8.3
, character-ps ==0.1
, clock ==0.8.4
, cmdargs ==0.10.22
, colour ==2.3.6
, comonad ==5.0.9
, colour ==2.3.7
, comonad ==5.0.10
, companion ==0.1.0
, conduit ==1.3.6.1
, conduit-combinators ==1.3.0
, conduit-extra ==1.3.8
, containers ==0.7
, contravariant ==1.5.5
, contravariant ==1.5.6
, cookie ==0.5.1
, cryptohash-sha256 ==0.11.102.1
, crypton ==1.0.4
, crypton ==1.0.6
, crypton-asn1-encoding ==0.10.0
, crypton-asn1-parse ==0.10.0
, crypton-asn1-types ==0.4.1
Expand All @@ -65,14 +65,14 @@ constraints:
, crypton-x509-store ==1.8.0
, crypton-x509-system ==1.8.0
, crypton-x509-validation ==1.8.0
, data-default ==0.8.0.1
, data-default ==0.8.0.2
, data-default-class ==0.2.0.0
, data-fix ==0.3.4
, deepseq ==1.5.0.0
, digest ==0.0.2.1
, directory ==1.3.8.5
, directory-ospath-streaming ==0.2.2
, distributive ==0.6.2.1
, distributive ==0.6.3
, dlist ==1.0
, easy-file ==0.2.5
, ech-config ==0.0.1
Expand All @@ -82,12 +82,11 @@ constraints:
, extra ==1.8.1
, fast-logger ==3.2.6
, file-embed ==0.0.16.0
, file-io ==0.1.5
, filelock ==0.1.1.8
, file-io ==0.1.6
, filelock ==0.1.1.9
, filepath ==1.5.4.0
, fsnotify ==0.4.4.0
, generic-deriving ==1.14.6
, generically ==0.1.1
, generic-deriving ==1.14.7
, ghc-bignum ==1.3
, ghc-boot ==9.10.3
, ghc-boot-th ==9.10.3
Expand All @@ -99,25 +98,25 @@ constraints:
, half ==0.3.3
, happy ==2.1.7
, happy-lib ==2.1.7
, hashable ==1.5.0.0
, hashable ==1.5.1.0
, haskell-src-exts ==1.23.1
, haskell-src-meta ==0.8.15
, hi-file-parser ==0.1.8.0
, hpack ==0.38.3
, hpack ==0.39.5
, hpc ==0.7.0.2
, hpke ==0.0.0
, http-api-data ==0.6.2
, http-api-data ==0.6.3
, http-client ==0.7.19
, http-client-tls ==0.3.6.4
, http-conduit ==2.3.9.1
, http-download ==0.2.1.0
, http-types ==0.12.4
, indexed-traversable ==0.1.4
, indexed-traversable-instances ==0.1.2
, indexed-traversable ==0.1.5
, indexed-traversable-instances ==0.1.2.1
, infer-license ==0.2.0
, integer-conversion ==0.1.1
, integer-gmp ==1.1
, integer-logarithms ==1.0.4
, integer-logarithms ==1.0.5
, iproute ==1.7.15
, libyaml ==0.1.4
, libyaml-clib ==0.2.5
Expand All @@ -128,7 +127,7 @@ constraints:
, microlens ==0.4.14.0
, microlens-mtl ==0.2.1.0
, microlens-th ==0.4.3.17
, mime-types ==0.1.2.0
, mime-types ==0.1.2.2
, mintty ==0.1.4
, monad-control ==1.0.3.1
, monad-logger ==0.3.42
Expand All @@ -139,26 +138,26 @@ constraints:
, mustache ==2.4.3.1
, neat-interpolation ==0.5.1.4
, network ==3.2.8.0
, network-byte-order ==0.1.7
, network-byte-order ==0.1.8
, network-uri ==2.6.4.2
, old-locale ==1.0.0.7
, old-time ==1.1.0.4
, old-time ==1.1.1.0
, open-browser ==0.4.0.0
, optparse-applicative ==0.18.1.0
, optparse-simple ==0.1.1.4
, os-string ==2.0.7
, pantry ==0.11.2
, parsec ==3.1.18.0
, parser-combinators ==1.3.0
, parser-combinators ==1.3.1
, path ==0.9.6
, path-io ==1.8.2
, path-pieces ==0.2.1
, persistent ==2.18.0.0
, persistent ==2.18.1.0
, persistent-sqlite ==2.13.3.1
, persistent-template ==2.12.0.0
, pretty ==1.1.3.6
, prettyprinter ==1.7.1
, prettyprinter-ansi-terminal ==1.1.3
, prettyprinter ==1.7.2
, prettyprinter-ansi-terminal ==1.1.4
, primitive ==0.9.1.0
, process ==1.6.26.1
, project-template ==0.2.1.0
Expand All @@ -173,47 +172,47 @@ constraints:
, rts ==1.0.2
, safe ==0.3.21
, safe-exceptions ==0.1.7.4
, scientific ==0.3.8.0
, scientific ==0.3.8.1
, semaphore-compat ==1.0.0
, semialign ==1.3.1
, semigroupoids ==6.0.1
, semialign ==1.3.1.1
, semigroupoids ==6.0.2
, serialise ==0.2.6.1
, silently ==1.2.5.4
, split ==0.2.5
, splitmix ==0.1.3.1
, splitmix ==0.1.3.2
, stack ==3.10.0
, static-bytes ==0.1.1
, stm ==2.5.3.1
, stm-chans ==3.0.0.9
, stm-chans ==3.0.0.11
, streaming-commons ==0.2.3.1
, strict ==0.5.1
, string-interpolate ==0.3.4.0
, syb ==0.7.2.4
, tagged ==0.8.9
, tar ==0.6.4.0
, tar-conduit ==0.4.1
, tasty ==1.5.3
, tasty ==1.5.4
, template-haskell ==2.22.0.0
, temporary ==1.3
, text ==2.1.3
, text-conversions ==0.3.1.1
, text-iso8601 ==0.1.1
, text-iso8601 ==0.1.1.1
, text-metrics ==0.3.3
, text-short ==0.1.6
, th-abstraction ==0.7.1.0
, th-compat ==0.1.6
, text-short ==0.1.6.1
, th-abstraction ==0.7.2.0
, th-compat ==0.1.7
, th-expand-syns ==0.4.12.0
, th-lift ==0.8.6
, th-lift ==0.8.7
, th-lift-instances ==0.1.20
, th-orphans ==0.13.16
, th-orphans ==0.13.17
, th-reify-many ==0.1.10
, these ==1.2.1
, time ==1.12.2
, time-compat ==1.9.8
, time-compat ==1.9.9
, time-hourglass ==0.3.0
, tls ==2.2.2
, transformers ==0.6.1.1
, transformers-base ==0.4.6
, transformers-base ==0.4.6.1
, transformers-compat ==0.7.2
, typed-process ==0.2.13.0
, unix ==2.8.6.0
Expand All @@ -223,13 +222,13 @@ constraints:
, unliftio-core ==0.2.1.0
, unordered-containers ==0.2.20.1
, utf8-string ==1.0.2
, uuid-types ==1.0.6
, vault ==0.3.1.5
, uuid-types ==1.0.6.1
, vault ==0.3.1.6
, vector ==0.13.2.0
, vector-algorithms ==0.9.1.0
, vector-stream ==0.1.0.1
, witherable ==0.5
, yaml ==0.11.11.2
, zip-archive ==0.4.3.2
, zlib ==0.7.1.1
, zlib-clib ==1.3.1
, zlib-clib ==1.3.2
2 changes: 1 addition & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
-- specified by the snapshot specifed in Stack's project-level YAML
-- configuration file (`stack.yaml`). The relevant version of GHC can be
-- confirmed by reviewing the snapshot on Stackage. For example, at:
-- https://www.stackage.org/lts-24.37/cabal.config.
-- https://www.stackage.org/lts-24.43/cabal.config.
--
with-compiler: ghc-9.10.3
import: cabal.config
Expand Down
6 changes: 3 additions & 3 deletions doc/commands/list_command.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@ Error: [S-4926]
tasty, retry, path, pretty, pasty, xattr, alloy, para, pappy and
alure.

stack --snapshot lts-24.37 list base unix Win32 acme-missiles pantry
stack --snapshot lts-24.43 list base unix Win32 acme-missiles pantry
Error: [S-4926]
* Package does not appear in snapshot (directly or indirectly): acme-missiles.

stack --snapshot lts-24.37 list base unix Win32 pantry
stack --snapshot lts-24.43 list base unix Win32 pantry
base-4.20.2.0
unix-2.8.7.0
Win32-2.14.1.0
pantry-0.10.1

stack --snapshot lts-24.37 list
stack --snapshot lts-24.43 list
AC-Angle-1.0
ALUT-2.4.0.3
...
Expand Down
8 changes: 4 additions & 4 deletions doc/commands/script_command.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ A snapshot must be specified on the command line, using the `--snapshot` option.
For example:

~~~text
stack script --snapshot lts-24.37 MyScript.hs
stack script --snapshot lts-24.43 MyScript.hs
~~~

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

~~~text
stack --snapshot lts-24.37 script --package acme-missiles --compile MyScript.hs -- "Don't panic!" "Duck and cover!"
stack --snapshot lts-24.43 script --package acme-missiles --compile MyScript.hs -- "Don't panic!" "Duck and cover!"
~~~

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

~~~haskell
{- stack script
-- snapshot lts-24.37
-- snapshot lts-24.43
-- extra-dep acme-missiles-0.2
-- package acme-missiles
-}
Expand Down Expand Up @@ -333,7 +333,7 @@ A Haskell source file `MyScript.hs`, as follows:

~~~haskell
{- stack script
--snapshot lts-24.37
--snapshot lts-24.43
-}

{-# LANGUAGE OverloadedStrings #-}
Expand Down
14 changes: 7 additions & 7 deletions doc/configure/yaml/include.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ A value for a key can be provided by an included file. For example, given a file
`snapshot.yaml` in the project directory with the content:

~~~yaml
lts-24.37
lts-24.43
~~~

the following project-level configuration file would use `lts-24.37` as the
the following project-level configuration file would use `lts-24.43` as the
snapshot:

~~~yaml
Expand All @@ -42,7 +42,7 @@ The included file replaces the `!include` directive with its content, so this is
equivalent to:

~~~yaml
snapshot: lts-24.37
snapshot: lts-24.43
~~~

## Including a sequence
Expand All @@ -59,7 +59,7 @@ directory with the content:
the following project-level configuration file would use those as extra-deps:

~~~yaml
snapshot: lts-24.37
snapshot: lts-24.43
extra-deps: !include extra-deps.yaml
~~~

Expand All @@ -83,14 +83,14 @@ flags:
the following project-level configuration file would merge those options:

~~~yaml
snapshot: lts-24.37
snapshot: lts-24.43
<<: !include shared-config.yaml
~~~

This is equivalent to:

~~~yaml
snapshot: lts-24.37
snapshot: lts-24.43
ghc-options:
"$everything": -Wall
flags:
Expand All @@ -101,7 +101,7 @@ flags:
The `!include` directive can also be placed on the line after the merge key:

~~~yaml
snapshot: lts-24.37
snapshot: lts-24.43
<<:
!include shared-config.yaml
~~~
Expand Down
Loading
Loading