# \[ANN\] Stack 2.15.7

**URL:** <https://discourse.haskell.org/t/ann-stack-2-15-7/9540>\
**Category:** Announcements\
**Created:** [May 12, 2024, 7:51pm UTC](https://discourse.haskell.org/t/ann-stack-2-15-7/9540 "2024-05-12T19:51:22Z")\
**Posts on this page:** 2\
**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:** [May 12, 2024, 7:51pm UTC](https://discourse.haskell.org/t/ann-stack-2-15-7/9540/1 "2024-05-12T19:51:22Z")

</div>

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

Release notes:

- This release fixes potential bugs.

- The hash that Stack uses to distinguish one build plan from another has changed for plans that set (as opposed to unset) manually Cabal flags for immutable dependencies. This will cause Stack to rebuild dependencies for such plans.

**Changes since v2.15.5:**

Major changes:

- Stack 2.15.5 and earlier cannot build with Cabal (the library) version `3.12.0.0`. Stack can now build with that Cabal version.

Behavior changes:

- Stack’s `StackSetupShim` executable, when called with `repl` and `stack-initial-build-steps`, no longer uses Cabal’s `replHook` to apply `initialBuildSteps` but takes a more direct approach.

Bug fixes:

- Fix a regression introduced in Stack 2.15.1 that caused a ‘no operation’ `stack build` to be slower than previously.

- The hashes that Stack uses to distinguish one build plan from another now include the Cabal flags for immutable dependencies set manually. Previously, in error, only such flags that were unset manually were included.

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

- Jörg Thalheim
- Mike Pilgrem

---

<div class="post-metadata">

**Author:** ![hasufell](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/hasufell/32/1250_2.png) [@hasufell](https://discourse.haskell.org/u/hasufell)\
**Post date:** [May 18, 2024, 6:21pm UTC](https://discourse.haskell.org/t/ann-stack-2-15-7/9540/2 "2024-05-18T18:21:21Z")

</div>

> <https://github.com/haskell/ghcup-metadata/pull/216>
