Second release candidate for Stack 4.1.1

You can download binaries for this pre-release now from Release rc/v4.1.0.3 (release candidate) · commercialhaskell/stack · GitHub . It is should be available soon also via GHCup’s prereleases channel.

Please test it and let us know at the Stack repository if you run into any trouble. If all goes well, we hope to release the final version in a couple of weeks.

A second release candidate because it seemed good for a Stack 4.1 to support the coming GHC 10.0.

Changes since v4.1.0.1:

Other enhancements:

  • Consider Cabal 3.18 to be a tested library and remove warnings.
  • Consider GHC 10.0 to be a tested compiler and remove warnings.
  • Add flag --[no-]info-table-profiling (default: disabled) to Stack’s build command. Set the flag to enable info table profiling, including the creation of a new info table for every use of a data constructor in the source program.
5 Likes

Please consider reverting Fix #6919 Switch search order of MSYS2 dirs in the Stack environment by mpilgrem · Pull Request #6923 · commercialhaskell/stack · GitHub for Stack 4.1.

Can you explain why? The change was made to correct a long-standing bug, given Unix conventions. I can’t recall now what motivated me to fix it, but I reasoned the fix was unlikely to affect any Windows user of Stack.

Ok, disregard my request, I could resolve my problem with your help: Upgrading to Stack 3.11.1 seems to break `stack exec -- pkg-config` · Issue #6967 · commercialhaskell/stack · GitHub

2 Likes

The problem with GitHub’s macos-latest runner has delayed this. (The problem being that the runner marries Xcode 26.6 with Xcode Command Line Tools 27.0.) I am assuming that GitHub will sort itself out, sooner rather than later. If that is correct, I’d rather wait for GitHub than work around it.