# \[ANN\] Stack 3.3.1

**URL:** <https://discourse.haskell.org/t/ann-stack-3-3-1/11090>\
**Category:** Announcements\
**Created:** [December 28, 2024, 3:45pm UTC](https://discourse.haskell.org/t/ann-stack-3-3-1/11090 "2024-12-28T15:45:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpilgrem](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/mpilgrem/32/2529_2.png) [@mpilgrem](https://discourse.haskell.org/u/mpilgrem)\
**Post date:** [December 28, 2024, 3:45pm UTC](https://discourse.haskell.org/t/ann-stack-3-3-1/11090/1 "2024-12-28T15:45:20Z")

</div>

See [https://haskellstack.org/](https://haskellstack.org/) for installation and upgrade instructions.

**Changes since v3.1.1:**

Behavior changes:

- Stack interprets consecutive line ends in the value of the `user-message` project-specific configuration option as a single blank line. Previously all line ends were interpreted as white space.
- Stack no longer supports Docker versions before Docker 1.9.1 and, consequently, if a Docker container is not being run ‘detached’, its standard input channel will always be kept open. (Before Docker 1.9.1 the use of an interactive container could hang in certain circumstances.)
- On Windows, Stack will always warn (message S-8432) if there is a space character in Stack’s ‘programs’ path, as GHC 9.4.1 and later do not work if there is a space in the path to the `ghc` executable. S-8432 now presents as a warning and not an error.
- Stack respects the `--no-run-tests` and `--no-run-benchmarks` flags when determining build actions. Previously Stack respected the flags when executing the run test suites or run benchmarks actions for each targeted project package.

Other enhancements:

- Consider GHC 9.10 to be a tested compiler and remove warnings.
- Consider Cabal 3.12 to be a tested library and remove warnings.
- Add flags `--run-tests` and `--run-benchmarks` (the existing defaults) to Stack’s `build` command, which take precedence over the existing `no-run-tests` and `no-run-benchmarks` configuration options, respectively.
- In configuration files, the `notify-if-no-run-tests` and `notify-if-no-run-benchmarks` keys are introduced, to allow the exisitng notification to be muted if unwanted.

Bug fixes:

- Stack’s in-app messages refer to [https://haskellstack.org](https://haskellstack.org/) as currently structured. (Most URLs in older Stack versions are redirected.)
- Stack’s `upgrade` command only treats the current running Stack executable as ‘`stack`’ if the executable file is named `stack` or, on Windows, `stack.exe`. Previously only how it was invoked was considered.
- `stack test --no-run-tests --dry-run` no longer reports that Stack would test project packages with test suites and `stack bench --no-run-benchmarks --dry-run` no longer reports that Stack would benchmark project packages with benchmarks.
- `StackSetupShim` compiles with `Cabal >= 3.14.0.0`.

**Thanks to all our contributors for this release:**

- Andrew Nguyen
- Luka Leer
- Mike Pilgrem
- Olivier Benz

---

<div class="post-metadata">

**Author:** ![benz0li](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/benz0li/32/3654_2.png) [@benz0li](https://discourse.haskell.org/u/benz0li)\
**Post date:** [December 30, 2024, 2:14pm UTC](https://discourse.haskell.org/t/ann-stack-3-3-1/11090/2 "2024-12-30T14:14:19Z")

</div>

_Unofficial_ ~~and _untested_~~ Linux/RISC-V 64-bit (`linux/riscv64` ) release assets are available at [v3.3.1 · Commercial Haskell / stack · GitLab](https://gitlab.b-data.ch/commercialhaskell/stack/-/releases/v3.3.1).

---

<div class="post-metadata">

**Author:** ![benz0li](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/benz0li/32/3654_2.png) [@benz0li](https://discourse.haskell.org/u/benz0li)\
**Post date:** [January 2, 2025, 6:50pm UTC](https://discourse.haskell.org/t/ann-stack-3-3-1/11090/3 "2025-01-02T18:50:11Z")

</div>

Test suite stack-unit-test: 673 examples, 0 failures: [test:version-linux-arch (#141294) · Jobs · Commercial Haskell / stack · GitLab](https://gitlab.b-data.ch/commercialhaskell/stack/-/jobs/141294)

---

<div class="post-metadata">

**Author:** ![benz0li](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/benz0li/32/3654_2.png) [@benz0li](https://discourse.haskell.org/u/benz0li)\
**Post date:** [January 7, 2025, 7:13am UTC](https://discourse.haskell.org/t/ann-stack-3-3-1/11090/4 "2025-01-07T07:13:31Z")

</div>

The [GHC musl](https://github.com/benz0li/ghc-musl) images for GHC versions 9.12.1, 9.10.1, 9.8.4 and 9.6.6 now include Stack version v3.3.1. Images available from

[Quay](https://quay.io/repository/benz0li/ghc-musl):

- `quay.io/benz0li/ghc-musl:9.12.1`
- `quay.io/benz0li/ghc-musl:9.10.1`
- `quay.io/benz0li/ghc-musl:9.8.4`
- `quay.io/benz0li/ghc-musl:9.6.6`

[Docker Hub](https://hub.docker.com/r/benz0li/ghc-musl):

- `docker.io/benz0li/ghc-musl:9.12.1`
- `docker.io/benz0li/ghc-musl:9.10.1`
- `docker.io/benz0li/ghc-musl:9.8.4`
- `docker.io/benz0li/ghc-musl:9.6.6`
